Lora sx1278 suddenly showing"unable to set sync word" error #785
Replies: 4 comments 9 replies
-
0x14 is not an officially supported sync word for LoRa. According to the chip manufacturer, you should only use 0x12 for private networks and 0x34 for LoRaWAN. Other values can be set, but may have undocumented side effects. So the first thing I would try is to change the sync word to 0x12. If that doesn't work, you will hve to provide more information: what is the exact error code - the value? Can you reproduce the issue with a minimum example? What does the hardware look like (which Arduino, how is it wired, what is the power supply etc.). |
Beta Was this translation helpful? Give feedback.
-
Sir, |
Beta Was this translation helpful? Give feedback.
-
It's shown in the examples: // you can also receive data as byte array
byte byteArr[8];
int state = radio.receive(byteArr, 8); If you don't know the packet length in advance, you can call |
Beta Was this translation helpful? Give feedback.
-
Sir, I am using ping pong example of sx1278. Transmitter is mounted on water tank on rooftop while receiver is below on ground floor....transmitter sends water level by lora and receiver on ground floor receives data either starts or stops motor and then sends back "0" to transmitter for sleeping for 30 minutes.... |
Beta Was this translation helpful? Give feedback.
-
Dear sir,
After flawlessly uninterrupted working since last few months, suddenly it shows the error"unable to set sync word" .. Sync word is 0x14....this happened when switching off the device and switching on again..suddenly this message and program stucks there....I have changed lora new one but still it shows error.... switching on off device randomly sometimes works initialization successful and then fails again if I switch off and back on...
Can you please suggest something,
By the way it has been working non stop since last two month's..
Thanks for your library,
Regards,
Anand Pathak,
India
Beta Was this translation helpful? Give feedback.
All reactions