- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have implemented deep sleep HID-OFF in my Firmware. I want to ask when it is in deep sleep mode(HID-OFF) advertisement also goes in sleep mode is it possible to advertise it with low duty?
just wanted to confirm one thing. I believe in deepsleep (HID-OFF) mode we cannot prevent it from restarting the controller on wakeup? Is it correct?
Thanks in advance.
Regards,
Neeraj Dhekale
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NeDh_4602711 ,
You can write the data to be saved in NVRAM VSID section using API wiced_hal_write_nvram (Refer wiced_hal_nvram.h for details & hello_sensor demo for API usages)
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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,
@NeerajDhekale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NeDh_4602711 ,
You can write the data to be saved in NVRAM VSID section using API wiced_hal_write_nvram (Refer wiced_hal_nvram.h for details & hello_sensor demo for API usages)
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content