tree: a859dc5ffb6992e6240dd13a8d057b5f27f59c59 [path history] [tgz]
  1. alarm.c
  2. code_utils.h
  3. frame_queue.cpp
  4. frame_queue.hpp
  5. logging.c
  6. Makefile.am
  7. misc.c
  8. openthread-core-posix-config.h
  9. openthread-system.h
  10. platform-posix.h
  11. radio_spinel.cpp
  12. radio_spinel.hpp
  13. random.c
  14. README.md
  15. settings.cpp
  16. sim.c
  17. spi-stubs.c
  18. system.c
  19. uart.c
src/posix/platform/README.md

OpenThread on POSIX

This directory contains platform drivers for POSIX with an external radio tranceiver.

Build

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

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

Interact

  1. Spawn the process:

stty is required.

$ cd <path-to-openthread>/output/<platform>/bin
$ ./ot-cli /dev/ttyUSB0 115200
  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