Hello @jfgi31700 The LoRaWAN (LoRa MAC) recognized only two modes Public and Private LoRaWAN, and using the sync words 0x34 for the Public and 0x12 for the Private. If you are willing to use LoRaWAN you should use one or another. If you are willing to use the LoRa modulation and not follow the LoRaWAN specification and protocol, the sync word doesn’t matter.
As for the Semtech code, they are purposely not documenting their registers and we have only the open-source code from them to configure and work the hardware.
Please redirect if I shouldn’t revive a year old thread, but I’m confused by this answer.
I want to use the RAK5146 in a non-LoRaWAN network. To be more specific, I want it to receive and decode Meshtastic packets that are sent with a sync_word of 0x2b. My prior experience with data radios, and the documentation from Semtech, is that receivers will only continue receiving and decoding packets with a recognizable sync-word. If the only two sync_words the RAK5146 knows to look for are 0x12 and 0x34, is it incapable of receiving/decoding packets marked with any other sync_word?
Specifically, in section 4.2.11.1 of the Semtech docs, it basically says the receiver will give up on a packet if the sync_word doesn’t match.
For the RAK5146 hardware, there is no problem with using a custom sync word.
But you would need to set this custom sync word in the HAL and the Forwarder.
What I can suggest is to look at Semtech’s documentation, Semtech’s HAL documentation, and LoRa Alliance’s documentation for what changes you need to make.
EDIT: It seems the multi-modem part of the SX1303 is clamped to 125KHz bandwidths. That pretty much makes it unusable for my application, which uses 250KHz channels.
The problem is that I’m too stupid to understand how you can set a byte to “6” and a byte to “8” and have the radio interpret it as “0x34”. Same with “2” and “4” giving you “0x12”.
Semtech is remarkably hard to get any information out of. I feel for their OEM partners like RAK that have to interpret their vagueness.
As an individual developer, I don’t have the clout to open a tech request ticket with Semtech. Is this something I could ask RAK to do in my stead? I think there’s an opportunity for non-trivial sales into the “hobbyist” market of the 5146 boards if it turns out they’re Meshtastic-compatible.