- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using Murata 1LD and thinking what is the best way to lower power consumption during ble advertising ( also how to do that ).
I am using wiced 6.4 with murata 1LD 6.4 platform files.
My project is base serial gatt with additional 2 tasks that I created that do some stuff and go to sleep
while(1)
{
expected_data_size = COMMANDS_BUFFER_SIZE;
/* get incoming data size - if as expected - recieve data */
wifi_bufferSize = wiced_uart_get_recieve_buffer_size(WIFI_UART);
if(wifi_bufferSize >= expected_data_size )
{
.. code
}
wiced_rtos_delay_milliseconds(100);
}// end while
How can I put device to sleep and still advertise and when ble connected to exit sleep mode ?
Any Ideas?
Thanks!
David
Solved! Go to Solution.
- Tags:
- ble sleep
- murata 1ld
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
Please refer to API wiced_bt_dev_set_low_power_mode.
You may refer to the snip/bluetooth/ble_hello_sensor/ble_hello_sensor.c for usage. This API is sufficient to let the device enter low power mode.
Please check if this will help your requirement.
Thanks,
Anjana