MAC Configuration API
MAC(Media Access Control) configuration related APIs for ESP Zigbee SDK.
API Reference
Header File
Functions
-
esp_err_t esp_zb_mac_set_transaction_persistence_time(uint32_t us)
Set the maximum MAC transaction persistence time.
- Parameters:
us – Maximum persistence time in microseconds, its value SHALL be within the range [0, 0x3BFFC400].
- Returns:
ESP_OK: Operation successful
ESP_ERR_NO_MEM: Memory allocation failed
ESP_ERR_INVALID_ARG: Invalid argument
Others: Operation failed
-
uint32_t esp_zb_mac_get_transaction_persistence_time(void)
Get the maximum MAC transaction persistence time.
- Returns:
The maximum persistence time in microseconds. If the value is UINT32_MAX, the operation failed.