BlinkPacketSend

This application was added in REL-1.1.0.

Introduction

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:

  •  The SmartMesh IP Mote running in slave mode

Running

You can run the BlinkPacketSend application:

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

Description

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:


OptionDescription
-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