SWRA734 December   2021 CC1312PSIP , CC1312R , CC1312R7 , CC1314R10 , CC1352P , CC1352P7 , CC1352R , CC2652P , CC2652P7 , CC2652R , CC2652RB , CC2652RSIP

 

  1.   Trademarks
  2. 1Introduction
  3. 2Benefits of Having Multiple Gateway Support
    1. 2.1 Node Balancing
    2. 2.2 Robustness
    3. 2.3 Extended Coverage and Network Redundancy
  4. 3Current SDK Examples and Coprocessor Configuration
  5. 4Central Gateway
  6. 5Enabling Multiple Gateway Support
    1. 5.1 PAN Coordinator Switching Due to Sync Loss
    2. 5.2 PAN Coordinator Switching Due to a Command Coming From the Central Gateway
  7. 6Basic Implementation of PAN Coordinator Switching
    1. 6.1 PAN Coordinator Switching Due to Sync Loss
    2. 6.2 PAN Coordinator Switching Due to a Command Coming From the Central Gateway
  8. 7Summary
  9. 8References

PAN Coordinator Switching Due to Sync Loss

Even though a sync loss between a sensor device and its PAN coordinator is usually something temporal, it can become permanent if the PAN coordinator is no longer reachable.

If this is the case, the sensor device transitions into what is known as an orphan state. In this state, the sensor device enters a low power mode, and only periodically awakes to attempt to reconnect to its PAN coordinator. If the PAN coordinator is in fact no longer reachable because it has failed or it has been removed, the sensor will indefinitely (or until its power source fails) attempt to reconnect to it. Therefore, if the sensor is to remain active in the network, the implementation of a PAN coordinator switching procedure is necessary.

Figure 5-1 PAN Coordinator Switching When the Sensor Device Goes Into an Orphan State

This first switching scenario is rather simple, as the most basic implementation only requires a modification to the application layer of the sensor example. Taking this into account, the aspects that must be considered when implementing the coordinator switching procedure at the application layer of the sensor device are:

  • The condition under which the procedure is triggered: How much time should the sensor spend trying to rejoin its original PAN coordinator.
  • The implementation of a network disassociation process which does not rely on an acknowledge from the PAN coordinator. In the existing implementation of the disassociation process, either the sensor or the coordinator initiates the process, and the process must be acknowledged by the other side.
  • The periodical use of active or passive scans (depending on the TI 15.4 mode of operation) to search for a replacement PAN coordinator.