mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ieee802154: add zigbee pending mode and config coordinator function
This commit is contained in:
parent
c5a52c605f
commit
988ec8be56
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user