I am Liam Lee working for Uniquest as FAE and "Seyu_4086601" is one of our customers. About his questions, let me ask again since I am also confused.
In the attached document below,
Q1) Table 2-1 shows 20706 supports PDS(not SDS). If so, the power save mode explained in wiced_power_save.h is PDS mode?
In attached document, PDS mode explains like as, but application is restarted when wake-up.
Q2) PMU Sleep is same "idle" state? And, it can NOT be controlled by user application. Right?
Q3) Is the only power save mode that can be controlled by user application using the wiced_power_save_start()?
Low_Power_Mode.pdf 689.8 K
1. You need to pass the correct value in the sleep callback i.e. pass WICED_SLEEP_ALLOWED_WITHOUT_SHUTDOWN whenever the sleep handler callback is called with parameter WICED_SLEEP_POLL_SLEEP_PERMISSION
2. PMU sleep and idle is same and cannot be controlled by the user application
3. wiced_power_save_start() puts the device in the HID-Off mode 'asynchronously' i.e. user can put the device into HID-Off anytime by calling this API whereas the for PDS the user can only say PDS allowed or not but the final decision depends on the PMU