Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the unix_http_server section, update to:

 


No Format
[unix_http_server]
file=/var/run/supervisor_server.sock
chmod=0660
chown=dust:dust

...

  • The AP Bridge binaries are installed in APC_HOME/bin
  • The AP Bridge software reads its configuration from APC_HOME/conf. The AP Bridge process(es) are managed by configuration files stored in APC_HOME/etc/supervisor.conf.d
  • The AP Bridge generates log files to APC_HOME/logs. Log files are automatically rotated when they reach a certain size.
  • The AP Bridge writes certain runtime information to APC_HOME/var/run. 
     


Network connectivity

If the system is being built with APs physically separated from the VManager system, then the simplest implementation is to connect all the devices to the same Ethernet network. Any method that provides a reliable TCP/IP connection between the APs and VManager can be used including WiFi, or cellular. The network connectivity must be consistent and reliable so that the APs can communicate constantly with the VManager. The VManager will consider an AP to be lost if its connectivity is interrupted for 30 seconds. In the event that an AP is lost, the VManager will immediately reassign all mote paths through the remaining APs and motes that are only connected through the lost AP may be lost as well. If the AP returns later on, then the VManager will slowly re-integrate the AP into the network topology through normal optimization cycles. 

...

In the event that the VManager system and AP Bridges are not synchronized, the SmartMesh IP network will continue to work normally, however mapping network time to UTC time accurately may be impossible. 

GPS connectivity

A future version of the AP Bridge software will support using a GPS device for time keeping. In the reference configuration, the GPS device's PPS signal is used to feed both the AP Mote and the NTP software running on the AP Bridge device. The AP Bridge software uses GPSd to read the time from the GPS device and to track whether the GPS device is properly synchronized. 

Troubleshooting

Verifying device time synchronization

...

No Format
$ ntpdate -q pool.ntp.org
...
25 Mar 14:09:49 ntpdate[12569]: step time server 132.163.4.101 offset -26.481737 sec

 


References

...

  • NTP
  • GPSd