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

Reverse direction: send message from slave

Hello Nordic,

I have a question: how do I send a message from a slave to a master? I want to do the same as sd_ant_acknowledge_message_tx, starting the communication from the slave. Right now I am trying with that same function but I get an error (0x4015).

Thanks for the help!

Parents
  • I want to periodically send packages from slave to master, and somehow make sure that they have arrived. What I thought of so far is, I start the communication with the master, with sd_ant_acknowledge_tx, and then, when I receive this in the slave (EVENT_RX in slave), I do sd_ant_broadcast_message_tx in slave, and manage it in EVENT_TX in master. Is this the only way of doing what I intend?

    I had no idea of the existence of such advertisement that you mention. Could you explain a bit more?

    Thanks!

    Best,

    Angel.

Reply
  • I want to periodically send packages from slave to master, and somehow make sure that they have arrived. What I thought of so far is, I start the communication with the master, with sd_ant_acknowledge_tx, and then, when I receive this in the slave (EVENT_RX in slave), I do sd_ant_broadcast_message_tx in slave, and manage it in EVENT_TX in master. Is this the only way of doing what I intend?

    I had no idea of the existence of such advertisement that you mention. Could you explain a bit more?

    Thanks!

    Best,

    Angel.

Children
No Data
Related