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

The proper "packet type" for sending (and receiving) relatively large amount of data?

Hello Nordevzone, so far, to the best of my knowledge, you can send data using API call sd_ble_gatts_hvx() with "notification packet" (quotemarks due to my limited knowledge on denomination and denotation of these data packages), as illustrated in the nordic multi-link example.

I'm wondering, is this the only way? Are there better alternatives?

Thanks. Erik

Parents Reply Children
  • In other words, I can only use notification packet? How many type of packets are there? I've read the the official doc of BSIG but it seems there are 4 for BLE core and none of them are called "notification" which really is confusing.

    Erik

  • There's only really one type of packet, defined down at the link level. The difference isn't in the packet type, it's in the procedure around sending it, whether it's a read, a write an indicate or a notification, each of which goes in a certain direction and does or doesn't require an acknowledgement at the API level (at the LL level all packets are reliably sent and acknowledged).

    So you're looking at the notification procedure, not a special notification packet.

Related