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

cross mob
Anonymous
Not applicable

In stack_management_callback function,

When does the event occured,

if p_event_data->power_mgmt_notification->status is 'HCI_MODE_SNIFF',

Does this notification mean that the device is set to sniff mode?

Or does it mean to set the device to sniff mode?

After receiving the event and executing wiced_bt_dev_set_sniff_mode(),

the return value is '8105'(Wrong mode).

I want to reduce power loss by setting sniff mode. How to set sniff mode?

0 Likes
1 Solution
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Yes, that event indicates you've already entered sniff mode. In addition to this callback, you can use the following API anytime to check the link mode (in wiced_bt_dev.h):

pastedImage_0.png

Jacob

View solution in original post

1 Reply
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Yes, that event indicates you've already entered sniff mode. In addition to this callback, you can use the following API anytime to check the link mode (in wiced_bt_dev.h):

pastedImage_0.png

Jacob