2013-09-04 1 views
0

소니 Xperis 아이스크림 샌드위치 휴대 전화에서 블루투스 HDP으로 하나의 앱을 테스트하려고합니다. 나는 BluetoothHDPService 클래스와 하나의 테스트 활동 클래스를 구현했다. 저는 IEEE 11073 프로토콜을 지원하는 Omron이 만든 혈압 장치와 인터페이스하고 있습니다. IEEE 11073을 구현하려면 android NDK 기능을 사용하여 IEEE 11073을 구현하는 오픈 소스 스택 인 Antidote를 사용하고 있습니다. HealthService BluetoothHDPService 및 해독제와 상호 작용합니다.Android ICS에서 블루투스 HDP 구현 오류

장치에서 다음 오류가 발생합니다.

09-04 17:08:12.571 W/antidote(3778): Starting Transcoding plugin... 
09-04 17:08:12.582 D/libEGL (3800): loaded /system/lib/egl/libGLES_android.so 
09-04 17:08:12.582 W/HSSHDP (3778): onServiceConnected to profile: 3 
09-04 17:08:12.582 W/HSSHDP (3778): BluetoothHDPService is running. 
09-04 17:08:12.582 W/HSS  (3778): HDP service connected 
09-04 17:08:12.582 W/HSSHDP (3778): Activity client registered 
09-04 17:08:12.592 D/libEGL (3800): loaded /system/lib/egl/libEGL_mali.so 
09-04 17:08:12.592 E/BluetoothService.cpp(1793): 
registerSinkHealthApplicationNative: D-Bus error: 
org.freedesktop.DBus.Error.UnknownMethod (Method "CreateApplication" with signature 
"a{sv}" on interface "org.bluez.HealthManager" doesn't exist 
09-04 17:08:12.592 E/BluetoothService.cpp(1793):) 
09-04 17:08:12.602 W/HSS  (3778): HDP Registered 
09-04 17:08:12.602 D/libEGL (3800): loaded /system/lib/egl/libGLESv1_CM_mali.so 
09-04 17:08:12.602 D/libEGL (3800): loaded /system/lib/egl/libGLESv2_mali.so 
09-04 17:08:12.602 E/BluetoothService.cpp(1793): 
registerSinkHealthApplicationNative: D-Bus error:  
org.freedesktop.DBus.Error.UnknownMethod (Method "CreateApplication" with signature 
"a{sv}" on interface "org.bluez.HealthManager" doesn't exist 
09-04 17:08:12.602 E/BluetoothService.cpp(1793):) 
09-04 17:08:12.602 W/HSS  (3778): HDP Registered 
09-04 17:08:12.612 E/BluetoothService.cpp(1793): 
registerSinkHealthApplicationNative: D-Bus error: 
org.freedesktop.DBus.Error.UnknownMethod (Method "CreateApplication" with signature 
"a{sv}" on interface "org.bluez.HealthManager" doesn't exist 
09-04 17:08:12.612 E/BluetoothService.cpp(1793):) 
09-04 17:08:12.612 W/HSS  (3778): HDP Registered 
09-04 17:08:12.612 **E/BluetoothService.cpp(1793): 
registerSinkHealthApplicationNative: D-Bus error:  
org.freedesktop.DBus.Error.UnknownMethod (Method "CreateApplication" with signature  
"a{sv}" on interface "org.bluez.HealthManager" doesn't exist** 
09-04 17:08:12.612 E/BluetoothService.cpp(1793):) 
09-04 17:08:12.612 W/HSS  (3778): HDP Registered 
09-04 17:08:12.622 I/libblt_hw(1426): Library closed (handle = 0, fd = 25) 
09-04 17:08:12.622 D/OpenGLRenderer(3800): Enabling debug mode 0 
09-04 17:08:12.632 W/HST  (3800): Service connection established 
09-04 17:08:12.632 W/HST  (3800): Configuring... 
09-04 17:08:12.632 W/HSS  (3778): ConfigurePassive 
09-04 17:08:12.632 W/HSS  (3778): Configured agent  
[email protected] 
09-04 17:08:12.702 I/ActivityManager(1793): Displayed  
com.signove.health.servicetest/.HealthServiceTestActivity: +501ms 
09-04 17:08:12.912 I/libblt_hw(1426): Library closed (handle = 2, fd = 32) 
09-04 17:08:15.184 E/wpa_supplicant(1879): RX ctrl_iface - hexdump_ascii(len=11): 
09-04 17:08:15.184 E/wpa_supplicant(1879):  53 49 47 4e 41 4c 5f 50 4f 4c 
4c     SIGNAL_POLL  
09-04 17:08:15.184 D/wpa_supplicant(1879): Command received: SIGNAL_POLL 
09-04 17:08:15.184 D/wpa_supplicant(1879): nl80211: survey data missing! 
09-04 17:08:15.364 D/ADM  (1450): devset:282 STATUS Close device 'Speaker' 
09-04 17:08:16.816 D/dalvikvm(3169): GC_CONCURRENT freed 1766K, 17% free 
11169K/13411K, paused 4ms+4ms 
09-04 17:08:17.036 D/dalvikvm(1793): GC_CONCURRENT freed 1815K, 28% free 
14916K/20579K, paused 9ms+6ms 
09-04 17:08:18.197 E/wpa_supplicant(1879): RX ctrl_iface - hexdump_ascii(len=11): 
09-04 17:08:18.197 E/wpa_supplicant(1879):  53 49 47 4e 41 4c 5f 50 4f 4c 
4c     SIGNAL_POLL  
09-04 17:08:18.197 D/wpa_supplicant(1879): Command received: SIGNAL_POLL 
09-04 17:08:18.197 D/wpa_supplicant(1879): nl80211: survey data missing! 
09-04 17:08:21.200 E/wpa_supplicant(1879): RX ctrl_iface - hexdump_ascii(len=11): 
09-04 17:08:21.200 E/wpa_supplicant(1879):  53 49 47 4e 41 4c 5f 50 4f 4c 
4c     SIGNAL_POLL  
09-04 17:08:21.200 D/wpa_supplicant(1879): Command received: SIGNAL_POLL 
09-04 17:08:21.200 D/wpa_supplicant(1879): nl80211: survey data missing! 
09-04 17:08:23.993 D/BluetoothEventLoop(1793): Device property changed: 
00:22:58:35:C2:5F property: Connected value: true 
09-04 17:08:24.203 E/wpa_supplicant(1879): RX ctrl_iface - hexdump_ascii(len=11): 
09-04 17:08:24.203 E/wpa_supplicant(1879):  53 49 47 4e 41 4c 5f 50 4f 4c 
4c     SIGNAL_POLL  
09-04 17:08:24.203 D/wpa_supplicant(1879): Command received: SIGNAL_POLL 
09-04 17:08:24.203 D/wpa_supplicant(1879): nl80211: survey data missing! 
09-04 17:08:27.116 D/dalvikvm(3169): GC_CONCURRENT freed 1766K, 17% free 
11206K/13411K, paused 3ms+3ms 
09-04 17:08:27.206 E/wpa_supplicant(1879): RX ctrl_iface - hexdump_ascii(len=11): 
09-04 17:08:27.206 E/wpa_supplicant(1879):  53 49 47 4e 41 4c 5f 50 4f 4c 
4c     SIGNAL_POLL  
09-04 17:08:27.206 D/wpa_supplicant(1879): Command received: SIGNAL_POLL 
09-04 17:08:27.206 D/wpa_supplicant(1879): nl80211: survey data missing! 
09-04 17:08:27.216 D/dalvikvm(2243): GC_CONCURRENT freed 1668K, 12% free 
14024K/15843K, paused 4ms+6ms 

