Is there a function for checking what the radio's doing? #1358
-
Is there a function for checking what the radio's doing? - Like receiving, listening/standby, transmitting, sleeping etc. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Depends on the radio ... And as they only do what they've been told to do, perhaps a state variable in your own code will help. Further comment would be dependent on knowing WHICH RADIO you are thinking of, because there's a few and well .... |
Beta Was this translation helpful? Give feedback.
-
same for getFrequency, getSpreadFactor etc., is there a reason for why the library doesn't just provide those? |
Beta Was this translation helpful? Give feedback.
See #622. But as mentioned by @HeadBoffin, you can just keep track of it in your code. If you set the frequency to 830 MHz, simply save the variable so that you know it. And why don't you
startReceive()
, wait for 500ms and put tostandby()
?