mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[border-agent] introduce Border Agent TXT Data Parser (#12009)
This commit introduces a new feature to parse the MeshCoP service TXT data from a Border Agent. The new API `otBorderAgentTxtDataParse()` allows parsing the raw TXT data into a structured `otBorderAgentTxtDataInfo` object. This can be used by applications to inspect the capabilities and status of a discovered Border Agent. Config `OPENTHREAD_CONFIG_BORDER_AGENT_TXT_DATA_PARSER_ENABLE` controls this new feature. The existing test for the Border Agent is updated to validate the new parser and its output.
This commit is contained in:
committed by
GitHub
parent
ecd29ced66
commit
ad1cfb749e
+89
-88
@@ -33,142 +33,143 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup api API
|
||||
* @defgroup api API
|
||||
* @brief
|
||||
* This module includes the application programming interface to the OpenThread stack.
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-error Error
|
||||
* @defgroup api-error Error
|
||||
*
|
||||
* @defgroup api-execution Execution
|
||||
* @defgroup api-execution Execution
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-instance Instance
|
||||
* @defgroup api-tasklets Tasklets
|
||||
* @defgroup api-instance Instance
|
||||
* @defgroup api-tasklets Tasklets
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-net IPv6 Networking
|
||||
* @defgroup api-net IPv6 Networking
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-ble-secure BLE Secure
|
||||
* @defgroup api-dns DNS
|
||||
* @defgroup api-dnssd-server DNS-SD Server
|
||||
* @defgroup api-icmp6 ICMPv6
|
||||
* @defgroup api-ip6 IPv6
|
||||
* @defgroup api-mdns Multicast DNS
|
||||
* @defgroup api-nat64 NAT64
|
||||
* @defgroup api-srp SRP
|
||||
* @defgroup api-ping-sender Ping Sender
|
||||
* @defgroup api-ble-secure BLE Secure
|
||||
* @defgroup api-dns DNS
|
||||
* @defgroup api-dnssd-server DNS-SD Server
|
||||
* @defgroup api-icmp6 ICMPv6
|
||||
* @defgroup api-ip6 IPv6
|
||||
* @defgroup api-mdns Multicast DNS
|
||||
* @defgroup api-nat64 NAT64
|
||||
* @defgroup api-srp SRP
|
||||
* @defgroup api-ping-sender Ping Sender
|
||||
*
|
||||
* @defgroup api-tcp-group TCP
|
||||
* @defgroup api-tcp-group TCP
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-tcp TCP
|
||||
* @defgroup api-tcp-ext TCP Abstractions
|
||||
* @defgroup api-tcp TCP
|
||||
* @defgroup api-tcp-ext TCP Abstractions
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-udp-group UDP
|
||||
* @defgroup api-udp-group UDP
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-udp UDP
|
||||
* @defgroup api-udp-forward UDP Forward
|
||||
* @defgroup api-udp UDP
|
||||
* @defgroup api-udp-forward UDP Forward
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-link Link
|
||||
* @defgroup api-link Link
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-link-link Link
|
||||
* @defgroup api-link-metrics Link Metrics
|
||||
* @defgroup api-link-raw Raw Link
|
||||
* @defgroup api-link-link Link
|
||||
* @defgroup api-link-metrics Link Metrics
|
||||
* @defgroup api-link-raw Raw Link
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-message Message
|
||||
* @defgroup api-message Message
|
||||
*
|
||||
* @defgroup api-multi-radio Multi Radio Link
|
||||
* @defgroup api-trel TREL - Thread Stack
|
||||
* @defgroup api-multi-radio Multi Radio Link
|
||||
* @defgroup api-trel TREL - Thread Stack
|
||||
*
|
||||
* @defgroup api-thread Thread
|
||||
* @defgroup api-thread Thread
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-backbone-router Backbone Router
|
||||
* @defgroup api-border-agent Border Agent
|
||||
* @defgroup api-border-agent-tracker Border Agent Tracker
|
||||
* @defgroup api-border-router Border Router
|
||||
* @defgroup api-border-routing Border Routing Manager
|
||||
* @defgroup api-commissioner Commissioner
|
||||
* @defgroup api-thread-general General
|
||||
* @defgroup api-backbone-router Backbone Router
|
||||
* @defgroup api-border-agent Border Agent
|
||||
* @defgroup api-border-agent-tracker Border Agent Tracker
|
||||
* @defgroup api-border-agent-txt-data Border Agent TXT Data Parser
|
||||
* @defgroup api-border-router Border Router
|
||||
* @defgroup api-border-routing Border Routing Manager
|
||||
* @defgroup api-commissioner Commissioner
|
||||
* @defgroup api-thread-general General
|
||||
* @brief This module includes functions for all Thread roles.
|
||||
* @defgroup api-joiner Joiner
|
||||
* @defgroup api-operational-dataset Operational Dataset
|
||||
* @defgroup api-joiner Joiner
|
||||
* @defgroup api-operational-dataset Operational Dataset
|
||||
* @brief Includes functions for the Operational Dataset API.
|
||||
* @defgroup api-thread-router Router/Leader
|
||||
* @defgroup api-thread-router Router/Leader
|
||||
* @brief This module includes functions for Thread Routers and Leaders.
|
||||
* @defgroup api-server Server
|
||||
* @defgroup api-server Server
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-addons Add-Ons
|
||||
* @defgroup api-addons Add-Ons
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-channel-manager Channel Manager
|
||||
* @defgroup api-channel-monitor Channel Monitoring
|
||||
* @defgroup api-child-supervision Child Supervision
|
||||
* @defgroup api-coap-group CoAP
|
||||
* @defgroup api-channel-manager Channel Manager
|
||||
* @defgroup api-channel-monitor Channel Monitoring
|
||||
* @defgroup api-child-supervision Child Supervision
|
||||
* @defgroup api-coap-group CoAP
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-coap CoAP
|
||||
* @defgroup api-coap-secure CoAP Secure
|
||||
* @defgroup api-coap CoAP
|
||||
* @defgroup api-coap-secure CoAP Secure
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-cli Command Line Interface
|
||||
* @defgroup api-crypto Crypto - Thread Stack
|
||||
* @defgroup api-factory-diagnostics Factory Diagnostics - Thread Stack
|
||||
* @defgroup api-heap Heap
|
||||
* @defgroup api-history-tracker History Tracker
|
||||
* @defgroup api-jam-detection Jam Detection
|
||||
* @defgroup api-logging Logging - Thread Stack
|
||||
* @defgroup api-mesh-diag Mesh Diagnostics
|
||||
* @defgroup api-ncp Network Co-Processor
|
||||
* @defgroup api-network-time Network Time Synchronization
|
||||
* @defgroup api-radio Radio Statistics
|
||||
* @defgroup api-random-group Random Number Generator
|
||||
* @defgroup api-cli Command Line Interface
|
||||
* @defgroup api-crypto Crypto - Thread Stack
|
||||
* @defgroup api-factory-diagnostics Factory Diagnostics - Thread Stack
|
||||
* @defgroup api-heap Heap
|
||||
* @defgroup api-history-tracker History Tracker
|
||||
* @defgroup api-jam-detection Jam Detection
|
||||
* @defgroup api-logging Logging - Thread Stack
|
||||
* @defgroup api-mesh-diag Mesh Diagnostics
|
||||
* @defgroup api-ncp Network Co-Processor
|
||||
* @defgroup api-network-time Network Time Synchronization
|
||||
* @defgroup api-radio Radio Statistics
|
||||
* @defgroup api-random-group Random Number Generator
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-random-crypto RNG Cryptographic
|
||||
* @defgroup api-random-non-crypto RNG Non-cryptographic
|
||||
* @defgroup api-random-crypto RNG Cryptographic
|
||||
* @defgroup api-random-non-crypto RNG Non-cryptographic
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-sntp SNTP
|
||||
* @defgroup api-verhoeff-checksum Verhoeff Checksum
|
||||
* @defgroup api-sntp SNTP
|
||||
* @defgroup api-verhoeff-checksum Verhoeff Checksum
|
||||
*
|
||||
* @}
|
||||
*
|
||||
* @defgroup api-provisional Provisional
|
||||
* @defgroup api-provisional Provisional
|
||||
* @brief
|
||||
* This module includes the OpenThread provisional APIs. These APIs are not stable and users should use them with
|
||||
* caution.
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup api-provisional-link Link
|
||||
* @defgroup api-provisional-p2p Peer-to-Peer
|
||||
* @defgroup api-provisional-link Link
|
||||
* @defgroup api-provisional-p2p Peer-to-Peer
|
||||
*
|
||||
* @}
|
||||
*
|
||||
@@ -176,33 +177,33 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup platform Platform Abstraction
|
||||
* @defgroup platform Platform Abstraction
|
||||
* @brief
|
||||
* This module includes the platform abstraction used by the OpenThread stack.
|
||||
*
|
||||
* @{
|
||||
*
|
||||
* @defgroup plat-alarm Alarm
|
||||
* @defgroup plat-ble BLE
|
||||
* @defgroup plat-crypto Crypto - Platform
|
||||
* @defgroup plat-dns DNS - Platform
|
||||
* @defgroup plat-dns-sd DNS-SD (mDNS)
|
||||
* @defgroup plat-entropy Entropy
|
||||
* @defgroup plat-factory-diagnostics Factory Diagnostics - Platform
|
||||
* @defgroup plat-infra-if Infrastructure Interface
|
||||
* @defgroup plat-logging Logging - Platform
|
||||
* @defgroup plat-memory Memory
|
||||
* @defgroup plat-messagepool Message Pool
|
||||
* @defgroup plat-misc Miscellaneous
|
||||
* @defgroup plat-mdns Multicast DNS
|
||||
* @defgroup plat-multipan Multipan
|
||||
* @defgroup plat-otns Network Simulator
|
||||
* @defgroup plat-radio Radio
|
||||
* @defgroup plat-settings Settings
|
||||
* @defgroup plat-spi-slave SPI Slave
|
||||
* @defgroup plat-time Time Service
|
||||
* @defgroup plat-toolchain Toolchain
|
||||
* @defgroup plat-trel TREL - Platform
|
||||
* @defgroup plat-alarm Alarm
|
||||
* @defgroup plat-ble BLE
|
||||
* @defgroup plat-crypto Crypto - Platform
|
||||
* @defgroup plat-dns DNS - Platform
|
||||
* @defgroup plat-dns-sd DNS-SD (mDNS)
|
||||
* @defgroup plat-entropy Entropy
|
||||
* @defgroup plat-factory-diagnostics Factory Diagnostics - Platform
|
||||
* @defgroup plat-infra-if Infrastructure Interface
|
||||
* @defgroup plat-logging Logging - Platform
|
||||
* @defgroup plat-memory Memory
|
||||
* @defgroup plat-messagepool Message Pool
|
||||
* @defgroup plat-misc Miscellaneous
|
||||
* @defgroup plat-mdns Multicast DNS
|
||||
* @defgroup plat-multipan Multipan
|
||||
* @defgroup plat-otns Network Simulator
|
||||
* @defgroup plat-radio Radio
|
||||
* @defgroup plat-settings Settings
|
||||
* @defgroup plat-spi-slave SPI Slave
|
||||
* @defgroup plat-time Time Service
|
||||
* @defgroup plat-toolchain Toolchain
|
||||
* @defgroup plat-trel TREL - Platform
|
||||
*
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user