This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

to avoid lost package

When i use sd_ble_gatts_hvx() send package,i can use the usb dongle get the data package,as it show i can get the information such as, LLID, MESN, SN,MD,PDU-Length show in the catch package tool, but if i can get that information at the return information , and i want to according that information to send the next package, to avoid lost package

Parents
  • It’s fairly difficult to figure out what you are asking here. However since BLE is a reliable transport there’s no such thing as a lost packet (unless the connection actually breaks completely and you need to reconnect) so you’re trying to solve a problem which doesn’t exist.

    Eithe way none of that information is available at the application level, this is all handled by the soft device.

Reply
  • It’s fairly difficult to figure out what you are asking here. However since BLE is a reliable transport there’s no such thing as a lost packet (unless the connection actually breaks completely and you need to reconnect) so you’re trying to solve a problem which doesn’t exist.

    Eithe way none of that information is available at the application level, this is all handled by the soft device.

Children
Related