mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-25 08:17:15 +02:00
IDF master 3e370c4296
* Fix build compilation due to changes in the HW_TIMER's structs * Fix compilation warnings and errors with USB * Update USBCDC.cpp * Update CMakeLists.txt * Update HWCDC.cpp
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
@ -41,6 +41,8 @@ typedef enum {
|
||||
ESP_IEEE802154_TX_ERR_NO_ACK, /*!< No Ack frame received until timeout */
|
||||
ESP_IEEE802154_TX_ERR_INVALID_ACK, /*!< Invalid Ack frame */
|
||||
ESP_IEEE802154_TX_ERR_COEXIST, /*!< Rejected by coexist system */
|
||||
ESP_IEEE802154_TX_ERR_COEXIST_REJ, /*!< Rejected by coexist system before transmitting frame */
|
||||
ESP_IEEE802154_TX_ERR_COEXIST_ACK, /*!< Rejected by coexist system when receiving ack */
|
||||
} esp_ieee802154_tx_error_t;
|
||||
|
||||
/**
|
||||
@ -60,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;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user