09-04 17:08:29.028 D/BluetoothEventLoop(1793): Device property changed: 
00:22:58:35:C2:5F property: Connected value: false 
09-04 17:08:29.628 D/SurfaceFlinger(1426): screenshot: sw=180, sh=320, minZ=0, 
maxZ=21010 
09-04 17:08:29.718 I/libblt_hw(1426): Library opened (handle = 0, fd = 25) 
09-04 17:08:29.808 D/OpenGLRenderer(3800): Flushing caches (mode 0) 
09-04 17:08:29.828 D/OpenGLRenderer(3800): Flushing caches (mode 1) 
09-04 17:08:29.828 W/HST  (3800): Unconfiguring... 
09-04 17:08:29.828 I/ActivityManager(1793): No longer want com.android.calendar (pid 
3281): hidden #16 
09-04 17:08:29.838 D/OpenGLRenderer(3778): Flushing caches (mode 1) 
09-04 17:08:29.838 W/HSS  (3778): Unconfigure 
09-04 17:08:29.838 W/HSS  (3778): Unconfigured agent  
[email protected] 
09-04 17:08:29.838 W/HST  (3800): Activity destroyed 
09-04 17:08:30.029 I/libblt_hw(1426): Library closed (handle = 5, fd = 29) 

사람은

E/BluetoothService.cpp(1793):registerSinkHealthApplicationNative: D-Bus error:  
org.freedesktop.DBus.Error.UnknownMethod (Method "CreateApplication" with signature  
"a{sv}" on interface "org.bluez.HealthManager" doesn't exist 

이 오류에 대한 좀 도와 주시겠습니까? 어디서 찾을 수 있습니까? BluetoothService.cpp 파일을 내 안드로이드 코드에 포함하고 있습니까 ?? 코드에 org.bluez.HealthManager을 구현하는 올바른 방법은 무엇입니까?

이 문제에 대한 도움을 주시면 감사하겠습니다.

답변

0

일부 휴대 전화는 Android 수준의 API가 있더라도 블루투스 스택에서 HDP가 사용 중지되었습니다. 나는 그것이 사실이라고 생각한다.

오류 메시지가 매우 낮기 때문에 BlueZ가이 메서드 호출을 인식하지 못한다는 것을 알립니다. CreateApplication 메서드는 페어링 된 HDP 장치가 없어도 작동하기 때문에 휴대 전화에서 실행되는 BlueZ는 HDP를 지원하지 않는다고 생각합니다.

관련 문제