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

..--

virtual_time/18-Mar-2025-491317

CMakeLists.txtD18-Mar-20254.5 KiB129113

README.mdD18-Mar-2025832 5847

alarm.cD18-Mar-20257.9 KiB301204

ble.cD18-Mar-20257.4 KiB252178

crypto.cD18-Mar-20254.1 KiB12271

diag.cD18-Mar-20255.8 KiB186115

dns.cD18-Mar-20252 KiB4814

dnssd.cD18-Mar-20256.1 KiB168119

dso_transport.cD18-Mar-20252.3 KiB6024

entropy.cD18-Mar-20253.8 KiB13662

flash.cD18-Mar-20254.7 KiB15895

infra_if.cD18-Mar-202510.9 KiB340213

logging.cD18-Mar-20253.8 KiB12778

mdns_socket.cD18-Mar-202517.1 KiB560390

misc.cD18-Mar-20253.7 KiB12568

multipan.cD18-Mar-20252.4 KiB6728

openthread-core-simulation-config.hD18-Mar-20255 KiB15589

platform-config.hD18-Mar-20254 KiB12832

platform-simulation.hD18-Mar-202510.7 KiB35886

radio.cD18-Mar-202535.2 KiB1,239929

simul_utils.cD18-Mar-202514.6 KiB468348

simul_utils.hD18-Mar-20255.7 KiB14831

spi-stubs.cD18-Mar-20253.1 KiB8338

system.cD18-Mar-20259 KiB292217

trel.cD18-Mar-202513.9 KiB488348

uart.cD18-Mar-20259 KiB328207

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