The zigbee terminal sets the PAN ID by pressing a button to join the set ID network
[Copy link]
1. First open the project's operation --> c/c++ compiler -> Preprocessor and add NV_RESTORE
2 Set the PAN ID by pressing the button. This part is written according to your own hardware.
3 If I set the ID to: netId = 0x1234;
execute the following code to join the network of the set PAN ID
|