Versions Compared

Key

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

...

Gliffy
nameAP Bridge Diagram


Requirements

The software in the AP Bridge package has several additional requirements:

  • The AP Bridge requires its runtime libraries to be installed in /opt/dust-apc/lib
  • Python 2.7 and several additional Python packages. Some of the AP Bridge configuration scripts are written in Python. The AP Bridge Console is also written in Python. 
    • configobj
    • pyzmq
    • protobuf
  • Supervisor
  • Stunnel

On the Raspberry Pi, these packages can be installed using: 

No Format
$ sudo apt-get install python2.7 python2.7-dev supervisor stunnel4
$ sudo pip install configobj pyzmq protobuf pyserial

Serial devices

The AP Bridge software interacts with the I/O of the AP Mote through serial devices: The Serial API port of the AP Mote is used for general communication between the AP Bridge and the AP Mote, and another I/O is used to reset the AP mote.  In the 

Include Page
_def_usb_IPmgr
_def_usb_IPmgr
 reference design, the reset line of the AP Mote is connected to the FTDI interface chip, such that writing to the TX line of the reset port sends a hardware reset to the AP Mote.  If the Linux system connects to the Serial API port directly, a GPIO is used to drive the AP mote reset line.

...

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

  • supervisor
  • stunnel
  • pyzmq
  • protobuf