cancel
Showing results for 
Search instead for 
Did you mean: 

Using RadioIsChannelFree() function for multiple devices responses

ola
Associate III

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 

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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.

View solution in original post

2 REPLIES 2
STTwo-32
ST Employee

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.

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