Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are commands for setting/getting:

  • Network ID
  • Join key   - set only
  • Join duty cycle
  • MAC address - can be used in place of the hardware serial number
  • Power source info
  • Routing mode
  • Transmit power
  • Advertisment key - allows per-vendor (manufacturing step) or per-installation (commissioning step) advertisement authentication

The OCSDK library provides CLI commands for setting/getting all these parameters using the mset command, which is available to any application that exposes the CLI.  However, there is no built in API in the OCSDK, so customers wanting to provide programmatic support will need to implement their own.  

The 02-uart example in the OCSDK serves sample application in the

Include Page
_def_ocsdk
_def_ocsdk
 serves as a starting point for any such application - it consists of an example mote project and a Python application.  The application presents a human readable interface on the CLI UART that allows the user to send and receive strings from the Python application via the HDLC-encoded API UART, and vice versa.  

...