BLE TX power/RSSI 모니터 로직 분리

This commit is contained in:
2026-07-20 12:27:12 +09:00
parent 3f2c2e774b
commit 4a3e71774f
3 changed files with 462 additions and 331 deletions
+22
View File
@@ -0,0 +1,22 @@
/*******************************************************************************
* @file ble_tx_power.h
* @brief BLE TX power and RSSI monitor helper
******************************************************************************/
#ifndef BLE_TX_POWER_H__
#define BLE_TX_POWER_H__
#include <stdint.h>
struct bt_conn;
void ble_tx_power_init(void);
void ble_tx_power_on_connected(struct bt_conn *conn);
void ble_tx_power_on_disconnected(void);
void ble_tx_power_apply_advertising(void);
uint32_t ble_tx_power_tx_stuck_ms(void);
void ble_tx_power_on_tx_busy_retry(uint8_t retry_count);
void ble_tx_power_on_tx_complete_timeout(void);
void ble_tx_power_on_tx_complete(int64_t elapsed_ms);
#endif /* BLE_TX_POWER_H__ */