Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix formatting, typos, bad paths

...

It connects to:

  •  The SmartMesh IP Mote running in slave mode

Running

You can run the BlinkPacketSend application:

  • by double-clicking on its source files at /src/binapp/MgrListenerBlinkPacketSend/BlinkPacketSend.py
  • by running from the command line with the available options

Description

This scipt script will connect to a mote via the serial portAPI, then issue a Blink command It command. It will then wait for a txDone notification signalling that the packet has left the mote queue and is in the network. Calling this the script with -p X will  will send X packets one after the other, waiting for txDone between each one.

Command line options include

...

:

OptionDescription
-c | --com
to specify
Specify the COM port of the mote Serial API
   
-n | --neighbors
to send

Send the blink packet with or without the discovered

neighbors 

neighbors

   
-p | --packets
to specify

Specify how many packets to send

   
-h | --help
Print help


Example:

No Format
BlinkPacketSend.py -c COM11 -n 0 -p 2