tree: af649aecee93653f656cd3f5783bbd7ce3634cb6 [path history] [tgz]
  1. sim/
  2. alarm.c
  3. diag.c
  4. flash-windows-stubs.c
  5. flash.c
  6. logging.c
  7. Makefile.am
  8. Makefile.platform.am
  9. misc.c
  10. openthread-core-posix-config.h
  11. platform-posix.h
  12. platform.c
  13. radio.c
  14. random.c
  15. README.md
  16. spi-stubs.c
  17. uart-posix.c
  18. uart-windows.c
examples/platforms/posix/README.md

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