mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'support/ieee802154_get_rssi_comp_from_phy_v5.2' into 'release/v5.2'
feat(802.15.4): support ieee802154 get rssi comp from phylib (v5.2) See merge request espressif/esp-idf!37053
This commit is contained in:
Submodule components/esp_phy/lib updated: 1e3487dc77...3890807583
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@@ -9,8 +9,18 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "hal/ieee802154_common_ll.h"
|
#include "hal/ieee802154_common_ll.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern uint32_t bt_bb_get_rssi_comp(void);
|
||||||
|
|
||||||
#define IEEE802154_TXPOWER_VALUE_MAX 20
|
#define IEEE802154_TXPOWER_VALUE_MAX 20
|
||||||
#define IEEE802154_TXPOWER_VALUE_MIN -24
|
#define IEEE802154_TXPOWER_VALUE_MIN -24
|
||||||
#define IEEE802154_TXPOWER_INDEX_MIN 0
|
#define IEEE802154_TXPOWER_INDEX_MIN 0
|
||||||
|
|
||||||
#define IEEE802154_RSSI_COMPENSATION_VALUE 10
|
#define IEEE802154_RSSI_COMPENSATION_VALUE bt_bb_get_rssi_comp()
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user