BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-09-2008, 01:45 AM   #1 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default RadioInfo Class getNumberOfPacketsSent API

Please Login to Remove!

All,
RadioInfo class has an API which indicates getNumberOfPacketsSent & getNumberOfPacketsRecieved which gives number of IP Packets recieved by Radio. Most of end users would prefer to see how many bytes tx/rx by the Radio rather than number of IP Packets.

How do we convert number of packets rx/tx to bytes rx/tx

I knew Minimon states that
1. Counts the IP traffic on GSM/GPRS/EDGE network in byte.

But I sent him a email. But no responses


Any ideas will be helpful


Thanks
Subbarao
Offline  
Old 09-09-2008, 09:05 AM   #2 (permalink)
New Member
 
akirekadu's Avatar
 
Join Date: Aug 2006
Location: Columbia, Maryland
Model: 8900
Carrier: T-Mobile
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default This API is not consistent

In some models and OS versions it returns packets and bytes in case of others.

There is no word on what is the actual packet size. So you will need to device your own way to handle the inconsistency.
Offline  
Old 09-11-2008, 01:38 AM   #3 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Which version of Blackberry JDE would give you in bytes.

Documentation states

Retrieves the number of IP packets received by the radio.

Retrieves the number of IP packets sent by the radio.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.