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

ANT Burst Mode and Custom Byte Size Transmission

Hi everyone,

I was not able to find a full example in the SDK or online on initializing ANT to work with burst mode. Also, I was wondering if it's possible to setup ANT with custom data byte size.

I am currently using the background scanning example in the ANT folder to send and receive data.

Thank you.

Parents
  • The changes to for example the ant_broadcast are minimal. Just use sd_ant_burst_handler_request() instead of sd_ant_broadcast_message_tx(). The channel must also be birectional to use anything other than broadcast.

  • Yes, you are right about me getting the examples mixed up. My apologies. What I am trying to accomplish is set up a mesh type network where each node will 'shout' a message and only nearby neighbours will be able to listen to that message and it does not have to be acknowledged. I was able to achieve this using the background scanning example but found that 8 bytes of message was too small. Is there any other way to achieve the same set up as background scanning example with larger message bytes than 8? Thank you.

Reply
  • Yes, you are right about me getting the examples mixed up. My apologies. What I am trying to accomplish is set up a mesh type network where each node will 'shout' a message and only nearby neighbours will be able to listen to that message and it does not have to be acknowledged. I was able to achieve this using the background scanning example but found that 8 bytes of message was too small. Is there any other way to achieve the same set up as background scanning example with larger message bytes than 8? Thank you.

Children
No Data
Related