VMgr_LEDOnOff
This application was added in REL-1.1.0.
Introduction
This example script toggles the blue INDICATOR_9 LED on SmartMesh IP evaluation motes (DC9003/9018) running in Master mode.
The script connects to a Manager using the Python library and does the following;
Prompts the user for the VManager IP address and mote to work with. An address of FF-FF-FF-FF-FF-FF-FF-FF will send broadcast messages to all motes.
Prompts for desired LED setting (ON or OFF)
Sends the command to the mote(s)
It connects to:
The SmartMesh IP VManager
Requires SmartMesh IP evaluation motes (DC9003/9018) running in Master mode
Running
You can run the VMgr_LEDOnOff.py application:
By double-clicking on its source files at
/vmanager_apps/VMgr_LEDOnOff.py(may require additional steps on non-windows OSes)
VMgr_LEDOnOff 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
Enter MAC address of mote to send to (e.g. 00-17-0D-00-00-38-0F-CC)
or FF-FF-FF-FF-FF-FF-FF-FF for broadast:00-17-0D-00-00-60-08-DC
Turn the LED ON or OFF? Default = ON:
Sending packet to 00-17-0D-00-00-60-08-DC
Script ended normally