mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(openthread): use the actual receive sensitivity for link quality evaluation
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "esp_ieee802154_util.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_coex_i154.h"
|
||||
#include "hal/ieee802154_ll.h"
|
||||
#include "hal/ieee802154_common_ll.h"
|
||||
|
||||
esp_err_t esp_ieee802154_event_callback_list_register(esp_ieee802154_event_cb_list_t cb_list)
|
||||
@@ -49,6 +48,11 @@ esp_err_t esp_ieee802154_disable(void)
|
||||
return ieee802154_mac_deinit();
|
||||
}
|
||||
|
||||
int8_t esp_ieee802154_get_receive_sensitivity(void)
|
||||
{
|
||||
return IEEE802154_RX_SENSITIVITY;
|
||||
}
|
||||
|
||||
uint8_t esp_ieee802154_get_channel(void)
|
||||
{
|
||||
return ieee802154_pib_get_channel();
|
||||
|
||||
Reference in New Issue
Block a user