Introduction

PkGen connects to a either a SmartMesh IP Manager or SmartMesh WirelessHART Manager, allowing you to send commands to the the packet generation application on the corresponding motes running in master mode.

Mote modes are discussed in the SmartMesh IP User's Guide and the SmartMesh WirelessHART User's Guide

Running PkGen

You can run the PkGen application:

Description

The PkGen application consists of four frames:

An example of the PkGen application window is shown below, after the user has connected to a SmartMesh IP Manager. Aside from the API and connection tabs, the application appears the same for SmartMesh WirelessHART Managers.

Steps

 

 

The application does not display the access point or motes which are not in operational mode.

The application will list all motes in Operational mode, regardless of whether they are operating in master of slave mode. You can only interact with motes that you know are running in master mode.

 

  • For the mote of you choice enter the configuration you wish to send to the PkGen application running on the mote:
    • num is the number of packets you want the mote to generate.
    • rate is the amount of time between two consecutive packets, in ms.
    • size is the size of the packet payload, in bytes.
  • The configuration below has mote 00-17-0d-00-00-38-06-d6 send 300 packets, one every 200 ms, each carrying 35 bytes of the packet payload. Note that this rate may not be supportable for all devices for a given network size and topology.

  • A number of counters are there, for your convenience:
    • num - the number of packets generated by the mote which have been received. Note that this only counts packets generated by the mote's PkGen application, i.e. if it is generating different types of data, it will not be accounted for here.
    • pk./sec - an approximate rate counter, in packets received by the application, per second.
  • The clear button allows you to clear the counters.