- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
我在项目使用BT_SDK2.5调试HFP功能,在使用wiced_result_t wiced_bt_hfp_hf_perform_call_action(uint16_t handle,
wiced_bt_hfp_hf_call_action_t action, char* number)接口时出现蓝牙模块重启现象。
调用:wiced_bt_hfp_hf_perform_call_action(
rfcomm_handle,
WICED_BT_HFP_HF_CALL_ACTION_HOLD_1,
NULL);
其中参数 WICED_BT_HFP_HF_CALL_ACTION_HOLD_1 是SDK定义的枚举值 4。
目的:释放当前通话,接听等待中的来电。
现象:在测试中重复使用这个接口20多次后,蓝牙模块HFP功能进入宕机状态(即各个监听接口无法接收到任何数据,调用任何HFP协议相关接口函数无效;但蓝牙模块串口等其他功能还在运行),再连续调用接口,蓝牙会模块重启。
复现率:100%!
紧急等级:十万火急!
请问这个问题该如何处理,现在项目进度就卡在这里,请大佬赐教!
Solved! Go to Solution.
- Labels:
-
ModusToolbox Bluetooth SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
我这边测试了Audio_Handsfree demo,按照你的方法测试了40多次,没有出现问题。
你那边可以测试一下,然后对照demo看下你的代码。这个测试要用clientcontrol来发送指令。我这边用的是BTSDK3.2,你也可以到原来下载offline包的地方去下载。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
请问你是基于那个demo测试的?是否可以发一个可以复现问题的代码看一下?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
请发一下邮箱地址。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
请问怎么给代码,点你的回复对话框右下角那个邮件图标发送给你吗?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
如果代码可以公开的话,可以直接在这里回复就可以。如果不方便公开,可以点我的头像,然后右上角通过message的方式发过来。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
我这边测试了Audio_Handsfree demo,按照你的方法测试了40多次,没有出现问题。
你那边可以测试一下,然后对照demo看下你的代码。这个测试要用clientcontrol来发送指令。我这边用的是BTSDK3.2,你也可以到原来下载offline包的地方去下载。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
你这边有下载offline包的连接吗?之前的包是其他同时整的。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
问题已解决,不是SDK的原因,感谢回复!