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