Tracking the number of packets per connection interval

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

I would like to know if there's a way to track the number of packet I send per connection interval. 

   

Actually I use a timer which the delay equals to my connection interval to count the number of time I push data using the ble stack api. But I'm searching for other solution. 

   

I need this control to be sure that my mobile device don't loose so packets. 

   

Thank you,

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Packet losses are usually determined by numbering the packet and sending the number with the packet. So the receiver can determine a loss and (as in TCP/IP request a re-send of the missing message.

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Packet losses are usually determined by numbering the packet and sending the number with the packet. So the receiver can determine a loss and (as in TCP/IP request a re-send of the missing message.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Thanks Bob!

   

I already have that kind of mechanism. I need to know the number of packet sent to respect the android/ios spec ~4 packets per connection interval on android.

0 Likes