mt2503 [BT dialer v2.1]提示Currently not available
来源:互联网 发布:淘宝上的牛肉干 编辑:程序博客网 时间:2024/04/29 09:08
[DESCRIPTION]
MT2503BT Dialer执行disconnect操作一直提示Currently not available,除非手机关机。
[SOLUTION]
1. btconnscr.c文件中:
static constMMI_bt_dialer_conn_callback_item
*mmi_bt_dialer_next_callback_item(srv_bt_cm_connection_type conn_type)
{
。。。。。。。
if (g_mmi_btdialer_callback_tbl.type == conn_type)
{
//g_bt_dialer_connecting &=~(1<<i);// remove this code.
g_bt_dialer_connecting &=~(1<<g_mmi_btdialer_callback_tbl.indx);// add this code
MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CONNECTING_STATUS,g_bt_dialer_connecting);
MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CBTBL, i, conn_type);
break;
}
。。。。。。。
}
2. 请将所有的 MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CONNECTING_STATUS);
替换成: MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CONNECTING_STATUS,g_bt_dialer_connecting);
3. plutommi\service\avrcpsrv.c:
srv_avrcp_connect_ind_hdlr() function大概945行:
g_mmi_avrcp_cntx[avrcp_chnl].cmgr_id = srv_bt_cm_start_conn(MMI_TRUE,
profile_id, (srv_bt_cm_bt_addr*)&msg_p->device_addr, NULL);
前添加:
if (g_mmi_avrcp_cntx[avrcp_chnl].cmgr_id > 0)
{
MT2503BT Dialer执行disconnect操作一直提示Currently not available,除非手机关机。
[SOLUTION]
1. btconnscr.c文件中:
static constMMI_bt_dialer_conn_callback_item
*mmi_bt_dialer_next_callback_item(srv_bt_cm_connection_type conn_type)
{
。。。。。。。
if (g_mmi_btdialer_callback_tbl.type == conn_type)
{
//g_bt_dialer_connecting &=~(1<<i);// remove this code.
g_bt_dialer_connecting &=~(1<<g_mmi_btdialer_callback_tbl.indx);// add this code
MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CONNECTING_STATUS,g_bt_dialer_connecting);
MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CBTBL, i, conn_type);
break;
}
。。。。。。。
}
2. 请将所有的 MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CONNECTING_STATUS);
替换成: MMI_TRACE(MMI_CONN_TRC_G7_BT, MMI_BT_CONN_CONNECTING_STATUS,g_bt_dialer_connecting);
3. plutommi\service\avrcpsrv.c:
srv_avrcp_connect_ind_hdlr() function大概945行:
g_mmi_avrcp_cntx[avrcp_chnl].cmgr_id = srv_bt_cm_start_conn(MMI_TRUE,
profile_id, (srv_bt_cm_bt_addr*)&msg_p->device_addr, NULL);
前添加:
if (g_mmi_avrcp_cntx[avrcp_chnl].cmgr_id > 0)
{
srv_bt_cm_stop_conn(g_mmi_avrcp_cntx[avrcp_chnl].cmgr_id);
资料来源:一诺我论坛 MT2503 http://bbs.16rd.com/thread-454864-1-2.html
阅读全文
0 0
- mt2503 [BT dialer v2.1]提示Currently not available
- mt2503 [BT dialer v2.1]同步电话本部分联系人丢失
- mt2503 [BT dialer v2.1]只能接听,不能挂断来电
- Linux切换用户提示This account is currently not available
- MyEclipse is not currently available
- the chosen operation is not currently available
- This account is currently not available
- This account is currently not available
- The chosen operation is not currently available
- This account is currently not available
- HTTP Status 503 - This application is not currently available
- 关于:HTTP Status 503 - This application is not currently available
- Starting nagios:This account is currently not available.
- This account is currently not available 问题修复
- Starting nagios:This account is currently not available.
- The Managed Metadata Service or Connection is currently not available
- PIL image 提示 decoder jpeg not available
- 文件粉碎大师 v2.1 bt
- QT 实现点击窗口以外任何位置即关闭窗口
- 大话数据结构笔记-数据结构基础
- cmd获取文件目录列表并图示层级关系
- PHP加载CURL失败,解决方法。
- springcloud Feign 与 Swagger2 自动注入失败()
- mt2503 [BT dialer v2.1]提示Currently not available
- hdu 2066 一个人的旅行
- svn 基础篇--命令行切换主机地址
- 蓝桥杯第七届_快速排序
- jQuery使用dialog
- Python进阶之“属性(property)”详解
- SeImpersonatePrivilege
- 【云星数据---Apache Flink实战系列(精品版)】:Apache Flink高级特性与高级应用023-Flink中OutFormat设置(Scala版)003
- 大话数据结构笔记-算法