- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @AnjanaM_61 ,
I am using CYBT-413034 module and IDE Wiced Studio 6.4. i have implemented Low_power_sensor code, but the problem i am facing is my device doesn't enter sleep mode? as current consumption remains the same.
Below are my configuration setting
make target
demo.low_power_sensor-CYBT_413034_EVAL SLEEP_MODE=SLEEP_MODE_TRANSPORT SLEEP_TYPE=SLEEP_TYPE_SHUTDOWN download
hello_sensor_sleep_config.sleep_mode = WICED_SLEEP_MODE_TRANSPORT;
hello_sensor_sleep_config.device_wake_gpio_num = WICED_P17;
hello_sensor_sleep_config.device_wake_mode = WICED_SLEEP_WAKE_ACTIVE_HIGH;
hello_sensor_sleep_config.device_wake_source = WICED_SLEEP_WAKE_SOURCE_GPIO;
hello_sensor_sleep_config.host_wake_mode = WICED_SLEEP_WAKE_ACTIVE_HIGH;
hello_sensor_sleep_config.sleep_permit_handler = hello_sensor_sleep_handler;
after 10 second it goes into hello_sensor_sleep_handler() function, even going into
case : WICED_SLEEP_POLL_SLEEP_PERMISSION:
if( hello_sensor_state.application_state == HELLO_SENSOR_IDLE )
{
#ifdef ENABLE_SHUTDOWN_SLEEP
ret = WICED_SLEEP_ALLOWED_WITH_SHUTDOWN;
WICED_BT_TRACE("$");
#else
ret = WICED_SLEEP_ALLOWED_WITHOUT_SHUTDOWN;
As i can see "$" sign continuously printing (every 1 sec) on Terminal.
What could be the error?
Thank You!
- Labels:
-
32-bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
If possible, can you please share your complete application ?
Regards,
Anjana