- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When appear “Power mgmt status event: bd (14 5f 94 1c 5c 14 ) status:2 hci_status:0”,it often "SPP pool count:3 free:3 flow_off:1", so the data cannot send in time.
When appear "Power mgmt status event: bd (14 5f 94 1c 5c 14 ) status:0 hci_status:0" ,then "SPP pool count:3 free:3 flow_off:0",so data can send in time.
How can I do to keep "Power mgmt status event: bd (14 5f 94 1c 5c 14 ) status:0", Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hsqyo_3082361,
Status : 2 indicates that the device is entering to sniff mode,giving status WICED_POWER_STATE_SNIFF with status code 2.
Can you try putting following code and see if it works:
if (p_power_mgmt_notification->status == WICED_POWER_STATE_SNIFF)
{
result = wiced_bt_dev_cancel_sniff_mode( p_power_mgmt_notification->bd_addr );
WICED_BT_TRACE("sniff mode cancel = %d", result);
}
The API returns WICED_BT_PENDING after successful cancellation of sniff mode.