What is Sync Word LoRa

Hi all,

I am playing around with LoRa and I see in this article that it talks about "Sync Word":

LoRa.setSyncWord(syncWord);

So I am wondering what is a "Sync Word"? Can it be set to anything?

Thanks,

Zeb

(deleted)

So a Sync Word can be "A" or "6"?

Thanks,

Zeb

The beauty of Arduino is that you can try things and see what happens, in the comfort of your own home.

Note that “A” is a two byte C-string, or character array. ‘A’ is the ASCII character A; a single byte.

ZebH:
I am playing around with LoRa and I see in this article that it talks about "Sync Word":

So I am wondering what is a "Sync Word"? Can it be set to anything?

It can be set to anything, but some values wont interoperate with other LoRa devices such as the SX126X series and some values will loose you receive sensitivity.

The syncword can be used to isolate networks of LoRa devices. A receiver using one syncword will not (mostly) receive packets from a transmitter using a different Syncword.

Its pretty much Voodoo, there is no full explanation from Semtech, apart from providing the examples for public and private networks.

I would suggest sticking to the standard values unless you have the experience and knowledge on how to check the limits of sensitivity and reliability of reception.

The default private syncwords are 0x12 for SX127x devices and 0x1424 for SX126x devices.

The syncwords used for public networks such as LoRaWAN\TTN are 0x34 for SX127x devices and 0x3444 for SX126x devices.

Excellent that's very helpful, thank you!

Thanks again for your help!

Zeb