Question about the FHSS example code for SX127x #1266
Replies: 3 comments 3 replies
-
Those are some good questions. It's been a while since FHSS for SX127x has been added ,so just to make sure we didn't break it in the mantime I tested it and it works as-is. I'm also not the original author of the FHSS implementation (which was @nseidle), so the answers are just my guesses as to what is going on:
I could be wrong on both counts here though. Also, since FHSS is working on SX127x (as I was able t oconfirm), I will convert this to a discussion instead. |
Beta Was this translation helpful? Give feedback.
-
If you're referring to what happens after a transmission is complete: yes, the RX and TX must return to a known good freq (ie, the carrier freq or... what's it called in WiFi, the coordination channel?). This is because if the RX unit fails to receive the signal, it will fail to hop and the TX will be ahead in the hop table, and on a different freq than the RX. By returning to the carrier freq, transmissions and re-transmissions can flow even if a packet is dropped. This leads to more challenges, ie, FCC bans the transmission on any one channel for more than 400ms (over every 10s? every 20s?) so one approach is to transmit a small amount on the carrier freq (channel 0) that just sets the sort for the TX/RX hop tables, and data is actually transmitted on channel 1, channel 2, etc. Hope this helps! Happy hopping! |
Beta Was this translation helpful? Give feedback.
-
Does the example work as expected? The the RX does change freq, just at a different spot. We may be getting lucky with a wrap around condition. |
Beta Was this translation helpful? Give feedback.
-
Hi,
In
SX127x_Transmit_FHSS.ino
example code, I see that the code explicitly sets the carrier frequency when a packet is successfully transmitted. However inSX127x_Receive_FHSS.ino
, I do not see the code setting the frequency when a packet is successfully received.I have two questions:
Thanks, and please let me know if I need to further clarify my question
Beta Was this translation helpful? Give feedback.
All reactions