SWRA734 December   2021 CC1312PSIP , CC1312R , CC1312R7 , CC1314R10 , CC1352P , CC1352P7 , CC1352R , CC1354P10 , CC1354R10 , 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

Enabling Multiple Gateway Support

A critical part of enabling the previously described network features has to do with providing a sensor device with the capability to switch between different PAN coordinators.

Consider for instance a network which is initially configured with one local gateway and a large amount of sensor devices. Given the distance between some of the sensor devices and the gateway, packets are being dropped, affecting the quality of the network. As new devices are added to the network, it is determined by the network’s administrator, that a second local gateway must be deployed to act as PAN coordinator for new sensor devices, and to improve the network coverage for previously deployed sensors.

Nevertheless, given that a sensor device can only exchange packets with its current PAN coordinator, the newly deployed local gateway, does not have a beneficial impact on the network’s coverage for the already deployed sensors. In order for the network to fully benefit from the addition of the second local gateway, the application must consider a procedure so that the sensors that have been previously deployed can switch between PAN coordinators.

This section describes the modifications needed so that an application can support PAN coordinator switching and therefore, multiple gateway support. The following steps require no modification to the TI 15.4-Stack and use the sensor and collector examples included in the SimpleLink SDK as base projects. Furthermore, the steps cover Beacon and Non-Beacon mode for the two most-common coordinator switching scenarios.