问题描述
我有一个三星I5700角宿一,我已经更新到Android 2.1。我现在用的手机的应用程序名为Run.GPS( http://www.rungps.net )。此应用程序的日志数据,如GPS定位,路线,速度,轴承等,还可以记录心率提供的用户有一个西风HXM蓝牙心脏监测仪(HXM),我确实有。
我可以通过标准的蓝牙实用配对HXM到手机上。我提示输入密码,这是我进入的设备显示为配对,但没有连接。
在Run.GPS应用程序本身,我点击连接心率监视器。此超时约30秒,错误消息后,无法连接到心率监测器。请尝试其他设置。
我用朋友的HTC的Windows Mobile作为控制装置,看看是否HXM在那里工作。它的作用。该Run.GPS应用程序自动设置波特率(最初为9600 IIRC,虽然连接还与更高的波特率),它是可能的各种COM端口,以及一个净COM端口之间进行选择。
我做了我的角宿一的Android一些测试,试图找出为什么蓝牙连接不起作用。下面是我通过连接亚,当我点击了一些日志文件中的Run.GPS应用程序的连接心率监视器。
我会感兴趣的任何提示(包括如果我张贴到了错误的论坛,在这里;-)) - 是否有可能尝试波特率在Android的等等。我还是不知道的问题出在Run.GPS应用程序(我已经张贴在发展论坛上有),或者与Android 2.1。我检查了另一个应用程序 - Endomondo - 这也是它支持心率监测器只与HXM一项运动跟踪应用程序。在那里,看起来像是发生了完全同样的错误 - 我点击连接和风HXM。几秒钟我所示的连接...状态,但随后超时为未连接。我由此趋向看机器人的问题。
下面是亚行logcat的输出,同时试图连接
./亚行logcat | grep的Run.GPS
D / WYNEX> (11551):EXCUTE :: Run.GPS教练紫外线,(空)
E / Run.GPS(11997):无法连接到BT设备
E / Run.GPS(11997):java.io.IOException异常:服务发现失败
E / Run.GPS(11997):在android.bluetooth.BluetoothSocket $ SdpHelper.doSdp(BluetoothSocket.java:374)
E / Run.GPS(11997):在android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:184)
E / Run.GPS(11997):在ju.a(来源不明)
E / Run.GPS(11997):在qk.j(来源不明)
E / Run.GPS(11997):在fs.c(来源不明)
E / Run.GPS(11997):在le.a(来源不明)
E / Run.GPS(11997):在S.B(来源不明)
E / Run.GPS(11997):在pb.a(来源不明)
E / Run.GPS(11997):在as.a(来源不明)
E / Run.GPS(11997):在am.b(来源不明)
E / Run.GPS(11997):在gf.onTouchEvent(来源不明)
E / Run.GPS(11997):在android.view.View.dispatchTouchEvent(View.java:3709)
E / Run.GPS(11997):在android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E / Run.GPS(11997):在android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E / Run.GPS(11997):在com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1665)
E / Run.GPS(11997):在com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
E / Run.GPS(11997):在android.app.Activity.dispatchTouchEvent(Activity.java:2061)
E / Run.GPS(11997):在com.android.internal.policy.impl.PhoneWindow $ DecorView.dispatchTouchEvent(PhoneWindow.java:1649)
E / Run.GPS(11997):在android.view.ViewRoot.handleMessage(ViewRoot.java:1694)
E / Run.GPS(11997):在android.os.Handler.dispatchMessage(Handler.java:99)
E / Run.GPS(11997):在android.os.Looper.loop(Looper.java:123)
E / Run.GPS(11997):在android.app.ActivityThread.main(ActivityThread.java:4363)
E / Run.GPS(11997):在java.lang.reflect.Method.invokeNative(本机方法)
E / Run.GPS(11997):在java.lang.reflect.Method.invoke(Method.java:521)
E / Run.GPS(11997):在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:860)
E / Run.GPS(11997):在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E / Run.GPS(11997):在dalvik.system.NativeStart.main(本机方法)
E / Run.GPS(11997):无法连接到BT设备
E / Run.GPS(11997):java.io.IOException异常:服务发现失败
下面是dmesg的输出,同时试图连接的心率监视器
4;> 74726.239833]选择11691(.serviceModeApp),形容词15,大小3205,杀
4;> 74726.240741]选择11739(com.wssnps),形容词15,大小3207,杀
4;> 74726.246870]选择11750(id.partnersetup),形容词15,大小3219,杀
4;> 74726.253390]选择11857(p.bluetoothicon),形容词15,大小3299,杀
4;> 74726.259879]选择13131(ndroid.settings),形容词15,大小4586,杀
4;> 74726.266372]发送SIGKILL到13131(ndroid.settings),形容词15,大小4586
&其中7个; [74733.945097] [BT] GPIO_BT_WAKE = 1
&其中7个; [74733.945121] [BT] WAKE_LOCK(bt_wake_lock)
&其中7个; [74733.951799] [BT] GPIO_BT_HOST_WAKE = 1
&其中7个; [74733.951822] [BT] WAKE_LOCK超时= 5秒
&其中7个; [74735.890196] [BT] GPIO_BT_HOST_WAKE = 0
&其中7个; [74736.150987] [BT] GPIO_BT_HOST_WAKE = 1
&其中7个; [74736.151009] [BT] WAKE_LOCK超时= 5秒
&其中7个; [74737.490185] [BT] GPIO_BT_HOST_WAKE = 0
&其中7个; [74740.073913] [BT] GPIO_BT_HOST_WAKE = 1
&其中7个; [74740.073948] [BT] WAKE_LOCK超时= 5秒
&其中7个; [74741.315336] [BT] GPIO_BT_HOST_WAKE = 0
&其中7个; [74743.249747] [BT] GPIO_BT_HOST_WAKE = 1
&其中7个; [74743.249768] [BT] WAKE_LOCK超时= 5秒
&其中7个; [74744.865099] [BT] GPIO_BT_HOST_WAKE = 0
&其中7个; [74745.154487] [BT] GPIO_BT_HOST_WAKE = 1
&其中7个; [74745.154509] [BT] WAKE_LOCK超时= 5秒
&其中7个; [74748.852534] [BT] GPIO_BT_HOST_WAKE = 0
&其中7个; [74749.156256] [BT] GPIO_BT_HOST_WAKE = 1
&其中7个; [74749.156278] [BT] WAKE_LOCK超时= 5秒
&其中7个; [74750.490018] [BT] GPIO_BT_HOST_WAKE = 0
4;> 74754.230424]选择11691(.serviceModeApp),形容词15,大小3191,杀
4;> 74754.231326]选择11739(com.wssnps),形容词15,大小3193,杀
4;> 74754.237473]选择11750(id.partnersetup),形容词15,大小3205,杀
4;> 74754.243950]选择11857(p.bluetoothicon),形容词15,大小3283,杀
4;> 74754.250452]选择13140(com.svox.pico),形容词15,大小3465,杀
4;> 74754.256787]发送SIGKILL到13140(com.svox.pico),形容词15,大小3465
下面是logcat的输出,当我点击Endomondo连接西风
I / PUSH事件(19147):MotionEvent:QueuedEvent {43d7d480 MotionEvent {440b5680行动= 1×= 228.28438 Y = 212.55624 pressure = 0.0大小= 0.0}}
D / BluetoothZephyrService(23605):连接到:00:07:80:88:F5:AD
D /的BluetoothSocket(23605)的BluetoothSocket创建FD:-1uuid00001101-0000-1000-8000-00805f9b34fbport -1
D / BluetoothSocket.cpp(23605):initSocketNative
I / BLZ20_WRAPPER(23605):blz20_wrp_socket:FAM 31,键入1,PROT BTPROTO_RFCOMM
D / BLZ20_WRAPPER(23605):blz20_init:初始化...
D / BTL_IFC_WRP(23605):wsactive_init:初始化活动列表
I / BTL_IFC(23605):main_client_thread:客户机主线程开始
D / BLZ20_WRAPPER(23605):blz20_init:成功
I / BTL_IFC(23605):BTL_IFC_RegisterSubSystem:注册子系统[(空)
I / BTL_IFC(23605):btl_ifc_ctrl_connect:连接控制通道子系统[(空)
D / BTL_IFC_WRP(23605):wrp_sock_create:CTRL
D / BTL_IFC_WRP(23605):wrp_alloc_new_sock:wrp_alloc_new_sock分1
D / BTL_IFC_WRP(23605):wrp_sock_create:28
D / BTL_IFC_WRP(23605):wrp_sock_connect:wrp_sock_connect 127.0.0.1:9000(28)
I / BTL-IFS(21889):main_server_thread:[CTRL]客户端连接(14)
I / BTL_IFC_WRP(23605):wrp_sock_connect:连接。 (28)
I / BTL_IFC(23605):send_ctrl_msg:[BTL_IFC CTRL]发送BTLIF_REGISTER_SUBSYS_REQ((空))0 pbytes(HDL 28)
I / BTL-IFS(21889):attach_client:多客户索引1
I / BTL-IFS(21889):attach_client:########连接客户端子系统(14)########
I / BTL-IFS(21889):btl_if_notify_local_event:通知本地事件BTLIF_SUBSYSTEM_ATTACHED
D /(21889):btlif_bts_api_ctrl_cb:btlif_bts_api_ctrl_cb:ID BTLIF_SUBSYSTEM_ATTACHED(4112)对HDL 14
I /(21889):btlif_rfc_ctrl_chan_attached:客户端连接CTRL手柄14
D / BTL-IFS(21889):send_registration_rsp:send_registration_rsp [0]
I / BTL-IFS(21889):send_ctrl_msg:[BTL_IFS CTRL]发送BTLIF_REGISTER_SUBSYS_RSP(CTRL)2 pbytes(HDL 14)
D / BTL_IFC(23605):BTL_IFC_RegisterSubSystem:添加新CTRL FD到有效集
D / BTL_IFC_WRP(23605):wrp_wsock_create:(空)
D / BTL_IFC_WRP(23605):wrp_alloc_new_sock:wrp_alloc_new_sock分15
D / BTL_IFC_WRP(23605):wrp_wsock_create:32
D / BLZ20_WRAPPER(23605):btsk_alloc_add:成功
I / BLZ20_WRAPPER(23605):blz20_wrp_socket:返回32
D / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:FD(-1:32),BTA -1,RC 0,wflags为0x0
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:配置RFCOMM流明模式0X26,(主:0,权威性1,ENC 1)
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:成功
D / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:FD(-1:32),BTA -1,RC 0,wflags为0x0
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:配置RFCOMM sndbuf LEN 71680字节
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:成功
D / BluetoothSocket.cpp(23605):...的fd 32创建(RFCOMM,LM = 26)
D / BluetoothSocket.cpp(23605):initSocketFromFdNative
D / BluetoothZephyrService(23605)的setState()0 - > 2
I / BluetoothZephyrService(23605):BEGIN mConnectThread
E / BluetoothService.cpp(19147):stopDiscoveryNative:在StopDiscovery的D-Bus错误:org.bluez.Error.Failed(无效发现会话)
D /的BluetoothSocket(23605):连接
D /的BluetoothSocket(23605):doSdp
I / BluetoothService.cpp(19147):...对象路径= /组织/的bluez / 21902 / hci0 / dev_00_07_80_88_F5_AD
I / BluetoothService.cpp(19147):...模式= 00001101-0000-1000-8000-00805f9b34fb,strlen的= 36
I / BluetoothZephyr(23605):MESSAGE_STATE_CHANGE:2
D / DEVICE(21902):************* DiscoverServices ********
I / DTUN_HCID(21902):dtun_client_get_remote_svc_channel:开始发现上(uuid16 = 0×0011)
I / DTUN_HCID(21902):BDADDR = 00:07:80:88:F5:AD
I / DTUN_CLNT(21902):客户端调用DTUN_METHOD_DM_GET_REMOTE_SERVICE_CHANNEL(ID 4)
I /(21889):DTUN_ReceiveCtrlMsg:[DTUN]收到的报文[BTLIF_DTUN_METHOD_CALL] 4354
I /(21889):handle_method_call:handle_method_call ::收到DTUN_METHOD_DM_GET_REMOTE_SERVICE_CHANNEL(ID 4),LEN 134
E / BTLD(21889):********搜索UUID = 1101 ***********
我//系统/斌/ BTLD(21888):btapp_dm_GetRemoteServiceChannel()
W / BTLD(21889):SDP - RCVD康涅狄格州CNF错误:为0x4 CID的0x42
I / BTL-IFS(21889):send_ctrl_msg:[BTL_IFS CTRL]发送BTLIF_DTUN_SIGNAL_EVT(CTRL)13 pbytes(HDL 10)
I / DTUN_CLNT(21902):dtun-RX信号[DTUN_SIG_DM_RMT_SERVICE_CHANNEL](编号42)len个15
I / DTUN_HCID(21902):dtun_dm_sig_rmt_service_channel:成功= 1,服务= 00000000
E / DTUN_HCID(21902):发现不成功!
V / BluetoothEventRedirector(21741):收到android.bleutooth.device.action.UUID
E / CachedBluetoothDevice(21741):onUuidChanged:时间从去年connect9266997
D / BluetoothService(19147):清理失败UUID渠道查找:00:07:80:88:F5:AD 00001101-0000-1000-8000-00805f9b34fb
D /的BluetoothSocket(23605):onRfcommChannelFound -1
D / BluetoothZephyrService(23605)的setState()2 - > 1
D /的BluetoothSocket(23605):关闭
D /的BluetoothSocket(23605):取消
D / BluetoothSocket.cpp(23605):abortNative
D / BluetoothSocket.cpp(23605):... asocket_abort(32)完成
D / BluetoothSocket.cpp(23605):destroyNative
D / BluetoothSocket.cpp(23605):... asocket_destroy(32)完成
D / BluetoothZephyrService(23605):启动
D /的BluetoothSocket(23605):关闭
D /的BluetoothSocket(23605)的BluetoothSocket创建FD:-1uuidnullport 1
D / BluetoothSocket.cpp(23605):initSocketNative
I / BLZ20_WRAPPER(23605):blz20_wrp_socket:FAM 31,键入1,PROT BTPROTO_RFCOMM
D / BTL_IFC_WRP(23605):wrp_wsock_create:(空)
D / BTL_IFC_WRP(23605):wrp_alloc_new_sock:wrp_alloc_new_sock分15
D / BTL_IFC_WRP(23605):wrp_wsock_create:32
D / BLZ20_WRAPPER(23605):btsk_alloc_add:成功
D / BLZ20_WRAPPER(23605):btsk_dump_list:FD(-1:32),BTA -1,RC 0,wflags为0x0
I / BLZ20_WRAPPER(23605):blz20_wrp_socket:返回32
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:警告:发现重复的关键4项,VAL 32 #####
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:### ASSERT:框架/基/核心/ JNI /../../../../供应商/ BRCM /调整/ BTL,如果发现/client/blz20_wrapper.c线534重复(2)########
D / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:FD(-1:32),BTA -1,RC 0,wflags为0x0
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:配置RFCOMM流明模式0X26,(主:0,权威性1,ENC 1)
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:成功
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:警告:发现重复的关键4项,VAL 32 #####
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:### ASSERT:框架/基/核心/ JNI /../../../../供应商/ BRCM /调整/ BTL,如果发现/client/blz20_wrapper.c线534重复(2)########
D / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:FD(-1:32),BTA -1,RC 0,wflags为0x0
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:配置RFCOMM sndbuf LEN 71680字节
I / BLZ20_WRAPPER(23605):blz20_wrp_setsockopt:成功
D / BluetoothSocket.cpp(23605):...的fd 32创建(RFCOMM,LM = 26)
D / BluetoothSocket.cpp(23605):initSocketFromFdNative
D /的BluetoothSocket(23605):bindListen
D / BluetoothSocket.cpp(23605):bindListenNative
I / BLZ20_WRAPPER(23605):blz20_wrp_bind:第32
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:警告:发现重复的关键4项,VAL 32 #####
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:### ASSERT:框架/基/核心/ JNI /../../../../供应商/ BRCM /调整/ BTL,如果发现/client/blz20_wrapper.c线534重复(2)########
D / BLZ20_WRAPPER(23605):blz20_wrp_bind:绑定套接字fd(-1:32),BTA -1,RC 0,wflags为0x0
D / BLZ20_WRAPPER(23605):__bind_prot_rfcomm:rc_chan 1
D / BTL_IFC_WRP(23605):wrp_sock_bind:wrp_sock_bind端口9050
I / BLZ20_WRAPPER(23605):blz20_wrp_listen:第32条,积压1
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:警告:发现重复的关键4项,VAL 32 #####
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 1,wflags为0x0
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:### ASSERT:框架/基/核心/ JNI /../../../../供应商/ BRCM /调整/ BTL,如果发现/client/blz20_wrapper.c线534重复(2)########
D / BLZ20_WRAPPER(23605):blz20_wrp_listen:FD(-1:32),BTA -1,RC 1,wflags为0x0
D / BLZ20_WRAPPER(23605):btlif_send_msg_wait_response:发送BTLIF_BTS_RFC_LISTEN_REQ,等待| BTLIF_BTS_RFC_LISTEN_RSP |
D / BTL_IFC(23605):BTL_IFC_CtrlSend:BTL_IFC_CtrlSend
I / BTL_IFC(23605):send_ctrl_msg:[BTL_IFC CTRL]发送BTLIF_BTS_RFC_LISTEN_REQ((空))20 pbytes(HDL 28)
D /(21889):btlif_bts_api_ctrl_cb:btlif_bts_api_ctrl_cb:ID BTLIF_BTS_RFC_LISTEN_REQ(4433)对HDL 14
I /(21889):btlif_rfc_listen_req:动态分配服务器通道4
D /(21889):bts_chan_alloc_add:bts_chan_alloc_add:成功(TOT 1)
D /(21889):bts_chan_dump_all:###频道列表###
D /(21889):bts_chan_dump_all:3型,dhdl -1,bta_hdl -1,SCN -1,phdl 65535,lstpnd 0,-1:-1(L:D)
I /(21889):btlif_rfc_listen_req:启动RFCOMM服务器上的SCN 4,作用1,sec_mask的0x30
D /(21889):jw_if_rfcomm_srv_cback:事件= BTA_JV_RFCOMM_START_EVT
I /(21889):jw_if_rfcomm_srv_cback:[BTA_JV_RFCOMM_START_EVT]启动状态:0,手柄:0,安全ID:47
I /(21889):jv_rfc_srv_listen_started:jv_rfc_srv_listen_started
I / BTL-IFS(21889):send_ctrl_msg:[BTL_IFS CTRL]发送BTLIF_BTS_RFC_LISTEN_RSP()17 pbytes(HDL 14)
I / BTL_IFC(23605):btl_ifc_ctrl_rx:[BTL_IFC CTRL]的recv BTLIF_BTS_RFC_LISTEN_RSP((空))19 pbytes(HDL 28)
I / BLZ20_WRAPPER(23605):btlif_ctrl_callback:btlif_ctrl_callback:MSG ID BTLIF_BTS_RFC_LISTEN_RSP
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:警告:发现重复的关键4项,VAL 32 #####
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 1,wflags 0X2
D / BLZ20_WRAPPER(23605):btsk_check_duplicates:FD(-1:32),BTA -1,RC 0,wflags为0x0
E / BLZ20_WRAPPER(23605):#####错误:btsk_check_duplicates:### ASSERT:框架/基/核心/ JNI /../../../../供应商/ BRCM /调整/ BTL,如果发现/client/blz20_wrapper.c线534重复(2)########
I / BLZ20_WRAPPER(23605):btlif_process_listen_rsp:听响应BTA HDL 0
D / BLZ20_WRAPPER(23605):btlif_signal_event:FD(-1:32),BTA 0,RC 1,wflags 0X2
D / BLZ20_WRAPPER(23605):btlif_signal_event:事件BTLIF_BTS_RFC_LISTEN_RSP匹配
D / BLZ20_WRAPPER(23605):btlif_send_msg_wait_response:畅通的FD(-1:32),BTA 0,RC 1,wflags为0x0
I / BLZ20_WRAPPER(23605):__listen_prot_rfcomm:成功,SCN 4
D / BTL_IFC_WRP(23605):wrp_sock_listen_bl:wrp_sock_listen_bl:FD 32 127.0.0.1:9050积压1
I / BLZ20_WRAPPER(23605):__listen_prot_rfcomm:成功
D / BluetoothSocket.cpp(23605):... bindListenNative(32)成功
I / DTUN_CLNT(21902):客户端调用DTUN_METHOD_DM_ADD_SDP_REC(编号17)
I /(21889):DTUN_ReceiveCtrlMsg:[DTUN]收到的报文[BTLIF_DTUN_METHOD_CALL] 4354
I /(21889):handle_method_call:handle_method_call ::收到DTUN_METHOD_DM_ADD_SDP_REC(编号17),LEN 270
I /(21889):btapp_bts_convert_rc_chan_to_scn:发现SCN 4
I / BTL-IFS(21889):send_ctrl_msg:[BTL_IFS CTRL]发送BTLIF_DTUN_SIGNAL_EVT(CTRL)12 pbytes(HDL 10)
I / DTUN_CLNT(21902):dtun-RX信号[DTUN_SIG_DM_SDP_REC_HANDLE](编号50)len个14
I / DTUN_HCID(21902):dtun_dm_sig_sdp_rec_handle:手柄= 0x10006
D / BluetoothService(19147),新手柄0
I / BluetoothZephyr(23605):MESSAGE_STATE_CHANGE:1
I / BluetoothZephyr(23605):无法连接设备
D / BluetoothZephyrService(23605)的setState()1 - > 1
D / BluetoothZephyrService(23605):BEGIN mAcceptThreadThread [主题-9,5,主]
D /的BluetoothSocket(23605):接受
D / BluetoothSocket.cpp(23605):acceptNative
I / BluetoothZephyr(23605):MESSAGE_STATE_CHANGE:1
D / WynexActivity(19215):其中;>&其中;>&其中;> ACTION :: android.intent.action.TIME_TICK
D / LocationMasfClient(19147):getNetworkLocation():位置不在缓存中,使得网络请求
D / ProtoRequestListener(19147):requestFailed()
I /电力(19147):*** set_screen_state 0
好了,解决了这个问题。
解决方案是更新手机上的固件。我现在有:PDA:I570EXXJE1电话:i570EXXJD1中信建投:I570EOXEJE1
和蓝牙SPP制定'开箱即用'。
看 http://samsung-firmwares.com 为最新的固件以及方案闪光手机(奥丁)和细节/教程。
I have a Samsung Spica i5700 which I already have updated to Android 2.1. I am using the phone with an application called Run.GPS (http://www.rungps.net). This application logs data such as GPS position, route, speed, bearing etc. It can also log heartrate provided the user has a Zephyr HxM bluetooth heart rate monitor ("HxM"), which I do have.
I can pair the HxM to the phone through the standard bluetooth utility. I'm prompted for the PIN, which I enter and the device is shown as 'Paired but not connected'.
In the Run.GPS application itself, I click on 'Connect Heartrate Monitor'. This times out after about 30 seconds and the error message is 'Could not connect to heartrate monitor. Please try other settings'.
I used a friend's HTC Windows Mobile as a control device to see if the HxM works there. It does. The Run.GPS application automatically sets the baud rate (initially to 9600 IIRC, though the connection also worked with higher baud rates) and it is possible to choose between various COM ports as well as a .Net COM port.
I did some testing on my Spica Android, to try to find out why the bluetooth connection doesn't work. Below are some log files that I connected over adb when I clicked on 'Connect to Heartrate Monitor' in the Run.GPS application.
I would be interested in any tips (including if I'm posting to the wrong forum here ;-)) - whether or not it's possible to experiment with the baud rate in Android etc. I still don't know if the problem is with the Run.GPS application (I've posted already on the development forum there) or with Android 2.1. I checked out another application - Endomondo - which is also a sport tracking application which supports heartrate monitor only with the HxM. There, what looked like exactly the same error occurred - I clicked on 'Connect Zephyr HxM'. For a few seconds I was shown the 'Connecting...' status, but then it timed out into 'Not Connected'. I'm thus tending towards looking at Android for the problem.
Here's the output of adb logcat while trying to connect
./adb logcat | grep Run.GPS
D/WYNEX> (11551): Excute :: Run.GPS Trainer UV, (null)
E/Run.GPS (11997): Cannot connect to BT device
E/Run.GPS (11997): java.io.IOException: Service discovery failed
E/Run.GPS (11997): at android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:374)
E/Run.GPS (11997): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:184)
E/Run.GPS (11997): at ju.a(Unknown Source)
E/Run.GPS (11997): at qk.j(Unknown Source)
E/Run.GPS (11997): at fs.c(Unknown Source)
E/Run.GPS (11997): at le.a(Unknown Source)
E/Run.GPS (11997): at s.b(Unknown Source)
E/Run.GPS (11997): at pb.a(Unknown Source)
E/Run.GPS (11997): at as.a(Unknown Source)
E/Run.GPS (11997): at am.b(Unknown Source)
E/Run.GPS (11997): at gf.onTouchEvent(Unknown Source)
E/Run.GPS (11997): at android.view.View.dispatchTouchEvent(View.java:3709)
E/Run.GPS (11997): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/Run.GPS (11997): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
E/Run.GPS (11997): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1665)
E/Run.GPS (11997): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
E/Run.GPS (11997): at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
E/Run.GPS (11997): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1649)
E/Run.GPS (11997): at android.view.ViewRoot.handleMessage(ViewRoot.java:1694)
E/Run.GPS (11997): at android.os.Handler.dispatchMessage(Handler.java:99)
E/Run.GPS (11997): at android.os.Looper.loop(Looper.java:123)
E/Run.GPS (11997): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/Run.GPS (11997): at java.lang.reflect.Method.invokeNative(Native Method)
E/Run.GPS (11997): at java.lang.reflect.Method.invoke(Method.java:521)
E/Run.GPS (11997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/Run.GPS (11997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/Run.GPS (11997): at dalvik.system.NativeStart.main(Native Method)
E/Run.GPS (11997): Cannot connect to BT device
E/Run.GPS (11997): java.io.IOException: Service discovery failed
Here's the output of dmesg while trying to connect the heartrate monitor
<4>[74726.239833] select 11691 (.serviceModeApp), adj 15, size 3205, to kill
<4>[74726.240741] select 11739 (com.wssnps), adj 15, size 3207, to kill
<4>[74726.246870] select 11750 (id.partnersetup), adj 15, size 3219, to kill
<4>[74726.253390] select 11857 (p.bluetoothicon), adj 15, size 3299, to kill
<4>[74726.259879] select 13131 (ndroid.settings), adj 15, size 4586, to kill
<4>[74726.266372] send sigkill to 13131 (ndroid.settings), adj 15, size 4586
<7>[74733.945097] [BT] GPIO_BT_WAKE = 1
<7>[74733.945121] [BT] wake_lock(bt_wake_lock)
<7>[74733.951799] [BT] GPIO_BT_HOST_WAKE = 1
<7>[74733.951822] [BT] wake_lock timeout = 5 sec
<7>[74735.890196] [BT] GPIO_BT_HOST_WAKE = 0
<7>[74736.150987] [BT] GPIO_BT_HOST_WAKE = 1
<7>[74736.151009] [BT] wake_lock timeout = 5 sec
<7>[74737.490185] [BT] GPIO_BT_HOST_WAKE = 0
<7>[74740.073913] [BT] GPIO_BT_HOST_WAKE = 1
<7>[74740.073948] [BT] wake_lock timeout = 5 sec
<7>[74741.315336] [BT] GPIO_BT_HOST_WAKE = 0
<7>[74743.249747] [BT] GPIO_BT_HOST_WAKE = 1
<7>[74743.249768] [BT] wake_lock timeout = 5 sec
<7>[74744.865099] [BT] GPIO_BT_HOST_WAKE = 0
<7>[74745.154487] [BT] GPIO_BT_HOST_WAKE = 1
<7>[74745.154509] [BT] wake_lock timeout = 5 sec
<7>[74748.852534] [BT] GPIO_BT_HOST_WAKE = 0
<7>[74749.156256] [BT] GPIO_BT_HOST_WAKE = 1
<7>[74749.156278] [BT] wake_lock timeout = 5 sec
<7>[74750.490018] [BT] GPIO_BT_HOST_WAKE = 0
<4>[74754.230424] select 11691 (.serviceModeApp), adj 15, size 3191, to kill
<4>[74754.231326] select 11739 (com.wssnps), adj 15, size 3193, to kill
<4>[74754.237473] select 11750 (id.partnersetup), adj 15, size 3205, to kill
<4>[74754.243950] select 11857 (p.bluetoothicon), adj 15, size 3283, to kill
<4>[74754.250452] select 13140 (com.svox.pico), adj 15, size 3465, to kill
<4>[74754.256787] send sigkill to 13140 (com.svox.pico), adj 15, size 3465
Here's the logcat output when I click 'connect zephyr' in Endomondo
I/PUSH Event(19147): MotionEvent : QueuedEvent{43d7d480 MotionEvent{440b5680 action=1 x=228.28438 y=212.55624 pressure=0.0 size=0.0}}
D/BluetoothZephyrService(23605): connect to: 00:07:80:88:F5:AD
D/BluetoothSocket(23605): BluetoothSocket created fd: -1uuid00001101-0000-1000-8000-00805f9b34fbport -1
D/BluetoothSocket.cpp(23605): initSocketNative
I/BLZ20_WRAPPER(23605): blz20_wrp_socket: fam 31, type 1, prot BTPROTO_RFCOMM
D/BLZ20_WRAPPER(23605): blz20_init: initializing...
D/BTL_IFC_WRP(23605): wsactive_init: init active list
I/BTL_IFC (23605): main_client_thread: Client main thread starting
D/BLZ20_WRAPPER(23605): blz20_init: success
I/BTL_IFC (23605): BTL_IFC_RegisterSubSystem: Register subsystem [(null)]
I/BTL_IFC (23605): btl_ifc_ctrl_connect: Connect control channel for subsystem [(null)]
D/BTL_IFC_WRP(23605): wrp_sock_create: CTRL
D/BTL_IFC_WRP(23605): wrp_alloc_new_sock: wrp_alloc_new_sock sub 1
D/BTL_IFC_WRP(23605): wrp_sock_create: 28
D/BTL_IFC_WRP(23605): wrp_sock_connect: wrp_sock_connect 127.0.0.1:9000 (28)
I/BTL-IFS (21889): main_server_thread: [CTRL] Client connected (14)
I/BTL_IFC_WRP(23605): wrp_sock_connect: Connected. (28)
I/BTL_IFC (23605): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_REGISTER_SUBSYS_REQ ((null)) 0 pbytes (hdl 28)
I/BTL-IFS (21889): attach_client: multiclient index 1
I/BTL-IFS (21889): attach_client: ######## Attached client subsystem (14) ########
I/BTL-IFS (21889): btl_if_notify_local_event: Notify local event BTLIF_SUBSYSTEM_ATTACHED
D/ (21889): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_SUBSYSTEM_ATTACHED (4112) on hdl 14
I/ (21889): btlif_rfc_ctrl_chan_attached: client attached ctrl handle 14
D/BTL-IFS (21889): send_registration_rsp: send_registration_rsp [0]
I/BTL-IFS (21889): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_REGISTER_SUBSYS_RSP (CTRL) 2 pbytes (hdl 14)
D/BTL_IFC (23605): BTL_IFC_RegisterSubSystem: add new ctrl fd to active set
D/BTL_IFC_WRP(23605): wrp_wsock_create: (null)
D/BTL_IFC_WRP(23605): wrp_alloc_new_sock: wrp_alloc_new_sock sub 15
D/BTL_IFC_WRP(23605): wrp_wsock_create: 32
D/BLZ20_WRAPPER(23605): btsk_alloc_add: success
I/BLZ20_WRAPPER(23605): blz20_wrp_socket: return 32
D/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: fd (-1:32), bta -1, rc 0, wflags 0x0
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: configure rfcomm lm mode 0x26, (master:0, auth 1, enc 1)
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: success
D/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: fd (-1:32), bta -1, rc 0, wflags 0x0
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: configure rfcomm sndbuf len 71680 bytes
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: success
D/BluetoothSocket.cpp(23605): ...fd 32 created (RFCOMM, lm = 26)
D/BluetoothSocket.cpp(23605): initSocketFromFdNative
D/BluetoothZephyrService(23605): setState() 0 -> 2
I/BluetoothZephyrService(23605): BEGIN mConnectThread
E/BluetoothService.cpp(19147): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/BluetoothSocket(23605): connect
D/BluetoothSocket(23605): doSdp
I/BluetoothService.cpp(19147): ... Object Path = /org/bluez/21902/hci0/dev_00_07_80_88_F5_AD
I/BluetoothService.cpp(19147): ... Pattern = 00001101-0000-1000-8000-00805f9b34fb, strlen = 36
I/BluetoothZephyr(23605): MESSAGE_STATE_CHANGE: 2
D/DEVICE (21902): *************DiscoverServices********
I/DTUN_HCID(21902): dtun_client_get_remote_svc_channel: starting discovery on (uuid16=0x0011)
I/DTUN_HCID(21902): bdaddr=00:07:80:88:F5:AD
I/DTUN_CLNT(21902): Client calling DTUN_METHOD_DM_GET_REMOTE_SERVICE_CHANNEL (id 4)
I/ (21889): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ (21889): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_GET_REMOTE_SERVICE_CHANNEL (id 4), len 134
E/BTLD (21889): ****************search UUID = 1101***********
I//system/bin/btld(21888): btapp_dm_GetRemoteServiceChannel()
W/BTLD (21889): SDP - Rcvd conn cnf with error: 0x4 CID 0x42
I/BTL-IFS (21889): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 13 pbytes (hdl 10)
I/DTUN_CLNT(21902): dtun-rx signal [DTUN_SIG_DM_RMT_SERVICE_CHANNEL] (id 42) len 15
I/DTUN_HCID(21902): dtun_dm_sig_rmt_service_channel: success=1, service=00000000
E/DTUN_HCID(21902): discovery unsuccessful!
V/BluetoothEventRedirector(21741): Received android.bleutooth.device.action.UUID
E/CachedBluetoothDevice(21741): onUuidChanged: Time since last connect9266997
D/BluetoothService(19147): Cleaning up failed UUID channel lookup: 00:07:80:88:F5:AD 00001101-0000-1000-8000-00805f9b34fb
D/BluetoothSocket(23605): onRfcommChannelFound -1
D/BluetoothZephyrService(23605): setState() 2 -> 1
D/BluetoothSocket(23605): close
D/BluetoothSocket(23605): cancel
D/BluetoothSocket.cpp(23605): abortNative
D/BluetoothSocket.cpp(23605): ...asocket_abort(32) complete
D/BluetoothSocket.cpp(23605): destroyNative
D/BluetoothSocket.cpp(23605): ...asocket_destroy(32) complete
D/BluetoothZephyrService(23605): start
D/BluetoothSocket(23605): close
D/BluetoothSocket(23605): BluetoothSocket created fd: -1uuidnullport 1
D/BluetoothSocket.cpp(23605): initSocketNative
I/BLZ20_WRAPPER(23605): blz20_wrp_socket: fam 31, type 1, prot BTPROTO_RFCOMM
D/BTL_IFC_WRP(23605): wrp_wsock_create: (null)
D/BTL_IFC_WRP(23605): wrp_alloc_new_sock: wrp_alloc_new_sock sub 15
D/BTL_IFC_WRP(23605): wrp_wsock_create: 32
D/BLZ20_WRAPPER(23605): btsk_alloc_add: success
D/BLZ20_WRAPPER(23605): btsk_dump_list: fd (-1:32), bta -1, rc 0, wflags 0x0
I/BLZ20_WRAPPER(23605): blz20_wrp_socket: return 32
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: WARNING : duplicate entries found for key 4, val 32#####
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: ### ASSERT : frameworks/base/core/jni/../../../../vendor/brcm/adaptation/btl-if/client/blz20_wrapper.c line 534 duplicates found (2) ########
D/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: fd (-1:32), bta -1, rc 0, wflags 0x0
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: configure rfcomm lm mode 0x26, (master:0, auth 1, enc 1)
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: success
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: WARNING : duplicate entries found for key 4, val 32#####
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: ### ASSERT : frameworks/base/core/jni/../../../../vendor/brcm/adaptation/btl-if/client/blz20_wrapper.c line 534 duplicates found (2) ########
D/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: fd (-1:32), bta -1, rc 0, wflags 0x0
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: configure rfcomm sndbuf len 71680 bytes
I/BLZ20_WRAPPER(23605): blz20_wrp_setsockopt: success
D/BluetoothSocket.cpp(23605): ...fd 32 created (RFCOMM, lm = 26)
D/BluetoothSocket.cpp(23605): initSocketFromFdNative
D/BluetoothSocket(23605): bindListen
D/BluetoothSocket.cpp(23605): bindListenNative
I/BLZ20_WRAPPER(23605): blz20_wrp_bind: s 32
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: WARNING : duplicate entries found for key 4, val 32#####
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: ### ASSERT : frameworks/base/core/jni/../../../../vendor/brcm/adaptation/btl-if/client/blz20_wrapper.c line 534 duplicates found (2) ########
D/BLZ20_WRAPPER(23605): blz20_wrp_bind: bind socket fd (-1:32), bta -1, rc 0, wflags 0x0
D/BLZ20_WRAPPER(23605): __bind_prot_rfcomm: rc_chan 1
D/BTL_IFC_WRP(23605): wrp_sock_bind: wrp_sock_bind on port 9050
I/BLZ20_WRAPPER(23605): blz20_wrp_listen: s 32, backlog 1
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: WARNING : duplicate entries found for key 4, val 32#####
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 1, wflags 0x0
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: ### ASSERT : frameworks/base/core/jni/../../../../vendor/brcm/adaptation/btl-if/client/blz20_wrapper.c line 534 duplicates found (2) ########
D/BLZ20_WRAPPER(23605): blz20_wrp_listen: fd (-1:32), bta -1, rc 1, wflags 0x0
D/BLZ20_WRAPPER(23605): btlif_send_msg_wait_response: send BTLIF_BTS_RFC_LISTEN_REQ, wait for |BTLIF_BTS_RFC_LISTEN_RSP|
D/BTL_IFC (23605): BTL_IFC_CtrlSend: BTL_IFC_CtrlSend
I/BTL_IFC (23605): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_BTS_RFC_LISTEN_REQ ((null)) 20 pbytes (hdl 28)
D/ (21889): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_BTS_RFC_LISTEN_REQ (4433) on hdl 14
I/ (21889): btlif_rfc_listen_req: Allocated dynamic server channel 4
D/ (21889): bts_chan_alloc_add: bts_chan_alloc_add : success (tot 1)
D/ (21889): bts_chan_dump_all: ### channel list ###
D/ (21889): bts_chan_dump_all: type 3, dhdl -1, bta_hdl -1, scn -1, phdl 65535, lstpnd 0, -1:-1 (L:D)
I/ (21889): btlif_rfc_listen_req: start rfcomm server on scn 4, role 1, sec_mask 0x30
D/ (21889): jw_if_rfcomm_srv_cback: event=BTA_JV_RFCOMM_START_EVT
I/ (21889): jw_if_rfcomm_srv_cback: [BTA_JV_RFCOMM_START_EVT] start status: 0, handle:0, security id: 47
I/ (21889): jv_rfc_srv_listen_started: jv_rfc_srv_listen_started
I/BTL-IFS (21889): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_BTS_RFC_LISTEN_RSP () 17 pbytes (hdl 14)
I/BTL_IFC (23605): btl_ifc_ctrl_rx: [BTL_IFC CTRL] recv BTLIF_BTS_RFC_LISTEN_RSP ((null)) 19 pbytes (hdl 28)
I/BLZ20_WRAPPER(23605): btlif_ctrl_callback: btlif_ctrl_callback : msg id BTLIF_BTS_RFC_LISTEN_RSP
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: WARNING : duplicate entries found for key 4, val 32#####
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 1, wflags 0x2
D/BLZ20_WRAPPER(23605): btsk_check_duplicates: fd (-1:32), bta -1, rc 0, wflags 0x0
E/BLZ20_WRAPPER(23605): ##### ERROR : btsk_check_duplicates: ### ASSERT : frameworks/base/core/jni/../../../../vendor/brcm/adaptation/btl-if/client/blz20_wrapper.c line 534 duplicates found (2) ########
I/BLZ20_WRAPPER(23605): btlif_process_listen_rsp: listen response for bta hdl 0
D/BLZ20_WRAPPER(23605): btlif_signal_event: fd (-1:32), bta 0, rc 1, wflags 0x2
D/BLZ20_WRAPPER(23605): btlif_signal_event: event BTLIF_BTS_RFC_LISTEN_RSP matched
D/BLZ20_WRAPPER(23605): btlif_send_msg_wait_response: unblocked fd (-1:32), bta 0, rc 1, wflags 0x0
I/BLZ20_WRAPPER(23605): __listen_prot_rfcomm: success, scn 4
D/BTL_IFC_WRP(23605): wrp_sock_listen_bl: wrp_sock_listen_bl : fd 32 127.0.0.1:9050 backlog 1
I/BLZ20_WRAPPER(23605): __listen_prot_rfcomm: success
D/BluetoothSocket.cpp(23605): ...bindListenNative(32) success
I/DTUN_CLNT(21902): Client calling DTUN_METHOD_DM_ADD_SDP_REC (id 17)
I/ (21889): DTUN_ReceiveCtrlMsg: [DTUN] Received message [BTLIF_DTUN_METHOD_CALL] 4354
I/ (21889): handle_method_call: handle_method_call :: received DTUN_METHOD_DM_ADD_SDP_REC (id 17), len 270
I/ (21889): btapp_bts_convert_rc_chan_to_scn: found scn 4
I/BTL-IFS (21889): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 12 pbytes (hdl 10)
I/DTUN_CLNT(21902): dtun-rx signal [DTUN_SIG_DM_SDP_REC_HANDLE] (id 50) len 14
I/DTUN_HCID(21902): dtun_dm_sig_sdp_rec_handle: handle = 0x10006
D/BluetoothService(19147): new handle 0
I/BluetoothZephyr(23605): MESSAGE_STATE_CHANGE: 1
I/BluetoothZephyr(23605): Unable to connect device
D/BluetoothZephyrService(23605): setState() 1 -> 1
D/BluetoothZephyrService(23605): BEGIN mAcceptThreadThread[Thread-9,5,main]
D/BluetoothSocket(23605): accept
D/BluetoothSocket.cpp(23605): acceptNative
I/BluetoothZephyr(23605): MESSAGE_STATE_CHANGE: 1
D/WynexActivity(19215): <><><>ACTION ::android.intent.action.TIME_TICK
D/LocationMasfClient(19147): getNetworkLocation(): Location not found in cache, making network request
D/ProtoRequestListener(19147): requestFailed()
I/power (19147): *** set_screen_state 0
Ok, solved it.
The solution is to update the firmware on the phone. I now have:PDA: I570EXXJE1PHONE: i570EXXJD1CSC: I570EOXEJE1
and bluetooth spp worked 'out of the box'.
Look at http://samsung-firmwares.com for both the latest firmware as well as programs to flash the phone (odin) and details/tutorials.
这篇关于与蓝牙在Android 2.1(三星I5700角宿一)问题,即配对工作,但连接不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!