This application was added in REL-1.1.0. |
The BlinkPacketSend application connects to the SmartMesh IP Mote and send a Blink packet. The script can be called to send the packet with or without the discovered neighbors.
It connects to:
You can run the BlinkPacketSend application:
/src/
app/BlinkPacketSend/BlinkPacketSend.py
This script will connect to a mote via the serial API, then issue a Blink command. It will then wait for a txDone notification signalling that the packet has left the mote queue and is in the network. Calling the script with -p X
will send X packets one after the other, waiting for txDone between each one.
Command line options include:
Option | Description |
---|---|
-c | --com | Specify the COM port of the mote Serial API |
-n | --neighbors | Send the blink packet with or without the discovered neighbors |
-p | --packets | Specify how many packets to send |
-h | --help | Print help |
Example:
BlinkPacketSend.py -c COM11 -n 0 -p 2 |