...
- Connects to the manager through the SerialMux
- Calls getNetworkInfo
- Exits
Sample Output
No Format |
---|
Simple Application which interacts with the IP manager - (c) Dust Networks ================== Step 1. Connecting to the manager ============== Do you want to connect to a manager over SerialMux? [y/n] y Enter the SerialMux's host (leave blank for 127.0.0.1): Enter the SerialMux's port (leave blank for 9900): ===== Creating connector done. ===== Connecting to IP manager done. ================== Step 2. Getting information from the network ==== ===== Retrieve the network info Tuple_dn_getNetworkInfo(RC=0, numMotes=0, asnSize=7250, advertisementState=0, downFrameState=1, netReliability=100, netPathStability=96, netLatency=500, netState=0, ipv6Address=[254, 128, 0, 0, 0, 0, 0, 0, 0, 23, 13, 0, 0, 96, 53, 249], numLostPackets=None, numArrivedPackets=None, maxNumbHops=None) ================== Step 3. Disconnecting from the device ========== ===== Disconnecting from IP manager done. Script ended. Press Enter to exit. |