# OpenThread Simulation on POSIX This directory contains example platform drivers for simulation on POSIX. ## Build Examples ### Build using autotools ```bash $ cd $ ./bootstrap $ make -f examples/Makefile-simulation ``` After a successful build, the `elf` files are found in: - `/output//bin` ### Build using cmake/ninja ```bash $ cd $ mkdir build && cd build $ cmake -GNinja -DOT_PLATFORM=simulation .. $ ninja ``` After a successful build, the `elf` files are found in: - `/build/examples/apps/cli` - `/build/examples/apps/ncp` ## Interact 1. Spawn the process: ```bash $ cd /output//bin $ ./ot-cli-ftd 1 ``` 2. Type `help` for list of commands. ```bash > help help channel childtimeout contextreusedelay extaddr extpanid ipaddr keysequence leaderweight mode netdata register networkidtimeout networkkey networkname panid ping prefix releaserouterid rloc16 route routerupgradethreshold scan start state stop ```