/** * @file bluetooth_manager.h * @brief JDY-28M 上电初始化、短地址查询和 LED 状态管理接口。 */ #ifndef BLUETOOTH_MANAGER_H #define BLUETOOTH_MANAGER_H #include /** 初始化蓝牙管理状态机。 */ void BluetoothManager_Init(void); /** 执行一次非阻塞蓝牙初始化和 LED 状态任务。 */ void BluetoothManager_Task(void); /** 返回蓝牙初始化是否成功。 */ uint8_t BluetoothManager_IsReady(void); /** 返回最近一次查询到的短地址。 */ uint16_t BluetoothManager_GetShortAddress(void); #endif