• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

virtual_time/04-Jan-2025-490316

CMakeLists.txtD04-Jan-20254.2 KiB122107

README.mdD04-Jan-2025832 5847

alarm.cD04-Jan-20257.9 KiB301204

ble.cD04-Jan-20257.4 KiB250177

crypto.cD04-Jan-20254.1 KiB12271

diag.cD04-Jan-20255.8 KiB187115

dns.cD04-Jan-20252 KiB4814

dnssd.cD04-Jan-20256 KiB168119

dso_transport.cD04-Jan-20252.3 KiB6024

entropy.cD04-Jan-20253.8 KiB13762

flash.cD04-Jan-20254.7 KiB15895

infra_if.cD04-Jan-202510.9 KiB339212

logging.cD04-Jan-20253.8 KiB12778

mdns_socket.cD04-Jan-202518 KiB570398

misc.cD04-Jan-20253.5 KiB11662

multipan.cD04-Jan-20252.4 KiB6728

openthread-core-simulation-config.hD04-Jan-20254.8 KiB15186

platform-config.hD04-Jan-20253.8 KiB12929

platform-simulation.hD04-Jan-202510.8 KiB39486

radio.cD04-Jan-202537.7 KiB1,3321,012

simul_utils.cD04-Jan-202513.7 KiB456337

simul_utils.hD04-Jan-20255.7 KiB15831

spi-stubs.cD04-Jan-20253.1 KiB8338

system.cD04-Jan-20259 KiB293217

trel.cD04-Jan-202511.2 KiB401279

uart.cD04-Jan-20259 KiB327206

README.md

1# OpenThread Simulation on POSIX
2
3This directory contains example platform drivers for simulation on POSIX.
4
5## Build Examples
6
7```bash
8$ cd <path-to-openthread>
9$ mkdir build && cd build
10$ cmake -GNinja -DOT_PLATFORM=simulation ..
11$ ninja
12```
13
14After a successful build, the `elf` files are found in:
15
16- `<path-to-openthread>/build/examples/apps/cli`
17- `<path-to-openthread>/build/examples/apps/ncp`
18
19## Interact
20
211. Spawn the process:
22
23```bash
24$ cd <path-to-openthread>/build/simulation/examples/apps/cli
25$ ./ot-cli-ftd 1
26```
27
282. Type `help` for list of commands.
29
30```bash
31> help
32help
33channel
34childtimeout
35contextreusedelay
36extaddr
37extpanid
38ipaddr
39keysequence
40leaderweight
41mode
42netdata register
43networkidtimeout
44networkkey
45networkname
46panid
47ping
48prefix
49releaserouterid
50rloc16
51route
52routerupgradethreshold
53scan
54start
55state
56stop
57```
58