Murata 1LD power consumption/Sleep

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaRa_4056336
Level 3
Level 3
First like received First like given

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

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

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

View solution in original post

4 Replies