Skip to main content
Associate III
February 13, 2024
Solved

Using RadioIsChannelFree() function for multiple devices responses

  • February 13, 2024
  • 1 reply
  • 1060 views

Hi all,

I have a setup where many devices need to to respond to a message on 868MHz from a sender. At the moment I am using random delay to space the responses but I will like to use the RadioIsChannelFree() function.

Do anyone use this function? Is it a recommended way for avoiding transmission collision and if so are there good example on how to properly utilize this function?

Ola 

Best answer by STTwo-32

Hello @ola 

For the best coordination between multi-sender and a receiver, you need to give a small delay for each sender. For example sender one send at t=0 then sender two send after 10s, ...

So you can easily identify the sender and ensure coordination.

Best Regards.

STTwo-32

  

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
February 13, 2024

Hello @ola 

For the best coordination between multi-sender and a receiver, you need to give a small delay for each sender. For example sender one send at t=0 then sender two send after 10s, ...

So you can easily identify the sender and ensure coordination.

Best Regards.

STTwo-32

  

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
olaAuthor
Associate III
February 13, 2024

Hello STTwo-32,

Cool thank you for your response. I am currently doing what you are suggesting at the moment. I use your Radio.Random() function from your subghz_phy_app.c to get a random value at startup and use this number to space the transmit responses. 

That's fine. I was only checking to see if there was a more sophisticated way that I was not aware of.

 

Regards

Ola