...
The script connects to a Manager using the Python library and does the following:
- Prompts the user for Vmanager VManager lP address
- Subscribes to data notifications
- Prints out all Blink packets received
...
- By double-clicking on its source files at
/vmanager_apps/VMgr_BlinkData.py
- A sample Mote application in the SMSDK called BlinkPacketSend.py can be used separately to send Blink packets from a mote
Code Blocknoformat |
---|
VMgr_BlinkData Example (c) Dust Networks SmartMesh SDK 1.1.0.1 Enter the IP address of the manager (e.g. 10.70.48.69 ): 127.0.0.1 ==== Subscribing to all Blink data notifications Waiting for notifications , Press any key to stop Blink packet received from 00-17-0D-00-00-60-04-B0 --> Neighbor ID = 1 , RSSI = - 77 --> Neighbor ID = 2 , RSSI = - 89 --> Data Sent = 48656c6c6f2c20576f726c6421 |