Closed giampiero7 closed 5 years ago
Unless I'm reading the datasheet wrong, 0x34
is the LoRaWAN
sync word.
From page 115
**Reg:* RegSyncWord (0x39)
Bits: 0-7
Name: SyncWord
Mode: rw
Reset: 0x12
Description:** LoRa Sync. Word Value 0x34 is reserved for LoRaWAN networks
Yes, but the documentation of this library (https://github.com/sandeepmistry/arduino-LoRa/blob/master/API.md#sync-word) says the default sync word is 0x34
Ah! I see, thanks for catching this, it's incorrect and should be fixed.
PR #175
Closed via #175.
Hi, I was trying this library on an Arduino MKR WAN 1300 to communicate with a Pycom board. It wouldn't work until I explicitly called
LoRa.setSyncWord(0x34);
The default sync word seems to be 0x12, as opposed to what is stated in the documentation (0x34). Cheers