BLE connection disconnect(reason)에 따른 Advertising Timeout

- 비정상 연결 해제 시 무제한 광고
- 그 외 10분 광고 후 전원 OFF
This commit is contained in:
2026-06-26 11:00:18 +09:00
parent 147e975cbc
commit 571df7df05
3 changed files with 27 additions and 3 deletions
+6 -1
View File
@@ -426,7 +426,12 @@ void sleep_mode_enter(void)
void device_power_off(void)
{
power_off_schedule("device_power_off", LED_STATE_POWER_OFF);
device_power_off_reason("device_power_off");
}
void device_power_off_reason(const char *reason)
{
power_off_schedule(reason, LED_STATE_POWER_OFF);
}
void device_power_keep_on(void)