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

How to get the number of broadcast data?

Hi
I want to get the number of broadcast data.i try it as follow:

image description image description

But i can not get the BLE_EVT_TX_COMPLETE event. Why? can you tell how to get the number of broadcast data and know radio data transmission to complete ? Thank you!

  • If you are only broadcasting/advertising you will never get the BLE_EVT_TX_COMPLETE, you will only get this event in a connection. A server will get the event after a notfication has been sent, see this, a client will get the event after a write command has been sent, see this.

    I'm not sure what you mean by "number of broadcast data", but if you mean the number of broadcasted packets or advertised packet, you can have a look at this question.

Related