Here are the general steps to enabling PPP communications between the host module (e.g. meter "register" board) and the Cisco comm module:
- Make sure the comm module HW has been successfully debugged (ensure that the MCU diags have passed the basic test including the host UART test
- Make sure ppp v6 daemon has been ported to your host module environment
- Start the ppp daemon. On linux systems it may be command line such as this:
pppd nodetach debug nocdtrcts noip ipv6 ::2 <tty_dev> 115200
- where <tty_dev> is the usb tty device of your board. e.g. /dev/ttyUSB0
- ping the comm module at the address FE80::1. for example:
- After a successful ping, you are ready to test the CSMP communications between your CSMP client and the CSMP agent in the comm module.
MAC OS X (Lion and above)
Here are the steps to communicate to the host port of the comm module from a USB port of a Macintosh running Mac OS X Lion:
- Connect a USB cable between the host port of the comm module and a USB port of the Mac.
- Open a terminal window. Applications -> Utilities -> Terminal
- Find the "tty" device name of the connected comm module.
$ ls /dev/*usb*
- Start the pppd program on that device in su mode. Super-user password will be required.
$ sudo pppd local nocdtrcts nodetach debug noip ipv6 ::2,::1 /dev/tty.usbserial-AM01921K 115200
- Ping the comm module from another terminal window
$ ping6 fe80::1%ppp0
PING6(56=40+8+8 bytes) fe80::2%ppp0 --> fe80::1%ppp0
16 bytes from fe80::1%ppp0, icmp_seq=0 hlim=64 time=27.411 ms
16 bytes from fe80::1%ppp0, icmp_seq=1 hlim=64 time=27.234 ms
16 bytes from fe80::1%ppp0, icmp_seq=2 hlim=64 time=26.995 ms
16 bytes from fe80::1%ppp0, icmp_seq=3 hlim=64 time=27.369 ms
- You may now communicate with the comm module using CSMP CLI Tool