Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Can someone explain what are these settings for in BLE_PROFILE_CFG?
/*.powersave_timeout =*/ 0, // second 0-> no timeout
/*.button_power_timeout =*/ 0, // seconds
/*.button_client_timeout =*/ 0, // seconds
/*.button_discover_timeout =*/ 0, // seconds
/*.button_filter_timeout =*/ 0, // seconds
I found the some description in the void bleprofile_ReadButton(void) in bleprofile.h:
This function can handle powersave, discover, client, filter timeout related functions that are defined in button_power_timeout, button_client_timeout, button_discover_timeout, button_filter_timeout of BLE_PROFILE_CFG config item. When button is pressed for timeout (sec) of powersave, discover, client, filter function, such function (powersaving, undirected ADV for pairing, client function (find me, time, etc), toggle HCI mode) will be initiated.
From the description, it seems to me the setting triggers the event (powersave, descover, client, filter) when button is pressed for X seconds defined in the setting?
What is an example that would apply these setting? Also, if I set all to the same timeout value, what would happen then?