tree: 48ccd1cbed2158f27ece990f2ef87520e4ec7859 [path history] [tgz]
  1. alarm.c
  2. CMakeLists.txt
  3. code_utils.h
  4. entropy.c
  5. hdlc_interface.cpp
  6. hdlc_interface.hpp
  7. logging.c
  8. Makefile.am
  9. misc.c
  10. netif.cpp
  11. openthread-core-posix-config.h
  12. openthread-system.h
  13. platform-config.h
  14. platform-posix.h
  15. radio_spinel.cpp
  16. radio_spinel.hpp
  17. README.md
  18. settings.cpp
  19. sim.c
  20. spi_interface.cpp
  21. spi_interface.hpp
  22. spinel_interface.hpp
  23. system.c
  24. uart.c
  25. udp.cpp
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