Files
openthread/examples/platforms/posix
Shu Chen 46f920cf6a Dataset storage (#866)
* Store active dataset and pending dataset in non-volatile memory.

  * Retrieve active dataset and pending dataset from non-volatile memory after each reboot.

  * Leader will generate the active dataset if it is not initialized.

  * Clear pending dataset after it replaces active dataset.

  * Create different pseudo flash files for posix nodes.
2016-10-24 22:13:23 -07:00
..
2016-10-24 22:13:23 -07:00
2016-10-24 22:13:23 -07:00
2016-10-24 22:13:23 -07:00
2016-10-10 10:58:02 -07:00

OpenThread on POSIX Emulation Example

This directory contains example platform drivers for POSIX emulation.

Build Examples

$ cd <path-to-openthread>
$ ./bootstrap
$ make -f examples/Makefile-posix

After a successful build, the elf files are found in <path-to-openthread>/output/<platform>/bin.

Interact

  1. Spawn the process:
$ cd <path-to-openthread>/output/<platform>/bin
$ ./ot-cli 1
  1. Type help for list of commands.
> help
help
channel
childtimeout
contextreusedelay
extaddr
extpanid
ipaddr
keysequence
leaderweight
masterkey
mode
netdataregister
networkidtimeout
networkname
panid
ping
prefix
releaserouterid
rloc16
route
routerupgradethreshold
scan
start
state
stop
whitelist