This application was added in REL-1.1.0.
Introduction
This example script subscribes to data notifications and prints out all Blink packets received
The script connects to a Manager using the Python library and does the following:
- Prompts the user for VManager lP address
- Subscribes to data notifications
- Prints out all Blink packets received
It connects to:
- The SmartMesh IP VManager
Running
You can run the VMgr_BlinkData.py
application:
- 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
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