Saeed isa
Saeed isa

Reputation: 418

Can I set a private sync word for LoRa-based systems?

I'm building a private network system with LoRa and ESP32 devices, where I have a couple of nodes and 1 gateway. I understand from the documentation and some examples that a sync word can be set to filter all packets that do not have it. which creates a private network.

However, I want to replicate my system in multiple places, where each "system" has its own private network.

Is this achievable by setting a private sync word for each system remotely?

In the end, I want to view the data of each private system via an application (that reads data from the cloud) per "registered" private network.

What is the way (if any) to register each couple of devices + gateway to a private network?

Upvotes: 0

Views: 309

Answers (1)

dda
dda

Reputation: 6213

So now that we have ascertained which system you are using – LoRa – I can answer... You want to keep your network private, and there are different ways to achieve this.

Changing the sync word is one, although probably not the best idea – or at least not on its own. I have a few private networks running here, and I managed to keep them private – both in terms of my data staying private, and my devices not receiving outside data, as it can happen in crowded areas, with a mix of:

  • Unusual radio settings: Freq/SF/BW/CR are set to settings that are uncommon (not just for privacy but also performance).
  • Privacy itself is ensured by encryption. After all there is always the possibility that other devices end up with the same settings as yours. You lock the network by encrypting data. Even if other devices receive the data, there won't be any leakage.

Another important point to remember, and take care of, is that your "gateway" is probably single channel, which means that with several devices sending data, there could be interference. You should look into, and implement, Channel Activity Detection. This will ensure that data will actually be sent, and not lost due to another device sending at the same time.

Upvotes: 1

Related Questions