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

More Data bit in the BLE header?

Hello,

I noticed that their was a question in the developer zone regarding MD bit?

devzone.nordicsemi.com/.../

My question is slightly different. I am using Soft Device S110 as a Peripheral and I want to send 80 bytes of data per connection interval. From my understanding:

SD110 supports 6 packets. So I should be able to do this

How do I set the MD bit in the header? (Data sent Peripheral to Central)

If I am using SD110, I should have 6 tx buffers at start up? Is that correct? Do I need to define them in the code?

If someone can point me to the right direction, I shall highly appreciate that.

Thanks Hani Abidi

Parents
  • You don't set it. It's part of the on-air packet data format which is implemented way down in the softdevice several layers below the APIs for sending data.

    Just send data until you run out of buffers, then wait for the callback telling you one or more is free, and send some more. There are also dozens of threads about this.

Reply
  • You don't set it. It's part of the on-air packet data format which is implemented way down in the softdevice several layers below the APIs for sending data.

    Just send data until you run out of buffers, then wait for the callback telling you one or more is free, and send some more. There are also dozens of threads about this.

Children
No Data
Related