Plugin Commands: Manufacturing Library CLI

Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_MFGENABLE
plugin mfglib mfgenable [enabled:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_PROGRAM_EUI
plugin mfglib programEui [duration:8]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SEND_MESSAGE
plugin mfglib send message [data:-1] [numPackets:2]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SEND_RANDOM
plugin mfglib send random [numPackets:2] [length:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SEND_TEST
plugin mfglib send test [numPackets:2] [length:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SET_CHANNEL
plugin mfglib set-channel [channel:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SET_OPTIONS
plugin mfglib set-options [options:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SET_POWER
plugin mfglib set-power [powerLevel:1] [powerMode:2]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SLEEP
plugin mfglib sleep [duration:2]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_START
plugin mfglib start [useCallback:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STATUS
plugin mfglib status
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STOP
plugin mfglib stop
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STREAM_START
plugin mfglib stream start
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STREAM_STOP
plugin mfglib stream stop
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_TONE_START
plugin mfglib tone start
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_TONE_STOP
plugin mfglib tone stop

Detailed Description

CLI commands related to the manufacturing library.

Macro Definition Documentation

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_MFGENABLE

plugin mfglib mfgenable [enabled:1]

  • Enable mfglib.
    • enabled - INT8U - 1 = enable, 0 = disable.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_PROGRAM_EUI

plugin mfglib programEui [duration:8]

  • Program EUI.
    • duration - IEEE_ADDRESS - IEEE address to program.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SEND_MESSAGE

plugin mfglib send message [data:-1] [numPackets:2]

  • Send a test message with the specified data in it.
    • data - OCTET_STRING - The hex data to send, up to 16 bytes.
    • numPackets - INT16U - The number of packets to send.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SEND_RANDOM

plugin mfglib send random [numPackets:2] [length:1]

  • Send a series of test packets with random data..
    • numPackets - INT16U - The number of packets to send.
    • length - INT8U - The length of the packet to send.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SEND_TEST

plugin mfglib send test [numPackets:2] [length:1]

  • Send a series of test packets with fixed data.
    • numPackets - INT16U - The number of packets to send.
    • length - INT8U - The length of the packet to send.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SET_CHANNEL

plugin mfglib set-channel [channel:1]

  • Sets the channel used by the manufacturing library for testing.
    • channel - INT8U - The 802.15.4 channel number.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SET_OPTIONS

plugin mfglib set-options [options:1]

  • Sets options in the manufacturing library for testing.
    • options - INT8U - The options bitmask (0 = normal transmit, 1 = CSMA transmit).
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SET_POWER

plugin mfglib set-power [powerLevel:1] [powerMode:2]

  • Set the power level and mode for the manufacturing test.
    • powerLevel - INT8S - The power level
    • powerMode - INT16U - The power mode
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_SLEEP

plugin mfglib sleep [duration:2]

  • Sleep.
    • duration - INT16U - Sleep duration (mS).
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_START

plugin mfglib start [useCallback:1]

  • Start the mfglib test mode.
    • useCallback - BOOLEAN - Use the Rx callback.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STATUS

plugin mfglib status

  • Prints the current status of the manufacturing library.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STOP

plugin mfglib stop

  • Stop the mfglib test mode.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STREAM_START

plugin mfglib stream start

  • Start the stream test.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_STREAM_STOP

plugin mfglib stream stop

  • Stop the stream test.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_TONE_START

plugin mfglib tone start

  • Starts a tone test.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MANUFACTURING_LIBRARY_CLI_PLUGIN_MFGLIB_TONE_STOP

plugin mfglib tone stop

  • Stops the tone test.