Hello NeDh_4602711 ,
In HID-Off mode, No BT activities are allowed.
HID-OFF: This mode is the same as the Timed-Wake mode except that the RTC cannot wake up the device. Everything is OFF in this mode and the SRAM is not retained. The only wakeup source is an LHL GPIO interrupt. The device starts executing from reset after wakeup; therefore, the wakeup time is the same as that of power-on reset.
Pls correct my understanding:
I understood that it is not possible to use any functions Bluetooth during the deep sleep(HID-OFF) And anyhow it is going to restart when HID-OFF wakeup event occurs.. My concern is how can I retain the value of variables stored before restart? can I store in EEPROM? Does EEPROM is supported for this controller?if yes could you please send example code for EEPROM?
Thanks and regards,