tree: 3412c1670e0276e00ecdb9ca4a3bea3daf2a4b29 [path history] [tgz]
  1. alarm.c
  2. diag.c
  3. flash-windows-stubs.c
  4. flash.c
  5. logging.c
  6. Makefile.am
  7. misc.c
  8. openthread-core-posix-config.h
  9. platform-posix.h
  10. platform.c
  11. radio.c
  12. random.c
  13. README.md
  14. spi-stubs.c
  15. uart-posix.c
  16. 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