mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
Merge branch 'add_openthread_srp_client_option' into 'master'
openthread : update openthread submodule See merge request espressif/esp-idf!15161
This commit is contained in:
Submodule components/esp_phy/lib updated: 1174878441...0ae4bb88c0
@@ -192,6 +192,24 @@ void esp_ieee802154_get_extended_address(uint8_t *ext_addr);
|
||||
*/
|
||||
void esp_ieee802154_set_extended_address(const uint8_t *ext_addr);
|
||||
|
||||
/**
|
||||
* @brief Get the device coordinator.
|
||||
*
|
||||
* @return
|
||||
* - True The coordinator is enabled.
|
||||
* - False The coordinator is disabled.
|
||||
*
|
||||
*/
|
||||
bool esp_ieee802154_get_coordinator(void);
|
||||
|
||||
/**
|
||||
* @brief Set the device coordinator role.
|
||||
*
|
||||
* @param[in] enable The coordinator role to be set.
|
||||
*
|
||||
*/
|
||||
void esp_ieee802154_set_coordinator(bool enable);
|
||||
|
||||
/**
|
||||
* @brief Get the auto frame pending mode.
|
||||
*
|
||||
|
@@ -62,6 +62,7 @@ typedef enum {
|
||||
ESP_IEEE802154_AUTO_PENDING_DISABLE, /*!< Frame pending bit always set to 1 in the ack to Data Request */
|
||||
ESP_IEEE802154_AUTO_PENDING_ENABLE, /*!< Frame pending bit set to 1 if src address matches, in the ack to Data Request */
|
||||
ESP_IEEE802154_AUTO_PENDING_ENHANCED, /*!< Frame pending bit set to 1 if src address matches, in all ack frames */
|
||||
ESP_IEEE802154_AUTO_PENDING_ZIGBEE, /*!< Frame pending bit set to 0 only if src address is short address and matches in table, in the ack to Data Request */
|
||||
} esp_ieee802154_pending_mode_t;
|
||||
|
||||
/**
|
||||
|
Submodule components/ieee802154/lib updated: d7d5f59259...9f5363e97a
@@ -77,6 +77,14 @@ menu "OpenThread"
|
||||
Select this option to enable Joiner in OpenThread. This allows a device to join the Thread network with a
|
||||
pre-shared key using the Thread commissioning protocol.
|
||||
|
||||
config OPENTHREAD_SRP_CLIENT
|
||||
bool "Enable SRP Client"
|
||||
depends on OPENTHREAD_ENABLED
|
||||
default n
|
||||
help
|
||||
Select this option to enable SRP Client in OpenThread. This allows a device to register SRP services to SRP
|
||||
Server.
|
||||
|
||||
config OPENTHREAD_BORDER_ROUTER
|
||||
bool "Enable Border Router"
|
||||
depends on OPENTHREAD_ENABLED
|
||||
|
Submodule components/openthread/lib updated: 1f6e937b50...6cb8a43666
Submodule components/openthread/openthread updated: a662c32eb0...71bc37bbc3
@@ -126,6 +126,16 @@
|
||||
#define OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE 1
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_TCP_ENABLE
|
||||
*
|
||||
* Define to 0 to disable TCP
|
||||
*
|
||||
*/
|
||||
#ifndef OPENTHREAD_CONFIG_TCP_ENABLE
|
||||
#define OPENTHREAD_CONFIG_TCP_ENABLE 0
|
||||
#endif
|
||||
|
||||
#if CONFIG_OPENTHREAD_BORDER_ROUTER
|
||||
|
||||
/**
|
||||
@@ -375,6 +385,16 @@
|
||||
#define OPENTHREAD_CONFIG_DIAG_ENABLE 1
|
||||
#endif
|
||||
|
||||
#if CONFIG_OPENTHREAD_SRP_CLIENT
|
||||
#ifndef OPENTHREAD_CONFIG_ECDSA_ENABLE
|
||||
#define OPENTHREAD_CONFIG_ECDSA_ENABLE 1
|
||||
#endif
|
||||
|
||||
#ifndef OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE
|
||||
#define OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if CONFIG_OPENTHREAD_FTD
|
||||
#define OPENTHREAD_FTD 1
|
||||
#elif CONFIG_OPENTHREAD_MTD
|
||||
|
Reference in New Issue
Block a user