Network Isolation - r41d/ClusterDuck-Protocol GitHub Wiki

Network isolation makes sure you keep your ClusterDuck data inside of your network. If you set up multiple default CDP networks in the same area, all the ducks in range will receive any of the data you are sending. If you want to make sure your data stays inside of your network you can use Sync Words. Different LoRa modules use a different set of sync words. We have currently implemented Sync words for the SX127X modules. But adding support for the SX126X as well.

Example of using Syncwords

In the example below we have two networks set with different sync words in the same area.As you can see the network with sync word 0x55 is not able to receive any data of network 0x37

Imgur

How to set a Sync Word

#include <MamaDuck.h>

// create a MamaDuck Instance
MamaDuck duck = MamaDuck();

void setup(){

  // Set a Sync word for your network
  duck.setSyncWord(0x55);

}
⚠️ **GitHub.com Fallback** ⚠️