kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'add_openthread_srp_client_option' into 'master'
openthread : update openthread submodule See merge request espressif/esp-idf!15161pull/7680/head
commit
6704f4c92f
|
@ -1 +1 @@
|
|||
Subproject commit 1174878441c77b467503b1b7a1b24e00bea2839e
|
||||
Subproject commit 0ae4bb88c00faa641be5d2a613184735f484edb8
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d7d5f592598457098e350fb2aa3670ebbe8056a3
|
||||
Subproject commit 9f5363e97ae6d53d62f1ef90edf2717fb72e47a8
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1f6e937b5035291645265e0fe31fd587cc1f88c0
|
||||
Subproject commit 6cb8a436669f3a0f7e967625141c94930e3cb8bc
|
|
@ -1 +1 @@
|
|||
Subproject commit a662c32eb074cc624bf344f810f65f8637a89552
|
||||
Subproject commit 71bc37bbc353b0ca1775f5654a2b65fcbe044650
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue