Trouble with sample_bt_agent and HST

82 views
Skip to first unread message

Pablo Coronado Barrios

unread,
Jul 21, 2015, 3:36:49 AM7/21/15
to antido...@googlegroups.com
Hi, i'm new to antidote and im having several problems testing it
after i paired mu USB dongle and my smarthphone I tried to test the  sample_bt_agent and the HealthServiceTest but im getting the following error all times

pablo@linux:~/antidote/apps$ ./sample_bt_agent 4C:74:03:28:63:9D
IEEE 11073 sample agent
DEBUG   <agent_init in agent.c:133> Agent Initialization
DEBUG   <agent_start in agent.c:369> Agent starting...
DEBUG   <init in plugin_bluez.c:1287> Starting BlueZ link...
DEBUG   <connect_adapter in plugin_bluez.c:876> connecting adapter: /org/bluez/663/hci0
DEBUG   <connect_adapter in plugin_bluez.c:916> Getting known devices list
DEBUG   <connect_device_signals in plugin_bluez.c:782> device to be connected: /org/bluez/663/hci0/dev_98_D6_F7_B2_9D_E1
DEBUG   <get_device_addr in plugin_bluez.c:303>     Device address is 98:D6:F7:B2:9D:E1
DEBUG   <connect_device_signals in plugin_bluez.c:782> device to be connected: /org/bluez/663/hci0/dev_7C_61_93_49_15_A2
DEBUG   <get_device_addr in plugin_bluez.c:303>     Device address is 7C:61:93:49:15:A2
DEBUG   <connect_device_signals in plugin_bluez.c:782> device to be connected: /org/bluez/663/hci0/dev_4C_74_03_28_63_9D
DEBUG   <get_device_addr in plugin_bluez.c:303>     Device address is 4C:74:03:28:63:9D
DEBUG   <create_health_application in plugin_bluez.c:1101> Created health application: /org/bluez/health_app_3
*** Device rediscovered
Main loop started
DEBUG   <plugin_bluez_connect_cb in plugin_bluez.c:1535> connection initiation error: Mcap instance released

i dont know why the connection initiation is failing, can anybody help me please?
thanks a lot,

Pablo

Lucas Batalha

unread,
Sep 29, 2015, 3:17:06 PM9/29/15
to Antidote: open-source IEEE 11073 stack
Hi, could you solve this problem?
When I try "sample_bt_agent  F4:F1:E1:C7:A4:17", this is what I get:


IEEE 11073 sample agent
DEBUG   <agent_init in agent.c:133> Agent Initialization
DEBUG   <agent_start in agent.c:369> Agent starting...
DEBUG   <init in plugin_bluez.c:1287> Starting BlueZ link...
DEBUG   <connect_adapter in plugin_bluez.c:876> connecting adapter: /org/bluez/15070/hci0

DEBUG   <connect_adapter in plugin_bluez.c:916> Getting known devices list
DEBUG   <connect_device_signals in plugin_bluez.c:782> device to be connected: /org/bluez/15070/hci0/dev_F4_F1_E1_C7_A4_17
DEBUG   <get_device_addr in plugin_bluez.c:303>     Device address is F4:F1:E1:C7:A4:17
DEBUG   <create_health_application in plugin_bluez.c:1101> Created health application: /org/bluez/health_app_7

*** Device rediscovered
Main loop started
DEBUG   <plugin_bluez_connect_cb in plugin_bluez.c:1535> connection initiation error: Method "CreateChannel" with signature "os" on interface "org.bluez.HealthDevice" doesn't exist



I've tried repairing devices, changing BT dongle, changed values of "spec [ ]" (as they say in some forums answers) and same thing... Can anybody help me?

Aravind Nair

unread,
Apr 29, 2016, 6:23:04 AM4/29/16
to Antidote: open-source IEEE 11073 stack
Hi,

I also have the same issue. The error message 'Mcap instance failed'. Anybody have any idea how to solve this error?
@Lucas and @Pablo, Do you guys have a solution? Any suggestion or help will be much appreciated.

Thanks.

Aravind

Eric

unread,
Nov 9, 2016, 10:02:05 PM11/9/16
to Antidote: open-source IEEE 11073 stack
Have U solve this @Aravind,  I have the same issue and cant solve it, it cost me too much time, the worst thing is there is no material with this question. maybe i use the unsuitable bluetooth adapter or maybe my develop-enviroment is not match. Any tips may help, thanks 

在 2016年4月29日星期五 UTC+8下午6:23:04,Aravind Nair写道:
Reply all
Reply to author
Forward
0 new messages