BLE connection disconnect(reason)에 따른 Advertising Timeout
- 비정상 연결 해제 시 무제한 광고 - 그 외 10분 광고 후 전원 OFF
This commit is contained in:
+6
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user