Searched +full:cli +full:- +full:ftd (Results 1 – 25 of 53) sorted by relevance
123
| /external/openthread/examples/apps/cli/ |
| D | ftd.cmake | 29 add_executable(ot-cli-ftd 34 target_include_directories(ot-cli-ftd PRIVATE ${COMMON_INCLUDES}) 40 target_link_libraries(ot-cli-ftd PRIVATE 41 openthread-cli-ftd 43 openthread-ftd 45 openthread-cli-ftd 47 ot-config-ftd 48 ot-config 53 target_link_libraries(ot-cli-ftd PRIVATE -Wl,-map,ot-cli-ftd.map) 55 target_link_libraries(ot-cli-ftd PRIVATE -Wl,-Map=ot-cli-ftd.map) [all …]
|
| D | README.md | 1 # OpenThread CLI Example 3 This example application exposes OpenThread configuration and management APIs via a simple command-… 8 $ cd <path-to-openthread> 9 $ ./script/cmake-build simulation 17 $ cd <path-to-openthread>/build/simulation/examples/apps/cli 18 $ ./ot-cli-ftd 1 33 Network Name: OpenThread-8f28 80 $ cd <path-to-openthread>/build/simulation/examples/apps/cli 81 $ ./ot-cli-ftd 2 124 See the [OpenThread CLI Reference README.md](../../../src/cli/README.md) to explore more.
|
| /external/openthread/src/cli/ |
| D | ftd.cmake | 29 add_library(openthread-cli-ftd) 31 target_compile_definitions(openthread-cli-ftd 38 target_compile_options(openthread-cli-ftd PRIVATE 42 target_include_directories(openthread-cli-ftd PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDE… 44 target_sources(openthread-cli-ftd PRIVATE ${COMMON_SOURCES}) 46 target_link_libraries(openthread-cli-ftd 48 openthread-ftd 51 ot-config-ftd 52 ot-config 56 target_link_libraries(openthread-cli-ftd PRIVATE ${OT_CLI_VENDOR_TARGET})
|
| D | BUILD.gn | 31 "cli.cpp", 32 "cli.hpp", 81 static_library("libopenthread-cli-ftd") { 83 public_deps = [ "../core:libopenthread-ftd" ] 88 static_library("libopenthread-cli-mtd") { 90 public_deps = [ "../core:libopenthread-mtd" ]
|
| D | README_SRP.md | 1 # OpenThread CLI - SRP (Service Registration Protocol) 10 ./output/simulation/bin/ot-cli-ftd 1 25 Network Name: OpenThread-f7af 54 ./output/simulation/bin/ot-cli-ftd 2 76 > srp client host name my-host 80 > srp client service add my-service _ipps._tcp 12345 86 The last command enables the auto-start mode on the client which then monitors the network data to … 111 name:"my-host", state:Registered, addrs:[fded:5114:8263:1fe1:44f9:cc06:4a2d:534] 114 instance:"my-service", name:"_ipps._tcp", state:Registered, port:12345, priority:0, weight:0 124 my-host.default.service.arpa. [all …]
|
| D | CMakeLists.txt | 35 cli.cpp 59 set(OT_CLI_VENDOR_EXTENSION "" CACHE STRING "Path to CMake file to define and link cli vendor exten… 61 …(OT_CLI_VENDOR_TARGET "" CACHE STRING "Name of vendor extension CMake target to link with cli app") 63 target_compile_definitions(ot-config INTERFACE "OPENTHREAD_CONFIG_CLI_VENDOR_COMMANDS_ENABLE=1") 67 include(ftd.cmake)
|
| /external/openthread/ |
| D | BUILD.gn | 69 group("libopenthread-ftd") { 71 deps = [ "src/core:libopenthread-ftd" ] 74 group("libopenthread-mtd") { 76 deps = [ "src/core:libopenthread-mtd" ] 79 group("libopenthread-radio") { 81 deps = [ "src/core:libopenthread-radio" ] 84 group("libopenthread-cli-ftd") { 86 deps = [ "src/cli:libopenthread-cli-ftd" ] 89 group("libopenthread-cli-mtd") { 91 deps = [ "src/cli:libopenthread-cli-mtd" ] [all …]
|
| D | .gitignore | 32 ot-cli-ftd 33 ot-cli-mtd 34 ot-cli-radio 35 ot-ncp-ftd 36 ot-ncp-mtd 37 ot-rcp 42 cmake-build-*/** 50 ot-test-* 57 third_party/mbedtls/openthread-mbedtls-config.h
|
| D | CONTRIBUTING.md | 5 - [1 Code of Conduct](#code-of-conduct) 6 - [2 Bugs](#bugs) 7 - [3 New Features](#new-features) 8 - [4 Contributing Code](#contributing-code) 9 - [4.1 Initial Setup](#initial-setup) 10 - [4.2 Contributor License Agreement (CLA)](#contributor-license-agreement--cla-) 11 - [4.3 Submitting a Pull Request](#submitting-a-pull-request) 12 - [5 Contributing Documentation](#contributing-documentation) 20 …issue and step-by-step instructions for predictably reproducing the issue. Even better, you can [s… 28 - _Large feature_: first [submit a GitHub Issue](https://github.com/openthread/openthread/issues/ne… [all …]
|
| /external/openthread/script/ |
| D | check-size | 30 set -euo pipefail 32 OT_TMP_DIR=/tmp/ot-size-report 35 OT_SHA_NEW=${GITHUB_SHA:-$(git rev-parse HEAD)} 38 OT_SHA_OLD="${OT_SHA_OLD:-$(git cat-file -p "${OT_SHA_NEW}" | grep 'parent ' | head -n1 | cut -d' '… 47 OT_REPORTER="${OT_SIZE_REPORTER-}" 52 if arm-none-eabi-gcc --version | grep -q 'Arm Embedded Processors 7'; then 57 …wget --tries 4 --no-check-certificate --quiet https://developer.arm.com/-/media/Files/downloads/gn… 58 && tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2) 59 export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH 61 arm-none-eabi-gcc --version [all …]
|
| D | cmake-build | 35 # script/cmake-build ${platform} 39 # script/cmake-build ${platform} -D${option}=ON 43 # script/cmake-build ${platform} -D${option}=OFF 47 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/cmake-build ${platform} 48 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd ot-cli-mtd" script/cmake-build ${platform} 52 # OT_CMAKE_BUILD_DIR="./build/temp" script/cmake-build ${platform} 56 # script/cmake-build simulation 58 # script/cmake-build simulation -DOT_FULL_LOGS=ON -DOT_CHANNEL_MANAGER=OFF 60 … OT_CMAKE_NINJA_TARGET="ot-cli-mtd" OT_CMAKE_BUILD_DIR="./build/temp" script/cmake-build simul… 63 set -euxo pipefail [all …]
|
| /external/openthread/src/posix/ |
| D | cli.cmake | 29 add_executable(ot-cli 35 target_include_directories(ot-cli PRIVATE ${COMMON_INCLUDES}) 38 target_compile_definitions(ot-cli PRIVATE 42 target_compile_options(ot-cli PRIVATE 46 target_link_libraries(ot-cli PRIVATE 47 openthread-cli-ftd 48 openthread-posix 49 openthread-ftd 50 openthread-posix 51 openthread-cli-ftd [all …]
|
| D | daemon.cmake | 29 add_executable(ot-daemon 33 target_include_directories(ot-daemon PRIVATE ${COMMON_INCLUDES}) 35 target_compile_options(ot-daemon PRIVATE 39 target_link_libraries(ot-daemon PRIVATE 40 openthread-cli-ftd 41 openthread-posix 42 openthread-ftd 43 openthread-posix 44 openthread-hdlc 45 openthread-radio-spinel [all …]
|
| /external/openthread/tests/toranj/ |
| D | build.sh | 37 echo " all : Build OpenThread NCP, CLI, and RCP with simulation platform" 39 echo " ncp-15.4 : Build OpenThread NCP mode with simulation platform - 15.4 radio" 40 … echo " ncp-trel : Build OpenThread NCP mode with simulation platform - TREL radio " 41 …echo " ncp-15.4+trel : Build OpenThread NCP mode with simulation platform - multi radio (… 42 echo " cli : Build OpenThread CLI mode with simulation platform" 43 echo " cli-15.4 : Build OpenThread CLI mode with simulation platform - 15.4 radio" 44 … echo " cli-trel : Build OpenThread CLI mode with simulation platform - TREL radio " 45 …echo " cli-15.4+trel : Build OpenThread CLI mode with simulation platform - multi radio (… 48 echo " posix-15.4 : Build OpenThread POSIX - 15.4 radio" 49 echo " posix-trel : Build OpenThread POSIX - TREL radio " [all …]
|
| D | README_CLI.md | 1 # `toranj-cli` 3 `toranj-cli` is a test framework for OpenThread using its CLI interface. 7 - It is developed in Python. 8 - It can be used to simulate multiple nodes forming complex network topologies. 9 - It allows testing of network interactions between many nodes. 10 - `toranj` in CLI mode runs `ot-cli-ftd` on simulation platform (real-time). 19 Building OpenThread (NCP/CLI for FTD/MTD/RCP mode) with simulation platform using cmake 21 -- OpenThread Source Directory: /Users/abtink/GitHub/openthread 22 -- OpenThread CMake build type: Debug 23 -- Package Name: OPENTHREAD [all …]
|
| D | README.md | 7 - `toranj-cli` which enables testing of OpenThread using its CLI interface. 8 - `toranj-ncp` which enables testing of the combined behavior of OpenThread (in NCP mode), spinel i… 12 - It is developed in Python. 13 - It can be used to simulate multiple nodes forming complex network topologies. 14 - It allows testing of network interactions between many nodes (IPv6 traffic exchanges). 15 - `toranj` in NCP mode runs `wpantund` natively with OpenThread in NCP mode on simulation platform … 16 - `toranj` in CLI mode runs `ot-cli-ftd` on simulation platform (real-time). 17 - `toranj` tests run as part of GitHub Actions pull request validation in OpenThread and `wpantund`… 21 - [`toranj-cli` guide](README_CLI.md) 22 - [`toranj-ncp` guide](README_NCP.md) [all …]
|
| /external/openthread/tests/fuzz/ |
| D | CMakeLists.txt | 35 -DOPENTHREAD_FTD=1 36 -DOPENTHREAD_MTD=0 37 -DOPENTHREAD_RADIO=0 38 -DOPENTHREAD_SPINEL_CONFIG_OPENTHREAD_MESSAGE_ENABLE=1 46 openthread-ftd 49 ot-config 52 add_executable(ot-cli-received-fuzzer 57 target_compile_options(ot-cli-received-fuzzer 62 target_include_directories(ot-cli-received-fuzzer 67 target_link_libraries(ot-cli-received-fuzzer [all …]
|
| /external/ot-br-posix/tests/scripts/ |
| D | ncp_mode | 29 # Test basic functionality of otbr-agent under NCP mode. 33 set -euxo pipefail 40 #--------------------------------------- 42 #--------------------------------------- 43 OT_CLI="${OT_CLI:-ot-cli-ftd}" 46 OT_NCP="${OT_NCP:-ot-ncp-ftd}" 49 OTBR_DOCKER_IMAGE="${OTBR_DOCKER_IMAGE:-otbr-ncp}" 52 ABS_TOP_BUILDDIR="$(cd "${top_builddir:-"${SCRIPT_DIR}"/../../}" && pwd)" 55 ABS_TOP_SRCDIR="$(cd "${top_srcdir:-"${SCRIPT_DIR}"/../../}" && pwd)" 73 readonly OTBR_VERBOSE="${OTBR_VERBOSE:-0}" [all …]
|
| /external/ot-br-posix/tests/scripts/expect/ |
| D | _common.exp | 1 #!/usr/bin/expect -f 38 -re $success { 41 -re $failure { 54 expect -re "\[\r\n \]($line)(?=\[\r\n>\])" 60 # 1. cli: The cli app. ot-cli-ftd or ot-cli-mtd 61 # 2. otbr: The otbr-agent. 64 # If type is 'cli', sim_app is the path of the cli app. 65 # If type is 'otbr', sim_app is the path of the coprocessor. It could be 'ot-rcp', 'ot-ncp-ftd' 66 # or 'ot-ncp-mtd'. 74 switch -regexp ${type} { [all …]
|
| /external/openthread/.github/workflows/ |
| D | simulation-1.1.yml | 33 branches-ignore: 34 - 'dependabot/**' 37 - 'main' 40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent… 41 cancel-in-progress: true 48 packet-verification: 49 runs-on: ubuntu-24.04 57 - name: Harden Runner 58 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs [all …]
|
| /external/ot-br-posix/.github/workflows/ |
| D | meshcop.yml | 33 branches-ignore: 34 - 'dependabot/**' 37 - 'main' 40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent… 41 cancel-in-progress: true 46 runs-on: ubuntu-latest 48 fail-fast: false 52 - uses: actions/checkout@v4 55 - name: Bootstrap 60 - name: Build [all …]
|
| /external/openthread/examples/platforms/simulation/ |
| D | README.md | 8 $ cd <path-to-openthread> 10 $ cmake -GNinja -DOT_PLATFORM=simulation .. 16 - `<path-to-openthread>/build/examples/apps/cli` 17 - `<path-to-openthread>/build/examples/apps/ncp` 24 $ cd <path-to-openthread>/build/simulation/examples/apps/cli 25 $ ./ot-cli-ftd 1
|
| /external/openthread/tools/harness-simulation/ |
| D | README.md | 3 …ci`, which is used by the Thread Test Harness Software to control OpenThread-based reference devic… 7 …POSIX environment. However, Harness has to be run on Windows, which is a non-POSIX environment. So… 13 1. Open the JSON format configuration file `tools/harness-simulation/posix/config.yml`: 15 …- Edit the value of `ot_path` to the absolute path where the top directory of the OpenThread repos… 16 …- For each entry in `ot_build.ot`, update the value of `number` to be the number of OT FTD simulat… 17 …- For each entry in `ot_build.otbr`, update the value of `number` to be the number of OTBR simulat… 18 - The numbers above can be adjusted according to the requirement of test cases. 19 …- Edit the value of `ssh.username` to the username to be used for connecting to the remote POSIX e… 20 - Edit the value of `ssh.password` to the password corresponding to the username above. 21 - Edit the value of `discovery_ifname` to the network interface that the Harness will connect to. [all …]
|
| /external/openthread/tools/harness-simulation/harness/Thread_Harness/THCI/ |
| D | OpenThread_Sim.py | 88 # Receive the output in non-blocking mode 91 # Some commands such as `udp send <ip> -x <hex>` send binary data 99 # Exit ot-cli-ftd and close the SSH connection 126 print('%d@%s - %s - %s' % (self.node_id, self.ip, time.strftime('%b %d %H:%M:%S'), msg)) 164 … self.device = '/'.join([config['ot_path'], ot_subpath[self.tag], 'examples/apps/cli/ot-cli-ftd'])
|
| /external/openthread/src/posix/platform/ |
| D | CMakeLists.txt | 29 set(OT_PLATFORM_LIB "openthread-posix" PARENT_SCOPE) 31 add_library(ot-posix-config INTERFACE) 35 target_compile_definitions(ot-posix-config 39 # We have to add this definition to `ot-config` because openthread core 40 # libraries will set config file to "openthrad-core-posix-config.h" which 49 target_compile_definitions(ot-posix-config 57 target_compile_definitions(ot-posix-config 61 target_compile_definitions(ot-posix-config 68 target_compile_definitions(ot-posix-config 75 target_compile_definitions(ot-posix-config [all …]
|
123