[android-developers] Re: Unable to execute Bluetooth HDP Demo

2016-05-29 Thread Nasrullah
in the same onHealthChannelStateChange()

i inserted a case checking Connecting - Connected. But it never falls into 
this case. which means its not being connected.
it is only connecting - disconnected.

please help me. thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/loom.20160529T212452-45%40post.gmane.org.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-11-20 Thread KachCort
I have the same problem with Nonin 9560 pulse oximeter device. I tried to 
use BluetoothHDPService demo provided by android SDK, however, I even 
cannot get connect to it. When I first click the Register App button it 
shows 0 (means successful) in the status message bar. But then when I click 
Connect button and choose my paired device, it says -1 (failed) in the 
status message. Can anybody please help me in this case? By the way, I am 
registering with 0x1004 (pulse oximeter) code.

Thanks in advance.

On Friday, December 16, 2011 11:31:16 AM UTC+1, Raul Ruiz wrote:

 Hi  Jorge,

 What device are you using? I have a same problem using Nonin 9560BT
 pulseoximeter. It conects and disconnects and any data had received in
 the Android.

 Do you have any solution?

 Thanks

 On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:
  Hi all,
 
  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone is unable to open the channel
  connectionHDP.
 
  At the end of this message you can see the output obtained in the
  LogCat.
 
  Has anybody achieved to run successfully this sample about the use of
  the Bluetooth Health Profile API? Any ideas?
 
  Thanks. Regards.
 
  [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html
 
  This is the log that I obtain:
 
  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-10-08 Thread GregKoshmak
hey wambin,

I've tried to install the above mentioned application, 
but its not available in my country (sweden).

So we have to wait for someone who has both an access and sensors.

and btw, has anyone tested the following samsung app?
http://www.samsungapps.com/topApps/topAppsDetail.as?productId=G8603624

regards,
gregory

On Thursday, September 27, 2012 11:28:15 AM UTC+2, wambin wrote:

 Hi all.
 I've found a HDP application on Google Play.
 https://play.google.com/store/apps/details?id=jp.littlesoftware.dnet.bts

 I think that It's the only HDP application with HDP API in the world.
 It can communicate with these devices.
 AD UC-321PBT-C
 AD UA-767PBT-C
 AD UC-411PBT-C

 I don't have any of them.
 So I want someone who have these devices to check the steps below.

 1.communicate with the device.
 2.kill the app proccess or turn off Bluetooth in Android config.
 3.try to recommunicate.

 If you can recommunicate in step3, the application would unregister 
 AppConfig correctly.
 And we can say that, there are some way to unregister AppConfig correctly 
 and make HDP application what works fine.

 Thanks.

 On Tuesday, July 17, 2012 8:07:58 PM UTC+9, wambin wrote:

 For my 6 monthes reseach, I understand that below.
 No one can build Android HDP application with this HDP API.
 (Some people built HDP app to use Bluez with JNI. search in youtube.)
 I cann't find any Android HDP app in markets.
 (it has taken 6 monthes over since HDP API to be published!)
 So many people have troubles about HDP demo.
 Android API developers don't take any action about it.
 (4.1.1 jellybean has same problems 
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
 )

 The only way to report the problem to Android API developers is Google 
 group Android.
 (http://code.google.com/p/android/issues/list)
 developer.android.com dosen't publish mail address but provide this 
 forum.
 I want to add star to the HDP issues(
 http://code.google.com/p/android/issues/detail?id=26704q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars)
  
 API developers to see, if no one has solution.

 Regards.

 On Tuesday, July 17, 2012 4:49:41 PM UTC+9, jfernandez wrote:

 Hi wambin, 

 Then, you have found the same troubles that all of us. 

 Regards. 

 On Tue, Jul 17, 2012 at 7:59 AM, wambin ambiti...@gmail.com wrote: 
  Hi, thanks to reply. 
  The problem is that ApplicationConfiguration remain, in spite of 
 calling 
  unregisterAppConfiguration(). 
  I confirmed the demo can communicate with a health device at first 
 time, but 
  second time or later it cann't. 
  Sometimes Android reboots when I unregister the application config and 
  REregister. 
  The demo can communicate only once whenever rebooting. 
  
  My health devices 
  blood pressure: HEM-7081-IT 
  weighing machine: HBF-206IT 
  pedometer: HJ-720IT 
  
  I can communicate currectly with all of these devices and get health 
  data.(only once whenever rebooting) 
  
  
  On Thursday, July 12, 2012 6:06:55 PM UTC+9, jfernandez wrote: 
  
  Hi wambin: 
  
  Could you tell more about the exact problem that you are 
 experiencing? 
  And, what's the medical device that you are using? 
  
  Regards. 
  
  On Tue, Jul 10, 2012 at 12:16 PM, wambin ambiti...@gmail.com 
 wrote: 
   Hi jfernandez and all. 
   
   I've had the same problem for half a year. 
   My device is Galaxy Nexus SC-04D ver4.0.4. 
   I've not solved this problem yet, in spite of half a year 
 researches. 
   I gradually be sure that this is a bug of unregisterAppConfig(). 
   Here is a report about this problem. 
   Google android group 
   
   
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
  
   
   I think this is a only way to report the bug to Android API 
 developers, 
   because developer.android.com provides this forum as a Support. 
   So, I want you to add a star or comment to this issue, if you have 
 the 
   same 
   problem. 
   And wish to be debug. 
   
   
   On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote: 
   
   Hi all, 
   
   I have observed a strange and undesirable behaviour that I'm going 
 to 
   describe. When an HDP channel is stablished, the Android system 
 starts 
   a long proccess of freeing memory (I have lots of Logcat messages 
 like 
   dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, 
 the 
   system crashes and the smartphone is rebooted. I don't know if 
 this is 
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does 
   anybody has the same problem? 
   
   Thanks and regards! 
   
   On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com 
   wrote: 
Hi all, 

I'm executing the BluetoothHDPDemo [1]  (offered from Android 
 4.0 
Ice Cream Sandwich) in my Android smartphone. When I have 
 registered 
the application in order to receive data, and I have 

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-10-08 Thread wambin
Hi Greg.
Thank you for your attempt.
I tried to install the samsung app.
But the app only support S3. My device is Galaxy Nexus SC-04D.
So I wait anyone's testing.

regards.

On Monday, October 8, 2012 9:53:29 PM UTC+9, GregKoshmak wrote:

 hey wambin,

 I've tried to install the above mentioned application, 
 but its not available in my country (sweden).

 So we have to wait for someone who has both an access and sensors.

 and btw, has anyone tested the following samsung app?
 http://www.samsungapps.com/topApps/topAppsDetail.as?productId=G8603624

 regards,
 gregory

 On Thursday, September 27, 2012 11:28:15 AM UTC+2, wambin wrote:

 Hi all.
 I've found a HDP application on Google Play.
 https://play.google.com/store/apps/details?id=jp.littlesoftware.dnet.bts

 I think that It's the only HDP application with HDP API in the world.
 It can communicate with these devices.
 AD UC-321PBT-C
 AD UA-767PBT-C
 AD UC-411PBT-C

 I don't have any of them.
 So I want someone who have these devices to check the steps below.

 1.communicate with the device.
 2.kill the app proccess or turn off Bluetooth in Android config.
 3.try to recommunicate.

 If you can recommunicate in step3, the application would unregister 
 AppConfig correctly.
 And we can say that, there are some way to unregister AppConfig correctly 
 and make HDP application what works fine.

 Thanks.

 On Tuesday, July 17, 2012 8:07:58 PM UTC+9, wambin wrote:

 For my 6 monthes reseach, I understand that below.
 No one can build Android HDP application with this HDP API.
 (Some people built HDP app to use Bluez with JNI. search in youtube.)
 I cann't find any Android HDP app in markets.
 (it has taken 6 monthes over since HDP API to be published!)
 So many people have troubles about HDP demo.
 Android API developers don't take any action about it.
 (4.1.1 jellybean has same problems 
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
 )

 The only way to report the problem to Android API developers is Google 
 group Android.
 (http://code.google.com/p/android/issues/list)
 developer.android.com dosen't publish mail address but provide this 
 forum.
 I want to add star to the HDP issues(
 http://code.google.com/p/android/issues/detail?id=26704q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars)
  
 API developers to see, if no one has solution.

 Regards.

 On Tuesday, July 17, 2012 4:49:41 PM UTC+9, jfernandez wrote:

 Hi wambin, 

 Then, you have found the same troubles that all of us. 

 Regards. 

 On Tue, Jul 17, 2012 at 7:59 AM, wambin ambiti...@gmail.com wrote: 
  Hi, thanks to reply. 
  The problem is that ApplicationConfiguration remain, in spite of 
 calling 
  unregisterAppConfiguration(). 
  I confirmed the demo can communicate with a health device at first 
 time, but 
  second time or later it cann't. 
  Sometimes Android reboots when I unregister the application config 
 and 
  REregister. 
  The demo can communicate only once whenever rebooting. 
  
  My health devices 
  blood pressure: HEM-7081-IT 
  weighing machine: HBF-206IT 
  pedometer: HJ-720IT 
  
  I can communicate currectly with all of these devices and get health 
  data.(only once whenever rebooting) 
  
  
  On Thursday, July 12, 2012 6:06:55 PM UTC+9, jfernandez wrote: 
  
  Hi wambin: 
  
  Could you tell more about the exact problem that you are 
 experiencing? 
  And, what's the medical device that you are using? 
  
  Regards. 
  
  On Tue, Jul 10, 2012 at 12:16 PM, wambin ambiti...@gmail.com 
 wrote: 
   Hi jfernandez and all. 
   
   I've had the same problem for half a year. 
   My device is Galaxy Nexus SC-04D ver4.0.4. 
   I've not solved this problem yet, in spite of half a year 
 researches. 
   I gradually be sure that this is a bug of unregisterAppConfig(). 
   Here is a report about this problem. 
   Google android group 
   
   
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
  
   
   I think this is a only way to report the bug to Android API 
 developers, 
   because developer.android.com provides this forum as a Support. 
   So, I want you to add a star or comment to this issue, if you have 
 the 
   same 
   problem. 
   And wish to be debug. 
   
   
   On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote: 
   
   Hi all, 
   
   I have observed a strange and undesirable behaviour that I'm 
 going to 
   describe. When an HDP channel is stablished, the Android system 
 starts 
   a long proccess of freeing memory (I have lots of Logcat messages 
 like 
   dalvikm - GC_CONCURRENT freed 494K ...), even in some 
 occasions, the 
   system crashes and the smartphone is rebooted. I don't know if 
 this is 
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). 
 Does 
   anybody has the same problem? 
   
   Thanks and regards! 
   
   On 15 dic 2011, 18:30, jfernandez 
 

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-09-29 Thread wambin
Hi all.
I've found a HDP application on Google Play.
https://play.google.com/store/apps/details?id=jp.littlesoftware.dnet.bts

I think that It's the only HDP application with HDP API in the world.
It can communicate with these devices.
AD UC-321PBT-C
AD UA-767PBT-C
AD UC-411PBT-C

I don't have any of them.
So I want someone who have these devices to check the steps below.

1.communicate with the device.
2.kill the app proccess or turn off Bluetooth in Android config.
3.try to recommunicate.

If you can recommunicate in step3, the application would unregister 
AppConfig correctly.
And we can say that, there are some way to unregister AppConfig correctly 
and make HDP application what works fine.

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-09-29 Thread wambin
Hi all.
I've found a HDP application on Google Play.
https://play.google.com/store/apps/details?id=jp.littlesoftware.dnet.bts

I think that It's the only HDP application with HDP API in the world.
It can communicate with these devices.
AD UC-321PBT-C
AD UA-767PBT-C
AD UC-411PBT-C

I don't have any of them.
So I want someone who have these devices to check the steps below.

1.communicate with the device.
2.kill the app proccess or turn off Bluetooth in Android config.
3.try to recommunicate.

If you can recommunicate in step3, the application would unregister 
AppConfig correctly.
And we can say that, there are some way to unregister AppConfig correctly 
and make HDP application what works fine.

Thanks.

On Tuesday, July 17, 2012 8:07:58 PM UTC+9, wambin wrote:

 For my 6 monthes reseach, I understand that below.
 No one can build Android HDP application with this HDP API.
 (Some people built HDP app to use Bluez with JNI. search in youtube.)
 I cann't find any Android HDP app in markets.
 (it has taken 6 monthes over since HDP API to be published!)
 So many people have troubles about HDP demo.
 Android API developers don't take any action about it.
 (4.1.1 jellybean has same problems 
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
 )

 The only way to report the problem to Android API developers is Google 
 group Android.
 (http://code.google.com/p/android/issues/list)
 developer.android.com dosen't publish mail address but provide this forum.
 I want to add star to the HDP issues(
 http://code.google.com/p/android/issues/detail?id=26704q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars)
  
 API developers to see, if no one has solution.

 Regards.

 On Tuesday, July 17, 2012 4:49:41 PM UTC+9, jfernandez wrote:

 Hi wambin, 

 Then, you have found the same troubles that all of us. 

 Regards. 

 On Tue, Jul 17, 2012 at 7:59 AM, wambin ambiti...@gmail.comjavascript: 
 wrote: 
  Hi, thanks to reply. 
  The problem is that ApplicationConfiguration remain, in spite of 
 calling 
  unregisterAppConfiguration(). 
  I confirmed the demo can communicate with a health device at first 
 time, but 
  second time or later it cann't. 
  Sometimes Android reboots when I unregister the application config and 
  REregister. 
  The demo can communicate only once whenever rebooting. 
  
  My health devices 
  blood pressure: HEM-7081-IT 
  weighing machine: HBF-206IT 
  pedometer: HJ-720IT 
  
  I can communicate currectly with all of these devices and get health 
  data.(only once whenever rebooting) 
  
  
  On Thursday, July 12, 2012 6:06:55 PM UTC+9, jfernandez wrote: 
  
  Hi wambin: 
  
  Could you tell more about the exact problem that you are experiencing? 
  And, what's the medical device that you are using? 
  
  Regards. 
  
  On Tue, Jul 10, 2012 at 12:16 PM, wambin 
  ambiti...@gmail.comjavascript: 
 wrote: 
   Hi jfernandez and all. 
   
   I've had the same problem for half a year. 
   My device is Galaxy Nexus SC-04D ver4.0.4. 
   I've not solved this problem yet, in spite of half a year 
 researches. 
   I gradually be sure that this is a bug of unregisterAppConfig(). 
   Here is a report about this problem. 
   Google android group 
   
   
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
  
   
   I think this is a only way to report the bug to Android API 
 developers, 
   because developer.android.com provides this forum as a Support. 
   So, I want you to add a star or comment to this issue, if you have 
 the 
   same 
   problem. 
   And wish to be debug. 
   
   
   On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote: 
   
   Hi all, 
   
   I have observed a strange and undesirable behaviour that I'm going 
 to 
   describe. When an HDP channel is stablished, the Android system 
 starts 
   a long proccess of freeing memory (I have lots of Logcat messages 
 like 
   dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, 
 the 
   system crashes and the smartphone is rebooted. I don't know if this 
 is 
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does 
   anybody has the same problem? 
   
   Thanks and regards! 
   
   On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com 
   wrote: 
Hi all, 

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0 
Ice Cream Sandwich) in my Android smartphone. When I have 
 registered 
the application in order to receive data, and I have paired the 
biomedical device with the smartphone, I try to open the channel 
connection and I can see that the device starts sending data to 
 the 
smartphone. However, the smartphone isunableto open the channel 
connectionHDP. 

At the end of this message you can see the output obtained in the 
LogCat. 

Has anybody achieved to run successfully this sample 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-08-02 Thread András Petrik
Hi,

I need help. I have Nonin 9560Bt, and i tried to run the project on a 
Android 4.0.4 device. I's not working. So, could you tell me what 
modifications did yout make to run the sample project?

On Friday, 20 January 2012 17:00:10 UTC+1, Raul Ruiz wrote:

 Hi all, 

 I have Nonin working with HDP, if someone need help tell me. 



 On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com 
 wrote: 
  Hi Fernando, 
  
  I have introduced a change in the implementation of the 
  BluetoothHealthCallback mHealthCallback. Exactly, in its method 
  onHealthChannelStateChange(...). I detected that the state machine 
  during the stablishment of a new HDP connection is: Disconnected- 
  Connecting-Connected. However, you can see that the example is 
  checking the case Disconnected-Connected, but not the case Connecting- 
  Connected. I added this new case Connecting-Connected, and now it 
  works and I'm able to read/write data from/to UA-767PBT-C and a board 
  that emulates several biomedical devices. 
  
  I hope it help you. 
  
  Regards. 
  
  On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote: 
  
  
  
  
  
  
  
   Hi jfernandez... i upgrade my android version to 4.03 and still can't 
   connect... 
  
   Could you please show me the changes that you made? 
  
   Thank you 
  
   On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com 
   wrote: 
  
Hi again, 
  
Well, after upgrading my Android 4.0 to 4.03, and adding some 
 changes 
to the BluetoothHDPsample, I'm able to connect to the biomedical 
device, as well as I'm able to read/write data from/to theHDP 
channel. So, it seems the problem has been fixed in this new Android 
version. 
  
Regards. 
  
On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com 
wrote: 
  
 Hi all, 
  
 I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0 
 Ice Cream Sandwich) in my Android smartphone. When I have 
 registered 
 the application in order to receive data, and I have paired the 
 biomedical device with the smartphone, I try to open the channel 
 connection and I can see that the device starts sending data to 
 the 
 smartphone. However, the smartphone is unable to open the channel 
 connectionHDP. 
  
 At the end of this message you can see the output obtained in the 
 LogCat. 
  
 Has anybody achieved to run successfully this sample about the use 
 of 
 theBluetoothHealth Profile API? Any ideas? 
  
 Thanks. Regards. 
  
 [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html 
  
 This is the log that I obtain: 
  
 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 
 12-15 16:40:54.068: D/BluetoothService(147): 
 CONNECTION_STATE_CHANGE: 
 00:80:25:14:A1:BC: 0 - 1 
 12-15 16:40:55.169: D/ConnectivityService(147): 
 handleInetConditionHoldEnd: net=1, condition=0, published 
 condition=0 
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property 
 changed: 00:80:25:14:A1:BC property: Connected value: true 
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : 
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ 
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 
 12-15 16:41:00.034: E/BluetoothService.cpp(147): 
 getChannelApplicationNative 
 12-15 16:41:00.044: E/bluetooth_common.cpp(147): 
 dbus_func_args_timeout_valist: D-Bus error in Acquire: 
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error 
 obtaining fd for 
 channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ 
 chan3115 
 12-15 16:41:00.074: E/BluetoothService.cpp(147): 
 destroyChannelNative 
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): 
 onHealthDeviceConnectionResult: D-Bus error: 
 org.bluez.Error.HealthError (Mdl is not created) 
 12-15 16:41:00.074: D/BluetoothEventLoop(147): 
 onHealthDeviceConnectionResult 2 6001 
 12-15 16:41:00.214: D/BluetoothEventLoop(147): 
 onHealthDeviceConnectionResult 2 6000 
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : 
 Name of 
 Property is: MainChannel Value:/org/bluez/278/hci0/ 
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-17 Thread Jorge Fernández
Hi wambin,

Then, you have found the same troubles that all of us.

Regards.

On Tue, Jul 17, 2012 at 7:59 AM, wambin ambitiouss...@gmail.com wrote:
 Hi, thanks to reply.
 The problem is that ApplicationConfiguration remain, in spite of calling
 unregisterAppConfiguration().
 I confirmed the demo can communicate with a health device at first time, but
 second time or later it cann't.
 Sometimes Android reboots when I unregister the application config and
 REregister.
 The demo can communicate only once whenever rebooting.

 My health devices
 blood pressure: HEM-7081-IT
 weighing machine: HBF-206IT
 pedometer: HJ-720IT

 I can communicate currectly with all of these devices and get health
 data.(only once whenever rebooting)


 On Thursday, July 12, 2012 6:06:55 PM UTC+9, jfernandez wrote:

 Hi wambin:

 Could you tell more about the exact problem that you are experiencing?
 And, what's the medical device that you are using?

 Regards.

 On Tue, Jul 10, 2012 at 12:16 PM, wambin ambitiouss...@gmail.com wrote:
  Hi jfernandez and all.
 
  I've had the same problem for half a year.
  My device is Galaxy Nexus SC-04D ver4.0.4.
  I've not solved this problem yet, in spite of half a year researches.
  I gradually be sure that this is a bug of unregisterAppConfig().
  Here is a report about this problem.
  Google android group
 
  http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
 
  I think this is a only way to report the bug to Android API developers,
  because developer.android.com provides this forum as a Support.
  So, I want you to add a star or comment to this issue, if you have the
  same
  problem.
  And wish to be debug.
 
 
  On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote:
 
  Hi all,
 
  I have observed a strange and undesirable behaviour that I'm going to
  describe. When an HDP channel is stablished, the Android system starts
  a long proccess of freeing memory (I have lots of Logcat messages like
  dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
  system crashes and the smartphone is rebooted. I don't know if this is
  a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
  anybody has the same problem?
 
  Thanks and regards!
 
  On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:
   Hi all,
  
   I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the channel
   connection and I can see that the device starts sending data to the
   smartphone. However, the smartphone isunableto open the channel
   connectionHDP.
  
   At the end of this message you can see the output obtained in the
   LogCat.
  
   Has anybody achieved to run successfully this sample about the use of
   the Bluetooth Health Profile API? Any ideas?
  
   Thanks. Regards.
  
  
  
   [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html
  
   This is the log that I obtain:
  
   12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath:
   /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
   obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
   chan3115
   12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
   onHealthDeviceConnectionResult: D-Bus error:
   org.bluez.Error.HealthError (Mdl is not created)
   12-15 16:41:00.074: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6001
   12-15 16:41:00.214: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6000
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name
   of
   Property is: MainChannel Value:/org/bluez/278/hci0/
   dev_00_80_25_14_A1_BC/chan3115
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from 

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-17 Thread wambin
For my 6 monthes reseach, I understand that below.
No one can build Android HDP application with this HDP API.
(Some people built HDP app to use Bluez with JNI. search in youtube.)
I cann't find any Android HDP app in markets.
(it has taken 6 monthes over since HDP API to be published!)
So many people have troubles about HDP demo.
Android API developers don't take any action about it.
(4.1.1 jellybean has same problems 
http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars)

The only way to report the problem to Android API developers is Google 
group Android.
(http://code.google.com/p/android/issues/list)
developer.android.com dosen't publish mail address but provide this forum.
I want to add star to the HDP 
issues(http://code.google.com/p/android/issues/detail?id=26704q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars)
 
API developers to see, if no one has solution.

Regards.

On Tuesday, July 17, 2012 4:49:41 PM UTC+9, jfernandez wrote:

 Hi wambin, 

 Then, you have found the same troubles that all of us. 

 Regards. 

 On Tue, Jul 17, 2012 at 7:59 AM, wambin ambitiouss...@gmail.com wrote: 
  Hi, thanks to reply. 
  The problem is that ApplicationConfiguration remain, in spite of calling 
  unregisterAppConfiguration(). 
  I confirmed the demo can communicate with a health device at first time, 
 but 
  second time or later it cann't. 
  Sometimes Android reboots when I unregister the application config and 
  REregister. 
  The demo can communicate only once whenever rebooting. 
  
  My health devices 
  blood pressure: HEM-7081-IT 
  weighing machine: HBF-206IT 
  pedometer: HJ-720IT 
  
  I can communicate currectly with all of these devices and get health 
  data.(only once whenever rebooting) 
  
  
  On Thursday, July 12, 2012 6:06:55 PM UTC+9, jfernandez wrote: 
  
  Hi wambin: 
  
  Could you tell more about the exact problem that you are experiencing? 
  And, what's the medical device that you are using? 
  
  Regards. 
  
  On Tue, Jul 10, 2012 at 12:16 PM, wambin ambitiouss...@gmail.com 
 wrote: 
   Hi jfernandez and all. 
   
   I've had the same problem for half a year. 
   My device is Galaxy Nexus SC-04D ver4.0.4. 
   I've not solved this problem yet, in spite of half a year researches. 
   I gradually be sure that this is a bug of unregisterAppConfig(). 
   Here is a report about this problem. 
   Google android group 
   
   
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
  
   
   I think this is a only way to report the bug to Android API 
 developers, 
   because developer.android.com provides this forum as a Support. 
   So, I want you to add a star or comment to this issue, if you have 
 the 
   same 
   problem. 
   And wish to be debug. 
   
   
   On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote: 
   
   Hi all, 
   
   I have observed a strange and undesirable behaviour that I'm going 
 to 
   describe. When an HDP channel is stablished, the Android system 
 starts 
   a long proccess of freeing memory (I have lots of Logcat messages 
 like 
   dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, 
 the 
   system crashes and the smartphone is rebooted. I don't know if this 
 is 
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does 
   anybody has the same problem? 
   
   Thanks and regards! 
   
   On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com 
   wrote: 
Hi all, 

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0 
Ice Cream Sandwich) in my Android smartphone. When I have 
 registered 
the application in order to receive data, and I have paired the 
biomedical device with the smartphone, I try to open the channel 
connection and I can see that the device starts sending data to 
 the 
smartphone. However, the smartphone isunableto open the channel 
connectionHDP. 

At the end of this message you can see the output obtained in the 
LogCat. 

Has anybody achieved to run successfully this sample about the use 
 of 
the Bluetooth Health Profile API? Any ideas? 

Thanks. Regards. 



[1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html 

This is the log that I obtain: 

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 
12-15 16:40:54.068: D/BluetoothService(147): 
 CONNECTION_STATE_CHANGE: 
00:80:25:14:A1:BC: 0 - 1 
12-15 16:40:55.169: D/ConnectivityService(147): 
handleInetConditionHoldEnd: net=1, condition=0, published 
 condition=0 
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property 
changed: 00:80:25:14:A1:BC property: Connected value: true 
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : 
devicePath: 

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-16 Thread wambin
Hi, thanks to reply.
The problem is that ApplicationConfiguration remain, in spite of calling 
unregisterAppConfiguration().
I confirmed the demo can communicate with a health device at first time, 
but second time or later it cann't.
Sometimes Android reboots when I unregister the application config and 
REregister.
The demo can communicate only once whenever rebooting.

My health devices
blood pressure: HEM-7081-IT
weighing machine: HBF-206IT
pedometer: HJ-720IT

I can communicate currectly with all of these devices and get health 
data.(only once whenever rebooting)

On Thursday, July 12, 2012 6:06:55 PM UTC+9, jfernandez wrote:

 Hi wambin: 

 Could you tell more about the exact problem that you are experiencing? 
 And, what's the medical device that you are using? 

 Regards. 

 On Tue, Jul 10, 2012 at 12:16 PM, wambin ambitiouss...@gmail.com wrote: 
  Hi jfernandez and all. 
  
  I've had the same problem for half a year. 
  My device is Galaxy Nexus SC-04D ver4.0.4. 
  I've not solved this problem yet, in spite of half a year researches. 
  I gradually be sure that this is a bug of unregisterAppConfig(). 
  Here is a report about this problem. 
  Google android group 
  
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars
  
  
  I think this is a only way to report the bug to Android API developers, 
  because developer.android.com provides this forum as a Support. 
  So, I want you to add a star or comment to this issue, if you have the 
 same 
  problem. 
  And wish to be debug. 
  
  
  On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote: 
  
  Hi all, 
  
  I have observed a strange and undesirable behaviour that I'm going to 
  describe. When an HDP channel is stablished, the Android system starts 
  a long proccess of freeing memory (I have lots of Logcat messages like 
  dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the 
  system crashes and the smartphone is rebooted. I don't know if this is 
  a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does 
  anybody has the same problem? 
  
  Thanks and regards! 
  
  On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com 
  wrote: 
   Hi all, 
   
   I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0 
   Ice Cream Sandwich) in my Android smartphone. When I have registered 
   the application in order to receive data, and I have paired the 
   biomedical device with the smartphone, I try to open the channel 
   connection and I can see that the device starts sending data to the 
   smartphone. However, the smartphone isunableto open the channel 
   connectionHDP. 
   
   At the end of this message you can see the output obtained in the 
   LogCat. 
   
   Has anybody achieved to run successfully this sample about the use of 
   the Bluetooth Health Profile API? Any ideas? 
   
   Thanks. Regards. 
   
   
   [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html 
   
   This is the log that I obtain: 
   
   12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 
   12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE: 
   00:80:25:14:A1:BC: 0 - 1 
   12-15 16:40:55.169: D/ConnectivityService(147): 
   handleInetConditionHoldEnd: net=1, condition=0, published condition=0 
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property 
   changed: 00:80:25:14:A1:BC property: Connected value: true 
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : 
   devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ 
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 
   12-15 16:41:00.034: E/BluetoothService.cpp(147): 
   getChannelApplicationNative 
   12-15 16:41:00.044: E/bluetooth_common.cpp(147): 
   dbus_func_args_timeout_valist: D-Bus error in Acquire: 
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error 
   obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ 
   chan3115 
   12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative 
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): 
   onHealthDeviceConnectionResult: D-Bus error: 
   org.bluez.Error.HealthError (Mdl is not created) 
   12-15 16:41:00.074: D/BluetoothEventLoop(147): 
   onHealthDeviceConnectionResult 2 6001 
   12-15 16:41:00.214: D/BluetoothEventLoop(147): 
   onHealthDeviceConnectionResult 2 6000 
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name 
 of 
   Property is: MainChannel Value:/org/bluez/278/hci0/ 
   dev_00_80_25_14_A1_BC/chan3115 
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Android Developers group. 
  To post to this group, send email to android-developers@googlegroups.com 
  To unsubscribe from this group, send email to 
  

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-12 Thread Jorge Fernández
Hi wambin:

Could you tell more about the exact problem that you are experiencing?
And, what's the medical device that you are using?

Regards.

On Tue, Jul 10, 2012 at 12:16 PM, wambin ambitiouss...@gmail.com wrote:
 Hi jfernandez and all.

 I've had the same problem for half a year.
 My device is Galaxy Nexus SC-04D ver4.0.4.
 I've not solved this problem yet, in spite of half a year researches.
 I gradually be sure that this is a bug of unregisterAppConfig().
 Here is a report about this problem.
 Google android group
 http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars

 I think this is a only way to report the bug to Android API developers,
 because developer.android.com provides this forum as a Support.
 So, I want you to add a star or comment to this issue, if you have the same
 problem.
 And wish to be debug.


 On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote:

 Hi all,

 I have observed a strange and undesirable behaviour that I'm going to
 describe. When an HDP channel is stablished, the Android system starts
 a long proccess of freeing memory (I have lots of Logcat messages like
 dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
 system crashes and the smartphone is rebooted. I don't know if this is
 a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
 anybody has the same problem?

 Thanks and regards!

 On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:
  Hi all,
 
  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone isunableto open the channel
  connectionHDP.
 
  At the end of this message you can see the output obtained in the
  LogCat.
 
  Has anybody achieved to run successfully this sample about the use of
  the Bluetooth Health Profile API? Any ideas?
 
  Thanks. Regards.
 
 
  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html
 
  This is the log that I obtain:
 
  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-07-10 Thread wambin
Hi jfernandez and all.

I've had the same problem for half a year.
My device is Galaxy Nexus SC-04D ver4.0.4.
I've not solved this problem yet, in spite of half a year researches.
I gradually be sure that this is a bug of unregisterAppConfig().
Here is a report about this problem.
Google android group
http://code.google.com/p/android/issues/detail?id=26704can=1q=hdpcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars

I think this is a only way to report the bug to Android API developers, 
because developer.android.com provides this forum as a Support.
So, I want you to add a star or comment to this issue, if you have the same 
problem.
And wish to be debug.

On Thursday, February 2, 2012 8:05:51 PM UTC+9, jfernandez wrote:

 Hi all, 

 I have observed a strange and undesirable behaviour that I'm going to 
 describe. When an HDP channel is stablished, the Android system starts 
 a long proccess of freeing memory (I have lots of Logcat messages like 
 dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the 
 system crashes and the smartphone is rebooted. I don't know if this is 
 a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does 
 anybody has the same problem? 

 Thanks and regards! 

 On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com 
 wrote: 
  Hi all, 
  
  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0 
  Ice Cream Sandwich) in my Android smartphone. When I have registered 
  the application in order to receive data, and I have paired the 
  biomedical device with the smartphone, I try to open the channel 
  connection and I can see that the device starts sending data to the 
  smartphone. However, the smartphone isunableto open the channel 
  connectionHDP. 
  
  At the end of this message you can see the output obtained in the 
  LogCat. 
  
  Has anybody achieved to run successfully this sample about the use of 
  the Bluetooth Health Profile API? Any ideas? 
  
  Thanks. Regards. 
  
  [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html 
  
  This is the log that I obtain: 
  
  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE: 
  00:80:25:14:A1:BC: 0 - 1 
  12-15 16:40:55.169: D/ConnectivityService(147): 
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0 
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property 
  changed: 00:80:25:14:A1:BC property: Connected value: true 
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : 
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ 
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 
  12-15 16:41:00.034: E/BluetoothService.cpp(147): 
  getChannelApplicationNative 
  12-15 16:41:00.044: E/bluetooth_common.cpp(147): 
  dbus_func_args_timeout_valist: D-Bus error in Acquire: 
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error 
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ 
  chan3115 
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative 
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): 
  onHealthDeviceConnectionResult: D-Bus error: 
  org.bluez.Error.HealthError (Mdl is not created) 
  12-15 16:41:00.074: D/BluetoothEventLoop(147): 
  onHealthDeviceConnectionResult 2 6001 
  12-15 16:41:00.214: D/BluetoothEventLoop(147): 
  onHealthDeviceConnectionResult 2 6000 
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of 
  Property is: MainChannel Value:/org/bluez/278/hci0/ 
  dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-06-27 Thread anatoliy.odukha
Hi all,

There are NexusS 4.0.4 available, Does anybody use it together with Nonin 
9560bt? For me it refuse connection constantly. (but once I was able to 
read data from the device, cannnot reproduce this result)
I logcat:
06-25 16:17:48.117: D/HSSHDP(2103): connectChannel(): app configuration 
name HSSHDP
06-25 16:17:48.129: W/HSSHDP(2103): prevState 0 -- newState 1
06-25 16:17:48.476: D/BluetoothEventLoop(136): Device property changed: 
00:1C:05:00:6C:D8 property: Connected value: true
06-25 16:17:48.859: E/BluetoothEventLoop.cpp(136): 
onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError 
(Connection refused (111))
06-25 16:17:48.859: D/BluetoothEventLoop(136): 
onHealthDeviceConnectionResult 12 6001
06-25 16:17:48.871: W/HSSHDP(2103): prevState 1 -- newState 0

Any ideas how to use this device?


Четвер, 15 грудня 2011 р. 19:30:08 UTC+2 користувач jfernandez написав:

 Hi all,

 I'm executing the Bluetooth HDP Demo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connection HDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 the Bluetooth Health Profile API? Any ideas?

 Thanks. Regards.

 [1] http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-06-27 Thread anatoliy.odukha
Hi Raul,

I have been working with NexusS(4.0.4)  +  Nonin 9560bt several last day 
buy still have no results(I received result from device only once, cannot 
reproduce it again). It refuses connection,
06-25 16:17:48.117: D/HSSHDP(2103): connectChannel(): app configuration 
name HSSHDP
06-25 16:17:48.129: W/HSSHDP(2103): prevState 0 -- newState 1
06-25 16:17:48.476: D/BluetoothEventLoop(136): Device property changed: 
00:1C:05:00:6C:D8 property: Connected value: true
06-25 16:17:48.859: E/BluetoothEventLoop.cpp(136): 
onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError 
(Connection refused (111))
06-25 16:17:48.859: D/BluetoothEventLoop(136): 
onHealthDeviceConnectionResult 12 6001
06-25 16:17:48.871: W/HSSHDP(2103): prevState 1 -- newState 0

Could you please share any solution, please?


Пʼятниця, 20 січня 2012 р. 18:00:10 UTC+2 користувач Raul Ruiz написав:

 Hi all, 

 I have Nonin working with HDP, if someone need help tell me. 



 On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com 
 wrote: 
  Hi Fernando, 
  
  I have introduced a change in the implementation of the 
  BluetoothHealthCallback mHealthCallback. Exactly, in its method 
  onHealthChannelStateChange(...). I detected that the state machine 
  during the stablishment of a new HDP connection is: Disconnected- 
  Connecting-Connected. However, you can see that the example is 
  checking the case Disconnected-Connected, but not the case Connecting- 
  Connected. I added this new case Connecting-Connected, and now it 
  works and I'm able to read/write data from/to UA-767PBT-C and a board 
  that emulates several biomedical devices. 
  
  I hope it help you. 
  
  Regards. 
  
  On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote: 
  
  
  
  
  
  
  
   Hi jfernandez... i upgrade my android version to 4.03 and still can't 
   connect... 
  
   Could you please show me the changes that you made? 
  
   Thank you 
  
   On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com 
   wrote: 
  
Hi again, 
  
Well, after upgrading my Android 4.0 to 4.03, and adding some 
 changes 
to the BluetoothHDPsample, I'm able to connect to the biomedical 
device, as well as I'm able to read/write data from/to theHDP 
channel. So, it seems the problem has been fixed in this new Android 
version. 
  
Regards. 
  
On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com 
wrote: 
  
 Hi all, 
  
 I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0 
 Ice Cream Sandwich) in my Android smartphone. When I have 
 registered 
 the application in order to receive data, and I have paired the 
 biomedical device with the smartphone, I try to open the channel 
 connection and I can see that the device starts sending data to 
 the 
 smartphone. However, the smartphone is unable to open the channel 
 connectionHDP. 
  
 At the end of this message you can see the output obtained in the 
 LogCat. 
  
 Has anybody achieved to run successfully this sample about the use 
 of 
 theBluetoothHealth Profile API? Any ideas? 
  
 Thanks. Regards. 
  
 [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html 
  
 This is the log that I obtain: 
  
 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 
 12-15 16:40:54.068: D/BluetoothService(147): 
 CONNECTION_STATE_CHANGE: 
 00:80:25:14:A1:BC: 0 - 1 
 12-15 16:40:55.169: D/ConnectivityService(147): 
 handleInetConditionHoldEnd: net=1, condition=0, published 
 condition=0 
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property 
 changed: 00:80:25:14:A1:BC property: Connected value: true 
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : 
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ 
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 
 12-15 16:41:00.034: E/BluetoothService.cpp(147): 
 getChannelApplicationNative 
 12-15 16:41:00.044: E/bluetooth_common.cpp(147): 
 dbus_func_args_timeout_valist: D-Bus error in Acquire: 
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error 
 obtaining fd for 
 channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ 
 chan3115 
 12-15 16:41:00.074: E/BluetoothService.cpp(147): 
 destroyChannelNative 
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): 
 onHealthDeviceConnectionResult: D-Bus error: 
 org.bluez.Error.HealthError (Mdl is not created) 
 12-15 16:41:00.074: D/BluetoothEventLoop(147): 
 onHealthDeviceConnectionResult 2 6001 
 12-15 16:41:00.214: D/BluetoothEventLoop(147): 
 onHealthDeviceConnectionResult 2 6000 
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : 
 Name of 
 Property is: MainChannel 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-06-04 Thread YFMiracle
same problem here, 
log cat gives onHealthDeviceConnectionResult: D-Bus error: 
org.bluez.Error.HealthError (Error getting remote SDP records)

yes the device is paired, tested on both Samsung Galaxy Nexus (Android 
4.0.1) and motorola xoom Wifi tablet (4.0.3)

if any 1 has found any solution a link would help a lot

On Thursday, May 24, 2012 12:53:43 AM UTC-4, anupam jain wrote:




 Hi all,

 I'm executing the Bluetooth HDP Demo (offered from Android 4.0
 Ice Cream Sandwich) in my Android Acer tablet. but my read thread not

 working. any body suggest me.
 thanks
 anupam jain 
  




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-05-25 Thread anupam jain



Hi all,

 I'm executing the Bluetooth HDP Demo (offered from Android 4.0
 Ice Cream Sandwich) in my Android Acer tablet. but my read thread not

working. any body suggest me.
thanks
anupam jain 
 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-03-14 Thread GregKoshmak
Dear All,

I've tried to post in this thread earlier, but not sure if it worked
so I decided to duplicate my message.

So, thanks for a lot of useful information, it was a blast to read this 
thread
while connecting android 4.0 phone with Nonin Oximeter sensor.

Everything seems to work fine, sensor is connected to a phone
through application and a green indicator is on. But when it comes
to interpreting the data, I might need some tips.

I receive a raw data (54 bytes) from sensor which represents an associate 
request.
Then my manager should reply on this request choosing from the following 
options:
(a) accept (b) unknown configuration (c) accepted with extended 
configuration

I send a respond (b) and get 140 bytes with as I guess sensor's 
configuration.
I can also send a attribute request and the sensor response with 188 bytes
including the name of the company and type of sensor.

I am a bit lost in all these bytes, requests, responses.
Does anyone have any tips or approach for interpreting sensor data?

regards,
Gregory 

Den torsdagen den 15:e december 2011 kl. 18:30:08 UTC+1 skrev jfernandez:

 Hi all,

 I'm executing the Bluetooth HDP Demo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connection HDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 the Bluetooth Health Profile API? Any ideas?

 Thanks. Regards.

 [1] http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-03-14 Thread GregKoshmak
Hey guys!

It was a blast to read your thread while I was trying
to connect android 4.0 phone with Nonin Oximeter last months.

The connection works fine and I can see green indicator
together with Connected section on the screen.
Then it was time to implement a manager and that is
when I got some problems.

So I am able to receive (as a raw data) 54 bytes which look as
following:
e2328001002a5079002680...
As I figured out from IEEE 11073-10404 specifications this
first byte array is sending an associate request, on which my manager
has to
reply using one of the options:
(a) accept (b) unknown configuration (c) accept with unknown
configuration

I will describe next steps I decided to take, but first I just wanna
make sure that i am on the right way.

Let me know if I got it all wrong.
Any tips are appreciated.

regards,
Gregory

On Feb 9, 4:04 pm, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi Chenchen and Ming,

 Sorry for the delay. I think you are right Chenchen, I obtain the same
 behaviour, so, I guess the problem is in the Android source code...
 Well, we will wait for a new Android release solving this issue.

 Regards.

 On 9 feb, 15:58, Ming ming030...@gmail.com wrote:







  Exactly same problem with you.
  I am using UA-767-PBT-C
  After connected to the device, I can see the Connection State is
  Connected and Reading data... and a green icon.
  However, I can never see data.
  In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
  sometime even reboot!
  Do u solve the problem? Thank You.

  On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I have observed a strange and undesirable behaviour that I'm going to
   describe. When anHDPchannel is stablished, the Android system starts
   a long proccess of freeing memory (I have lots of Logcat messages like
   dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
   system crashes and the smartphone is rebooted. I don't know if this is
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
   anybody has the same problem?

   Thanks and regards!

   On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone isunableto open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
chan3115
12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
onHealthDeviceConnectionResult: D-Bus error:
org.bluez.Error.HealthError (Mdl is not created)
12-15 16:41:00.074: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6001
12-15 16:41:00.214: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6000
12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
Property is: MainChannel Value:/org/bluez/278/hci0/
dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-20 Thread Raul Ruiz
I try Android 4.0.4 on Samsung Nexus S and the bug isn't fixed.

Regards

On 9 feb, 17:52, Raul Ruiz spekwh...@gmail.com wrote:
 Hi all,

 I will test the new version of Android 4.0.4 on Monday. I will comment
 if the problem is fixed or not.

 Regards.

 On 9 feb, 16:04, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi Chenchen and Ming,

  Sorry for the delay. I think you are right Chenchen, I obtain the same
  behaviour, so, I guess the problem is in the Android source code...
  Well, we will wait for a new Android release solving this issue.

  Regards.

  On 9 feb, 15:58, Ming ming030...@gmail.com wrote:

   Exactly same problem with you.
   I am using UA-767-PBT-C
   After connected to the device, I can see the Connection State is
   Connected and Reading data... and a green icon.
   However, I can never see data.
   In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
   sometime even reboot!
   Do u solve the problem? Thank You.

   On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I have observed a strange and undesirable behaviour that I'm going to
describe. When anHDPchannel is stablished, the Android system starts
a long proccess of freeing memory (I have lots of Logcat messages like
dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
system crashes and the smartphone is rebooted. I don't know if this is
a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
anybody has the same problem?

Thanks and regards!

On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi all,

 I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone isunableto open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-12 Thread Ming
Thx ALL of you! I get it finally!

On Feb 12, 3:54 pm, Ming ming030...@gmail.com wrote:
 Thx all, with the effort of two days, now I can read the data from the
 device
 But Do you all can get the same data displayed on the screen? I
 cannot  parse the data correctly.
 As I know, the data should follow the ieee100407,but it seems that it
 does not follow 100%...
 I search for the Internet and find the parser implemented in python
 code ,https://gitorious.org/hdpy/hdpy/blobs/master/src/hdp/dummy_ieee10407a...
 I port the code in Java, and I have a list of blood pressure.
 The pressure make senses (SP  MP DP), but all the value is just not
 the value printed on the screen of device.

 Best Regards.

 On Feb 9, 11:04 pm, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi Chenchen and Ming,

  Sorry for the delay. I think you are right Chenchen, I obtain the same
  behaviour, so, I guess the problem is in the Android source code...
  Well, we will wait for a new Android release solving this issue.

  Regards.

  On 9 feb, 15:58, Ming ming030...@gmail.com wrote:

   Exactly same problem with you.
   I am using UA-767-PBT-C
   After connected to the device, I can see the Connection State is
   Connected and Reading data... and a green icon.
   However, I can never see data.
   In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
   sometime even reboot!
   Do u solve the problem? Thank You.

   On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I have observed a strange and undesirable behaviour that I'm going to
describe. When anHDPchannel is stablished, the Android system starts
a long proccess of freeing memory (I have lots of Logcat messages like
dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
system crashes and the smartphone is rebooted. I don't know if this is
a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
anybody has the same problem?

Thanks and regards!

On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi all,

 I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone isunableto open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-11 Thread Ming
Thx all, with the effort of two days, now I can read the data from the
device
But Do you all can get the same data displayed on the screen? I
cannot  parse the data correctly.
As I know, the data should follow the ieee100407,but it seems that it
does not follow 100%...
I search for the Internet and find the parser implemented in python
code , 
https://gitorious.org/hdpy/hdpy/blobs/master/src/hdp/dummy_ieee10407aed.py
I port the code in Java, and I have a list of blood pressure.
The pressure make senses (SP  MP DP), but all the value is just not
the value printed on the screen of device.

Best Regards.

On Feb 9, 11:04 pm, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi Chenchen and Ming,

 Sorry for the delay. I think you are right Chenchen, I obtain the same
 behaviour, so, I guess the problem is in the Android source code...
 Well, we will wait for a new Android release solving this issue.

 Regards.

 On 9 feb, 15:58, Ming ming030...@gmail.com wrote:







  Exactly same problem with you.
  I am using UA-767-PBT-C
  After connected to the device, I can see the Connection State is
  Connected and Reading data... and a green icon.
  However, I can never see data.
  In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
  sometime even reboot!
  Do u solve the problem? Thank You.

  On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I have observed a strange and undesirable behaviour that I'm going to
   describe. When anHDPchannel is stablished, the Android system starts
   a long proccess of freeing memory (I have lots of Logcat messages like
   dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
   system crashes and the smartphone is rebooted. I don't know if this is
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
   anybody has the same problem?

   Thanks and regards!

   On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone isunableto open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
chan3115
12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
onHealthDeviceConnectionResult: D-Bus error:
org.bluez.Error.HealthError (Mdl is not created)
12-15 16:41:00.074: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6001
12-15 16:41:00.214: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6000
12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
Property is: MainChannel Value:/org/bluez/278/hci0/
dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-09 Thread Ming
Exactly same problem with you.
I am using UA-767-PBT-C
After connected to the device, I can see the Connection State is
Connected and Reading data... and a green icon.
However, I can never see data.
In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
sometime even reboot!
Do u solve the problem? Thank You.

On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi all,

 I have observed a strange and undesirable behaviour that I'm going to
 describe. When an HDP channel is stablished, the Android system starts
 a long proccess of freeing memory (I have lots of Logcat messages like
 dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
 system crashes and the smartphone is rebooted. I don't know if this is
 a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
 anybody has the same problem?

 Thanks and regards!

 On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi all,

  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone isunableto open the channel
  connectionHDP.

  At the end of this message you can see the output obtained in the
  LogCat.

  Has anybody achieved to run successfully this sample about the use of
  the Bluetooth Health Profile API? Any ideas?

  Thanks. Regards.

  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

  This is the log that I obtain:

  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-09 Thread jfernandez
Hi Chenchen and Ming,

Sorry for the delay. I think you are right Chenchen, I obtain the same
behaviour, so, I guess the problem is in the Android source code...
Well, we will wait for a new Android release solving this issue.

Regards.

On 9 feb, 15:58, Ming ming030...@gmail.com wrote:
 Exactly same problem with you.
 I am using UA-767-PBT-C
 After connected to the device, I can see the Connection State is
 Connected and Reading data... and a green icon.
 However, I can never see data.
 In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
 sometime even reboot!
 Do u solve the problem? Thank You.

 On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi all,

  I have observed a strange and undesirable behaviour that I'm going to
  describe. When anHDPchannel is stablished, the Android system starts
  a long proccess of freeing memory (I have lots of Logcat messages like
  dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
  system crashes and the smartphone is rebooted. I don't know if this is
  a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
  anybody has the same problem?

  Thanks and regards!

  On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the channel
   connection and I can see that the device starts sending data to the
   smartphone. However, the smartphone isunableto open the channel
   connectionHDP.

   At the end of this message you can see the output obtained in the
   LogCat.

   Has anybody achieved to run successfully this sample about the use of
   theBluetoothHealth Profile API? Any ideas?

   Thanks. Regards.

   [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

   This is the log that I obtain:

   12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
   obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
   chan3115
   12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
   onHealthDeviceConnectionResult: D-Bus error:
   org.bluez.Error.HealthError (Mdl is not created)
   12-15 16:41:00.074: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6001
   12-15 16:41:00.214: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6000
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
   Property is: MainChannel Value:/org/bluez/278/hci0/
   dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-09 Thread Raul Ruiz
Hi all,

I will test the new version of Android 4.0.4 on Monday. I will comment
if the problem is fixed or not.

Regards.


On 9 feb, 16:04, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi Chenchen and Ming,

 Sorry for the delay. I think you are right Chenchen, I obtain the same
 behaviour, so, I guess the problem is in the Android source code...
 Well, we will wait for a new Android release solving this issue.

 Regards.

 On 9 feb, 15:58, Ming ming030...@gmail.com wrote:

  Exactly same problem with you.
  I am using UA-767-PBT-C
  After connected to the device, I can see the Connection State is
  Connected and Reading data... and a green icon.
  However, I can never see data.
  In log ,I keep receiving dalvikm - GC_CONCURRENT freed 494K ..., and
  sometime even reboot!
  Do u solve the problem? Thank You.

  On Feb 2, 7:05 pm, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I have observed a strange and undesirable behaviour that I'm going to
   describe. When anHDPchannel is stablished, the Android system starts
   a long proccess of freeing memory (I have lots of Logcat messages like
   dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
   system crashes and the smartphone is rebooted. I don't know if this is
   a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
   anybody has the same problem?

   Thanks and regards!

   On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone isunableto open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
chan3115
12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
onHealthDeviceConnectionResult: D-Bus error:
org.bluez.Error.HealthError (Mdl is not created)
12-15 16:41:00.074: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6001
12-15 16:41:00.214: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6000
12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
Property is: MainChannel Value:/org/bluez/278/hci0/
dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-03 Thread Chenchen
Hi Fernandez,
I have the same problem.  I think it is because the bluetooth does not
close properly.  In my case, I didn't touch the default state machine
and it does not turn off the blue color bluetooth logo after the
measurement is finished.  And Connection State is still CONNECTED.
Which is very weird.  Have you encountering the same problem?

Thanks and regards,
Chenchen


On Feb 2, 3:05 am, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi all,

 I have observed a strange and undesirable behaviour that I'm going to
 describe. When an HDP channel is stablished, the Android system starts
 a long proccess of freeing memory (I have lots of Logcat messages like
 dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
 system crashes and the smartphone is rebooted. I don't know if this is
 a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
 anybody has the same problem?

 Thanks and regards!

 On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi all,

  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone isunableto open the channel
  connectionHDP.

  At the end of this message you can see the output obtained in the
  LogCat.

  Has anybody achieved to run successfully this sample about the use of
  the Bluetooth Health Profile API? Any ideas?

  Thanks. Regards.

  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

  This is the log that I obtain:

  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-02-02 Thread jfernandez
Hi all,

I have observed a strange and undesirable behaviour that I'm going to
describe. When an HDP channel is stablished, the Android system starts
a long proccess of freeing memory (I have lots of Logcat messages like
dalvikm - GC_CONCURRENT freed 494K ...), even in some occasions, the
system crashes and the smartphone is rebooted. I don't know if this is
a problem of my ROM/smartphone (I'm using Android 4.0.3 ICS). Does
anybody has the same problem?

Thanks and regards!

On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi all,

 I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone isunableto open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 the Bluetooth Health Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread Ming
Hi everyone,
I am planning to do a HDP project too. 
I would like to ask where you guys buy the medical device that support HDP?
It seems that most of you buy UA-767PBT-C, but I can't find where to buy 
this device...

I only find UA-767BT
http://www.amazon.com/UA-767PBT-D-Bluetooth-Blood-Pressure/dp/B0028Q2P3Y 


Thank a lot!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread vijay
Hi ,

I still see the issue with my Nonin device even on Android 4.0.3.
here is what is see in my log,

using demo sample i am able to connect to the device but i am not
getting any data from the device

Any help?

I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:conn_complete() status 0x00
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/src/adapter.c:adapter_get_device() 00:1C:05:00:49:4A
D/BluetoothEventLoop( 1089): Device property changed: 00:1C:
05:00:49:4A property: Connected value: true
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:remote_features_information() hci0 status 0
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:remote_name_information() hci0 status 0

E/BluetoothEventLoop.cpp( 1089): onHealthDeviceConnectionResult: D-Bus
error: org.bluez.Error.HealthError (No matching MDEP found)

D/BluetoothEventLoop( 1089): onHealthDeviceConnectionResult 1 6001
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:disconn_complete() handle 1 status 0x00
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/src/event.c:btd_event_disconn_complete()
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/src/adapter.c:adapter_remove_connection()
D/BluetoothEventLoop( 1089): Device property changed: 00:1C:
05:00:49:4A property: Connected value: false
W/ThrottleService( 1089): unable to find stats for iface rmnet0
I/power   ( 1089): *** set_screen_state 0
D/SurfaceFlinger(  125): About to give-up screen, flinger = 0x1420918
W/ProcessStats( 1089): Skipping unknown process pid 1620
W/NetworkManagementSocketTagger( 1089): setKernelCountSet(10048, 0)
failed with errno -2
D/dalvikvm( 1089): GC_CONCURRENT freed 629K, 14% free 8879K/10247K,
paused 5ms+4ms




On Jan 14, 6:07 am, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi Fernando,

 I have introduced a change in the implementation of the
 BluetoothHealthCallback mHealthCallback. Exactly, in its method
 onHealthChannelStateChange(...). I detected that the state machine
 during the stablishment of a new HDP connection is: Disconnected-
 Connecting-Connected. However, you can see that the example is
 checking the case Disconnected-Connected, but not the case Connecting-
 Connected. I added this new case Connecting-Connected, and now it
 works and I'm able to read/write data from/to UA-767PBT-C and a board
 that emulates several biomedical devices.

 I hope it help you.

 Regards.

 On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:







  Hi jfernandez... i upgrade my android version to 4.03 and still can't
  connect...

  Could you please show me the changes that you made?

  Thank you

  On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi again,

   Well, after upgrading my Android 4.0 to 4.03, and adding some changes
   to the BluetoothHDPsample, I'm able to connect to the biomedical
   device, as well as I'm able to read/write data from/to theHDP
   channel. So, it seems the problem has been fixed in this new Android
   version.

   Regards.

   On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone is unable to open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread vijay
could you please share the changes need to get it working.
connection seems to working but i don't see data coming to device
running Android 4.0.3

On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote:
 Hi all,

 I have Nonin working with HDP, if someone need help tell me.

 On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi Fernando,

  I have introduced a change in the implementation of the
  BluetoothHealthCallback mHealthCallback. Exactly, in its method
  onHealthChannelStateChange(...). I detected that the state machine
  during the stablishment of a new HDP connection is: Disconnected-
  Connecting-Connected. However, you can see that the example is
  checking the case Disconnected-Connected, but not the case Connecting-
  Connected. I added this new case Connecting-Connected, and now it
  works and I'm able to read/write data from/to UA-767PBT-C and a board
  that emulates several biomedical devices.

  I hope it help you.

  Regards.

  On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:

   Hi jfernandez... i upgrade my android version to 4.03 and still can't
   connect...

   Could you please show me the changes that you made?

   Thank you

   On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi again,

Well, after upgrading my Android 4.0 to 4.03, and adding some changes
to the BluetoothHDPsample, I'm able to connect to the biomedical
device, as well as I'm able to read/write data from/to theHDP
channel. So, it seems the problem has been fixed in this new Android
version.

Regards.

On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi all,

 I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread jfernandez
Hi vijay,

I'm seeing that you obtain the following error:

onHealthDeviceConnectionResult: D-Bus
error: org.bluez.Error.HealthError (No matching MDEP found)

I guess your Nonin device is a pulse oximeter. Are you sure you are
registering in the HDP code an application interesting in pulse
oximeter data type (0x1004)?

Regards.

On 20 ene, 23:39, vijay vijaybadawad...@gmail.com wrote:
 could you please share the changes need to get it working.
 connection seems to working but i don't see data coming to device
 running Android 4.0.3

 On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote:







  Hi all,

  I have Nonin working withHDP, if someone need help tell me.

  On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi Fernando,

   I have introduced a change in the implementation of the
   BluetoothHealthCallback mHealthCallback. Exactly, in its method
   onHealthChannelStateChange(...). I detected that the state machine
   during the stablishment of a newHDPconnection is: Disconnected-
   Connecting-Connected. However, you can see that the example is
   checking the case Disconnected-Connected, but not the case Connecting-
   Connected. I added this new case Connecting-Connected, and now it
   works and I'm able to read/write data from/to UA-767PBT-C and a board
   that emulates several biomedical devices.

   I hope it help you.

   Regards.

   On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:

Hi jfernandez... i upgrade my android version to 4.03 and still can't
connect...

Could you please show me the changes that you made?

Thank you

On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi again,

 Well, after upgrading my Android 4.0 to 4.03, and adding some changes
 to the BluetoothHDPsample, I'm able to connect to the biomedical
 device, as well as I'm able to read/write data from/to theHDP
 channel. So, it seems the problem has been fixed in this new Android
 version.

 Regards.

 On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:

  Hi all,

  I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone is unable to open the channel
  connectionHDP.

  At the end of this message you can see the output obtained in the
  LogCat.

  Has anybody achieved to run successfully this sample about the use 
  of
  theBluetoothHealth Profile API? Any ideas?

  Thanks. Regards.

  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

  This is the log that I obtain:

  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): 
  CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published 
  condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: 
  /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): 
  destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name 
  of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at

Re: [android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread vijay Badawadagi
HI Jorge,

thanks that solves the problem, now i can see the data from the Nonin.


Regards
Vijay
On Mon, Jan 23, 2012 at 3:13 AM, jfernandez 
jorge.fernandez.gonza...@gmail.com wrote:

 Hi vijay,

 I'm seeing that you obtain the following error:

 onHealthDeviceConnectionResult: D-Bus
 error: org.bluez.Error.HealthError (No matching MDEP found)

 I guess your Nonin device is a pulse oximeter. Are you sure you are
 registering in the HDP code an application interesting in pulse
 oximeter data type (0x1004)?

 Regards.

 On 20 ene, 23:39, vijay vijaybadawad...@gmail.com wrote:
  could you please share the changes need to get it working.
  connection seems to working but i don't see data coming to device
  running Android 4.0.3
 
  On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote:
 
 
 
 
 
 
 
   Hi all,
 
   I have Nonin working withHDP, if someone need help tell me.
 
   On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:
 
Hi Fernando,
 
I have introduced a change in the implementation of the
BluetoothHealthCallback mHealthCallback. Exactly, in its method
onHealthChannelStateChange(...). I detected that the state machine
during the stablishment of a newHDPconnection is: Disconnected-
Connecting-Connected. However, you can see that the example is
checking the case Disconnected-Connected, but not the case
 Connecting-
Connected. I added this new case Connecting-Connected, and now it
works and I'm able to read/write data from/to UA-767PBT-C and a board
that emulates several biomedical devices.
 
I hope it help you.
 
Regards.
 
On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:
 
 Hi jfernandez... i upgrade my android version to 4.03 and still
 can't
 connect...
 
 Could you please show me the changes that you made?
 
 Thank you
 
 On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:
 
  Hi again,
 
  Well, after upgrading my Android 4.0 to 4.03, and adding some
 changes
  to the BluetoothHDPsample, I'm able to connect to the biomedical
  device, as well as I'm able to read/write data from/to theHDP
  channel. So, it seems the problem has been fixed in this new
 Android
  version.
 
  Regards.
 
  On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com
  wrote:
 
   Hi all,
 
   I'm executing theBluetoothHDPDemo [1]  (offered from Android
 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have
 registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the
 channel
   connection and I can see that the device starts sending data
 to the
   smartphone. However, the smartphone is unable to open the
 channel
   connectionHDP.
 
   At the end of this message you can see the output obtained in
 the
   LogCat.
 
   Has anybody achieved to run successfully this sample about the
 use of
   theBluetoothHealth Profile API? Any ideas?
 
   Thanks. Regards.
 
   [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html
 
   This is the log that I obtain:
 
   12-15 16:40:54.048: I/BluetoothHDPService(1105):
 connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147):
 CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published
 condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath:
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not
 closed)
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
   obtaining fd for
 channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
   chan3115
   12-15 16:41:00.074: E/BluetoothService.cpp(147):
 destroyChannelNative
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
   onHealthDeviceConnectionResult: D-Bus error:
   org.bluez.Error.HealthError (Mdl is not created)
   12-15 16:41:00.074: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6001
   12-15 16:41:00.214: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6000
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device :
 Name of
   Property is: MainChannel Value:/org/bluez/278/hci0/
   dev_00_80_25_14_A1_BC/chan3115

 --
 You received this 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-20 Thread Raul Ruiz
Hi all,

I have Nonin working with HDP, if someone need help tell me.



On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi Fernando,

 I have introduced a change in the implementation of the
 BluetoothHealthCallback mHealthCallback. Exactly, in its method
 onHealthChannelStateChange(...). I detected that the state machine
 during the stablishment of a new HDP connection is: Disconnected-
 Connecting-Connected. However, you can see that the example is
 checking the case Disconnected-Connected, but not the case Connecting-
 Connected. I added this new case Connecting-Connected, and now it
 works and I'm able to read/write data from/to UA-767PBT-C and a board
 that emulates several biomedical devices.

 I hope it help you.

 Regards.

 On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:







  Hi jfernandez... i upgrade my android version to 4.03 and still can't
  connect...

  Could you please show me the changes that you made?

  Thank you

  On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi again,

   Well, after upgrading my Android 4.0 to 4.03, and adding some changes
   to the BluetoothHDPsample, I'm able to connect to the biomedical
   device, as well as I'm able to read/write data from/to theHDP
   channel. So, it seems the problem has been fixed in this new Android
   version.

   Regards.

   On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone is unable to open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
chan3115
12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
onHealthDeviceConnectionResult: D-Bus error:
org.bluez.Error.HealthError (Mdl is not created)
12-15 16:41:00.074: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6001
12-15 16:41:00.214: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6000
12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
Property is: MainChannel Value:/org/bluez/278/hci0/
dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-14 Thread Fernando Almeida
Hi jfernandez... i upgrade my android version to 4.03 and still can't
connect...

Could you please show me the changes that you made?

Thank you

On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi again,

 Well, after upgrading my Android 4.0 to 4.03, and adding some changes
 to the BluetoothHDPsample, I'm able to connect to the biomedical
 device, as well as I'm able to read/write data from/to theHDP
 channel. So, it seems the problem has been fixed in this new Android
 version.

 Regards.

 On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi all,

  I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone is unable to open the channel
  connectionHDP.

  At the end of this message you can see the output obtained in the
  LogCat.

  Has anybody achieved to run successfully this sample about the use of
  theBluetoothHealth Profile API? Any ideas?

  Thanks. Regards.

  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

  This is the log that I obtain:

  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-14 Thread jfernandez
Hi Fernando,

I have introduced a change in the implementation of the
BluetoothHealthCallback mHealthCallback. Exactly, in its method
onHealthChannelStateChange(...). I detected that the state machine
during the stablishment of a new HDP connection is: Disconnected-
Connecting-Connected. However, you can see that the example is
checking the case Disconnected-Connected, but not the case Connecting-
Connected. I added this new case Connecting-Connected, and now it
works and I'm able to read/write data from/to UA-767PBT-C and a board
that emulates several biomedical devices.

I hope it help you.

Regards.

On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:
 Hi jfernandez... i upgrade my android version to 4.03 and still can't
 connect...

 Could you please show me the changes that you made?

 Thank you

 On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi again,

  Well, after upgrading my Android 4.0 to 4.03, and adding some changes
  to the BluetoothHDPsample, I'm able to connect to the biomedical
  device, as well as I'm able to read/write data from/to theHDP
  channel. So, it seems the problem has been fixed in this new Android
  version.

  Regards.

  On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the channel
   connection and I can see that the device starts sending data to the
   smartphone. However, the smartphone is unable to open the channel
   connectionHDP.

   At the end of this message you can see the output obtained in the
   LogCat.

   Has anybody achieved to run successfully this sample about the use of
   theBluetoothHealth Profile API? Any ideas?

   Thanks. Regards.

   [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

   This is the log that I obtain:

   12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
   obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
   chan3115
   12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
   onHealthDeviceConnectionResult: D-Bus error:
   org.bluez.Error.HealthError (Mdl is not created)
   12-15 16:41:00.074: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6001
   12-15 16:41:00.214: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6000
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
   Property is: MainChannel Value:/org/bluez/278/hci0/
   dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-13 Thread jfernandez
Hi again,

Well, after upgrading my Android 4.0 to 4.03, and adding some changes
to the Bluetooth HDP sample, I'm able to connect to the biomedical
device, as well as I'm able to read/write data from/to the HDP
channel. So, it seems the problem has been fixed in this new Android
version.

Regards.

On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi all,

 I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-13 Thread Fernando Almeida
I have a littmann 3200 and i'm using android 4.0.3...

I just want this to connect :( still can't do nothing about this...

On 9 Jan, 07:35, Raul Ruiz spekwh...@gmail.com wrote:
 Hi Fernando,

 What shetoscope do you have? Android version? Logcat trace?

 Thanks!

 On 8 ene, 22:29, Fernando Almeida reala...@gmail.com wrote:







  Hi all

  I'm trying to connect one sthetoscope to my android device via
  bluetooth and always get error connecting...

  Hope this will correct the problem...

  Some new informations on this please tell me...

  On 5 Jan, 12:08, Raul Ruiz spekwh...@gmail.com wrote:

   Hi Chenchen,

   I'm trying connecting UA-767PBT.-C to android manager that i did and
   it connect and disconnect all time.
   I don't know how do you do connection to get read thread and get the
   association request. If you get something tell me.
   With Nonin i establish connection and i get 0 bytes all time.

   Its problem of L2CAP. BlueZ developers in 4.97 version fixed bug.

   On 4 ene, 23:35, Chenchen chenchen.zh...@gmail.com wrote:

Dear Raul,

I'm playing around with UA-767PBT-C, and find that I could be able to
get the association request by printing log in read thread:
01-04 13:46:49.652: I/BluetoothHDPService(7249):
e200
0032
8000
0001002a
5079
0026
8000
8000 //?? not 0xA0
8000

0080
0008
00091e8002be
02bc
0081  //?? 0x01, 0x00
0100

However, I don't know what is the right now to write association
response back.

On Dec 16 2011, 6:54 am, Raul Ruiz spekwh...@gmail.com wrote:

 Well we have same trouble. I have UA-767PBT-C device too and withHDP
 Demo doesnt connect.

 Im doing a program that receive ACL_CONNECT from device and opens a
 channel.
 In the program, Health service is use by android BT and the link is
 connected but device is in CONNECTING_STATE and then drops down.
 Using a BT sniffer like HCIDUMP, i watch that android BT doest send
 CONNECT RSP to device and I think that this is the problem.

 If you want some help tell me i will continue working in this.

 PD: Me too check this in linux, and it works finelly.I think that dbus
 library is different.

 On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:

  On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

   Hi  Jorge,

  Hi Raul,

   What device are you using? I have a same problem using Nonin 
   9560BT
   pulseoximeter. It conects and disconnects and any data had 
   received in
   the Android.

  I'm working with a board which is able to simulate several 
  biomedical
  devices.

  On the other hand, I have a real device (blood pressure monitor
  UA-767PBT-C). In that case, the device opens theHDPchannel
  automatically with the smartphone which acts as sink. But the truth 
  is
  that I don't see anything in the LogCat related to this channel.
  However, if I try opening the connection channel from theHDPDemo
  Application, I obtain the same error.

  Anyway, I have checked all of this in a Linux laptop using the same
  BlueZ stack that we have in Android and everything works fine.

   Do you have any solution?

  Not yet. I'm expecting some feedback.

   Thanks

   On Dec 15, 6:30 pm, jfernandez 
   jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing the BluetoothHDPDemo [1]  (offered from Android 
4.0
Ice Cream Sandwich) in my Android smartphone. When I have 
registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to 
the
smartphone. However, the smartphone is unable to open the 
channel
connectionHDP.

At the end of this message you can see the output obtained in 
the
LogCat.

Has anybody achieved to run successfully this sample about the 
use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): 
connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): 
CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published 
condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-09 Thread jfernandez
Hi Chenchen,

Please, if you don't mind, could you say me which is the Android
version-ROM that you are using?

Thanks.

On 4 ene, 23:35, Chenchen chenchen.zh...@gmail.com wrote:
 Dear Raul,

 I'm playing around with UA-767PBT-C, and find that I could be able to
 get the association request by printing log in read thread:
 01-04 13:46:49.652: I/BluetoothHDPService(7249):
 e200
 0032
 8000
 0001002a
 5079
 0026
 8000
 8000 //?? not 0xA0
 8000
 
 0080
 0008
 00091e8002be
 02bc
 0081  //?? 0x01, 0x00
 0100

 However, I don't know what is the right now to write association
 response back.

 On Dec 16 2011, 6:54 am, Raul Ruiz spekwh...@gmail.com wrote:







  Well we have same trouble. I have UA-767PBT-C device too and withHDP
  Demo doesnt connect.

  Im doing a program that receive ACL_CONNECT from device and opens a
  channel.
  In the program, Health service is use by android BT and the link is
  connected but device is in CONNECTING_STATE and then drops down.
  Using a BT sniffer like HCIDUMP, i watch that android BT doest send
  CONNECT RSP to device and I think that this is the problem.

  If you want some help tell me i will continue working in this.

  PD: Me too check this in linux, and it works finelly.I think that dbus
  library is different.

  On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

Hi  Jorge,

   Hi Raul,

What device are you using? I have a same problem using Nonin 9560BT
pulseoximeter. It conects and disconnects and any data had received in
the Android.

   I'm working with a board which is able to simulate several biomedical
   devices.

   On the other hand, I have a real device (blood pressure monitor
   UA-767PBT-C). In that case, the device opens theHDPchannel
   automatically with the smartphone which acts as sink. But the truth is
   that I don't see anything in the LogCat related to this channel.
   However, if I try opening the connection channel from theHDPDemo
   Application, I obtain the same error.

   Anyway, I have checked all of this in a Linux laptop using the same
   BlueZ stack that we have in Android and everything works fine.

Do you have any solution?

   Not yet. I'm expecting some feedback.

Thanks

On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi all,

 I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-08 Thread Fernando Almeida
Hi all

I'm trying to connect one sthetoscope to my android device via
bluetooth and always get error connecting...

Hope this will correct the problem...

Some new informations on this please tell me...

On 5 Jan, 12:08, Raul Ruiz spekwh...@gmail.com wrote:
 Hi Chenchen,

 I'm trying connecting UA-767PBT.-C to android manager that i did and
 it connect and disconnect all time.
 I don't know how do you do connection to get read thread and get the
 association request. If you get something tell me.
 With Nonin i establish connection and i get 0 bytes all time.

 Its problem of L2CAP. BlueZ developers in 4.97 version fixed bug.

 On 4 ene, 23:35, Chenchen chenchen.zh...@gmail.com wrote:







  Dear Raul,

  I'm playing around with UA-767PBT-C, and find that I could be able to
  get the association request by printing log in read thread:
  01-04 13:46:49.652: I/BluetoothHDPService(7249):
  e200
  0032
  8000
  0001002a
  5079
  0026
  8000
  8000 //?? not 0xA0
  8000
  
  0080
  0008
  00091e8002be
  02bc
  0081  //?? 0x01, 0x00
  0100

  However, I don't know what is the right now to write association
  response back.

  On Dec 16 2011, 6:54 am, Raul Ruiz spekwh...@gmail.com wrote:

   Well we have same trouble. I have UA-767PBT-C device too and with HDP
   Demo doesnt connect.

   Im doing a program that receive ACL_CONNECT from device and opens a
   channel.
   In the program, Health service is use by android BT and the link is
   connected but device is in CONNECTING_STATE and then drops down.
   Using a BT sniffer like HCIDUMP, i watch that android BT doest send
   CONNECT RSP to device and I think that this is the problem.

   If you want some help tell me i will continue working in this.

   PD: Me too check this in linux, and it works finelly.I think that dbus
   library is different.

   On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

 Hi  Jorge,

Hi Raul,

 What device are you using? I have a same problem using Nonin 9560BT
 pulseoximeter. It conects and disconnects and any data had received in
 the Android.

I'm working with a board which is able to simulate several biomedical
devices.

On the other hand, I have a real device (blood pressure monitor
UA-767PBT-C). In that case, the device opens the HDP channel
automatically with the smartphone which acts as sink. But the truth is
that I don't see anything in the LogCat related to this channel.
However, if I try opening the connection channel from the HDP Demo
Application, I obtain the same error.

Anyway, I have checked all of this in a Linux laptop using the same
BlueZ stack that we have in Android and everything works fine.

 Do you have any solution?

Not yet. I'm expecting some feedback.

 Thanks

 On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:

  Hi all,

  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone is unable to open the channel
  connectionHDP.

  At the end of this message you can see the output obtained in the
  LogCat.

  Has anybody achieved to run successfully this sample about the use 
  of
  theBluetoothHealth Profile API? Any ideas?

  Thanks. Regards.

  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

  This is the log that I obtain:

  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): 
  CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published 
  condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: 
  /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): 
  

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-08 Thread Raul Ruiz
Hi Fernando,

What shetoscope do you have? Android version? Logcat trace?

Thanks!

On 8 ene, 22:29, Fernando Almeida reala...@gmail.com wrote:
 Hi all

 I'm trying to connect one sthetoscope to my android device via
 bluetooth and always get error connecting...

 Hope this will correct the problem...

 Some new informations on this please tell me...

 On 5 Jan, 12:08, Raul Ruiz spekwh...@gmail.com wrote:







  Hi Chenchen,

  I'm trying connecting UA-767PBT.-C to android manager that i did and
  it connect and disconnect all time.
  I don't know how do you do connection to get read thread and get the
  association request. If you get something tell me.
  With Nonin i establish connection and i get 0 bytes all time.

  Its problem of L2CAP. BlueZ developers in 4.97 version fixed bug.

  On 4 ene, 23:35, Chenchen chenchen.zh...@gmail.com wrote:

   Dear Raul,

   I'm playing around with UA-767PBT-C, and find that I could be able to
   get the association request by printing log in read thread:
   01-04 13:46:49.652: I/BluetoothHDPService(7249):
   e200
   0032
   8000
   0001002a
   5079
   0026
   8000
   8000 //?? not 0xA0
   8000
   
   0080
   0008
   00091e8002be
   02bc
   0081  //?? 0x01, 0x00
   0100

   However, I don't know what is the right now to write association
   response back.

   On Dec 16 2011, 6:54 am, Raul Ruiz spekwh...@gmail.com wrote:

Well we have same trouble. I have UA-767PBT-C device too and with HDP
Demo doesnt connect.

Im doing a program that receive ACL_CONNECT from device and opens a
channel.
In the program, Health service is use by android BT and the link is
connected but device is in CONNECTING_STATE and then drops down.
Using a BT sniffer like HCIDUMP, i watch that android BT doest send
CONNECT RSP to device and I think that this is the problem.

If you want some help tell me i will continue working in this.

PD: Me too check this in linux, and it works finelly.I think that dbus
library is different.

On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

  Hi  Jorge,

 Hi Raul,

  What device are you using? I have a same problem using Nonin 9560BT
  pulseoximeter. It conects and disconnects and any data had received 
  in
  the Android.

 I'm working with a board which is able to simulate several biomedical
 devices.

 On the other hand, I have a real device (blood pressure monitor
 UA-767PBT-C). In that case, the device opens the HDP channel
 automatically with the smartphone which acts as sink. But the truth is
 that I don't see anything in the LogCat related to this channel.
 However, if I try opening the connection channel from the HDP Demo
 Application, I obtain the same error.

 Anyway, I have checked all of this in a Linux laptop using the same
 BlueZ stack that we have in Android and everything works fine.

  Do you have any solution?

 Not yet. I'm expecting some feedback.

  Thanks

  On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have 
   registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the channel
   connection and I can see that the device starts sending data to 
   the
   smartphone. However, the smartphone is unable to open the channel
   connectionHDP.

   At the end of this message you can see the output obtained in the
   LogCat.

   Has anybody achieved to run successfully this sample about the 
   use of
   theBluetoothHealth Profile API? Any ideas?

   Thanks. Regards.

   [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

   This is the log that I obtain:

   12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147): 
   CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published 
   condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath: 
   /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-05 Thread Chenchen
Dear Raul,

I'm playing around with UA-767PBT-C, and find that I could be able to
get the association request by printing log in read thread:
01-04 13:46:49.652: I/BluetoothHDPService(7249):
e200
0032
8000
0001002a
5079
0026
8000
8000 //?? not 0xA0
8000

0080
0008
00091e8002be
02bc
0081  //?? 0x01, 0x00
0100

However, I don't know what is the right now to write association
response back.

On Dec 16 2011, 6:54 am, Raul Ruiz spekwh...@gmail.com wrote:
 Well we have same trouble. I have UA-767PBT-C device too and with HDP
 Demo doesnt connect.

 Im doing a program that receive ACL_CONNECT from device and opens a
 channel.
 In the program, Health service is use by android BT and the link is
 connected but device is in CONNECTING_STATE and then drops down.
 Using a BT sniffer like HCIDUMP, i watch that android BT doest send
 CONNECT RSP to device and I think that this is the problem.

 If you want some help tell me i will continue working in this.

 PD: Me too check this in linux, and it works finelly.I think that dbus
 library is different.

 On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

   Hi  Jorge,

  Hi Raul,

   What device are you using? I have a same problem using Nonin 9560BT
   pulseoximeter. It conects and disconnects and any data had received in
   the Android.

  I'm working with a board which is able to simulate several biomedical
  devices.

  On the other hand, I have a real device (blood pressure monitor
  UA-767PBT-C). In that case, the device opens the HDP channel
  automatically with the smartphone which acts as sink. But the truth is
  that I don't see anything in the LogCat related to this channel.
  However, if I try opening the connection channel from the HDP Demo
  Application, I obtain the same error.

  Anyway, I have checked all of this in a Linux laptop using the same
  BlueZ stack that we have in Android and everything works fine.

   Do you have any solution?

  Not yet. I'm expecting some feedback.

   Thanks

   On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone is unable to open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
chan3115
12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
onHealthDeviceConnectionResult: D-Bus error:
org.bluez.Error.HealthError (Mdl is not created)
12-15 16:41:00.074: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6001
12-15 16:41:00.214: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6000
12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
Property is: MainChannel Value:/org/bluez/278/hci0/
dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-05 Thread Raul Ruiz
Hi Chenchen,

I'm trying connecting UA-767PBT.-C to android manager that i did and
it connect and disconnect all time.
I don't know how do you do connection to get read thread and get the
association request. If you get something tell me.
With Nonin i establish connection and i get 0 bytes all time.

Its problem of L2CAP. BlueZ developers in 4.97 version fixed bug.

On 4 ene, 23:35, Chenchen chenchen.zh...@gmail.com wrote:
 Dear Raul,

 I'm playing around with UA-767PBT-C, and find that I could be able to
 get the association request by printing log in read thread:
 01-04 13:46:49.652: I/BluetoothHDPService(7249):
 e200
 0032
 8000
 0001002a
 5079
 0026
 8000
 8000 //?? not 0xA0
 8000
 
 0080
 0008
 00091e8002be
 02bc
 0081  //?? 0x01, 0x00
 0100

 However, I don't know what is the right now to write association
 response back.

 On Dec 16 2011, 6:54 am, Raul Ruiz spekwh...@gmail.com wrote:







  Well we have same trouble. I have UA-767PBT-C device too and with HDP
  Demo doesnt connect.

  Im doing a program that receive ACL_CONNECT from device and opens a
  channel.
  In the program, Health service is use by android BT and the link is
  connected but device is in CONNECTING_STATE and then drops down.
  Using a BT sniffer like HCIDUMP, i watch that android BT doest send
  CONNECT RSP to device and I think that this is the problem.

  If you want some help tell me i will continue working in this.

  PD: Me too check this in linux, and it works finelly.I think that dbus
  library is different.

  On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

Hi  Jorge,

   Hi Raul,

What device are you using? I have a same problem using Nonin 9560BT
pulseoximeter. It conects and disconnects and any data had received in
the Android.

   I'm working with a board which is able to simulate several biomedical
   devices.

   On the other hand, I have a real device (blood pressure monitor
   UA-767PBT-C). In that case, the device opens the HDP channel
   automatically with the smartphone which acts as sink. But the truth is
   that I don't see anything in the LogCat related to this channel.
   However, if I try opening the connection channel from the HDP Demo
   Application, I obtain the same error.

   Anyway, I have checked all of this in a Linux laptop using the same
   BlueZ stack that we have in Android and everything works fine.

Do you have any solution?

   Not yet. I'm expecting some feedback.

Thanks

On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi all,

 I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2011-12-27 Thread CharuhasV
Hi,

I am facing the same issue with Nonin 9560 BT device.

Anybody with update?

Thanks,
Charuhas.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2011-12-18 Thread Raul Ruiz
Will Android 4.0.3 give a solution?

On 16 dic, 15:54, Raul Ruiz spekwh...@gmail.com wrote:
 Well we have same trouble. I have UA-767PBT-C device too and with HDP
 Demo doesnt connect.

 Im doing a program that receive ACL_CONNECT from device and opens a
 channel.
 In the program, Health service is use by android BT and the link is
 connected but device is in CONNECTING_STATE and then drops down.
 Using a BT sniffer like HCIDUMP, i watch that android BT doest send
 CONNECT RSP to device and I think that this is the problem.

 If you want some help tell me i will continue working in this.

 PD: Me too check this in linux, and it works finelly.I think that dbus
 library is different.

 On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

   Hi  Jorge,

  Hi Raul,

   What device are you using? I have a same problem using Nonin 9560BT
   pulseoximeter. It conects and disconnects and any data had received in
   the Android.

  I'm working with a board which is able to simulate several biomedical
  devices.

  On the other hand, I have a real device (blood pressure monitor
  UA-767PBT-C). In that case, the device opens the HDP channel
  automatically with the smartphone which acts as sink. But the truth is
  that I don't see anything in the LogCat related to this channel.
  However, if I try opening the connection channel from the HDP Demo
  Application, I obtain the same error.

  Anyway, I have checked all of this in a Linux laptop using the same
  BlueZ stack that we have in Android and everything works fine.

   Do you have any solution?

  Not yet. I'm expecting some feedback.

   Thanks

   On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone is unable to open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
chan3115
12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
onHealthDeviceConnectionResult: D-Bus error:
org.bluez.Error.HealthError (Mdl is not created)
12-15 16:41:00.074: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6001
12-15 16:41:00.214: D/BluetoothEventLoop(147):
onHealthDeviceConnectionResult 2 6000
12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
Property is: MainChannel Value:/org/bluez/278/hci0/
dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2011-12-16 Thread Raul Ruiz
Hi  Jorge,

What device are you using? I have a same problem using Nonin 9560BT
pulseoximeter. It conects and disconnects and any data had received in
the Android.

Do you have any solution?

Thanks

On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi all,

 I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 the Bluetooth Health Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
 bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2011-12-16 Thread jfernandez
On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:
 Hi  Jorge,

Hi Raul,


 What device are you using? I have a same problem using Nonin 9560BT
 pulseoximeter. It conects and disconnects and any data had received in
 the Android.

I'm working with a board which is able to simulate several biomedical
devices.

On the other hand, I have a real device (blood pressure monitor
UA-767PBT-C). In that case, the device opens the HDP channel
automatically with the smartphone which acts as sink. But the truth is
that I don't see anything in the LogCat related to this channel.
However, if I try opening the connection channel from the HDP Demo
Application, I obtain the same error.

Anyway, I have checked all of this in a Linux laptop using the same
BlueZ stack that we have in Android and everything works fine.


 Do you have any solution?

Not yet. I'm expecting some feedback.


 Thanks

 On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi all,

  I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
  Ice Cream Sandwich) in my Android smartphone. When I have registered
  the application in order to receive data, and I have paired the
  biomedical device with the smartphone, I try to open the channel
  connection and I can see that the device starts sending data to the
  smartphone. However, the smartphone is unable to open the channel
  connectionHDP.

  At the end of this message you can see the output obtained in the
  LogCat.

  Has anybody achieved to run successfully this sample about the use of
  theBluetoothHealth Profile API? Any ideas?

  Thanks. Regards.

  [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

  This is the log that I obtain:

  12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
  12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
  00:80:25:14:A1:BC: 0 - 1
  12-15 16:40:55.169: D/ConnectivityService(147):
  handleInetConditionHoldEnd: net=1, condition=0, published condition=0
  12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
  changed: 00:80:25:14:A1:BC property: Connected value: true
  12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
  devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
  12-15 16:41:00.034: E/BluetoothService.cpp(147):
  getChannelApplicationNative
  12-15 16:41:00.044: E/bluetooth_common.cpp(147):
  dbus_func_args_timeout_valist: D-Bus error in Acquire:
  org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
  12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
  obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
  chan3115
  12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
  12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
  onHealthDeviceConnectionResult: D-Bus error:
  org.bluez.Error.HealthError (Mdl is not created)
  12-15 16:41:00.074: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6001
  12-15 16:41:00.214: D/BluetoothEventLoop(147):
  onHealthDeviceConnectionResult 2 6000
  12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
  Property is: MainChannel Value:/org/bluez/278/hci0/
  dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to execute Bluetooth HDP Demo

2011-12-16 Thread Raul Ruiz
Well we have same trouble. I have UA-767PBT-C device too and with HDP
Demo doesnt connect.

Im doing a program that receive ACL_CONNECT from device and opens a
channel.
In the program, Health service is use by android BT and the link is
connected but device is in CONNECTING_STATE and then drops down.
Using a BT sniffer like HCIDUMP, i watch that android BT doest send
CONNECT RSP to device and I think that this is the problem.

If you want some help tell me i will continue working in this.

PD: Me too check this in linux, and it works finelly.I think that dbus
library is different.

On 16 dic, 12:29, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 On 16 dic, 11:31, Raul Ruiz spekwh...@gmail.com wrote:

  Hi  Jorge,

 Hi Raul,



  What device are you using? I have a same problem using Nonin 9560BT
  pulseoximeter. It conects and disconnects and any data had received in
  the Android.

 I'm working with a board which is able to simulate several biomedical
 devices.

 On the other hand, I have a real device (blood pressure monitor
 UA-767PBT-C). In that case, the device opens the HDP channel
 automatically with the smartphone which acts as sink. But the truth is
 that I don't see anything in the LogCat related to this channel.
 However, if I try opening the connection channel from the HDP Demo
 Application, I obtain the same error.

 Anyway, I have checked all of this in a Linux laptop using the same
 BlueZ stack that we have in Android and everything works fine.



  Do you have any solution?

 Not yet. I'm expecting some feedback.









  Thanks

  On Dec 15, 6:30 pm, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi all,

   I'm executing the BluetoothHDPDemo [1]  (offered from Android 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the channel
   connection and I can see that the device starts sending data to the
   smartphone. However, the smartphone is unable to open the channel
   connectionHDP.

   At the end of this message you can see the output obtained in the
   LogCat.

   Has anybody achieved to run successfully this sample about the use of
   theBluetoothHealth Profile API? Any ideas?

   Thanks. Regards.

   [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

   This is the log that I obtain:

   12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
   obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
   chan3115
   12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
   onHealthDeviceConnectionResult: D-Bus error:
   org.bluez.Error.HealthError (Mdl is not created)
   12-15 16:41:00.074: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6001
   12-15 16:41:00.214: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6000
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
   Property is: MainChannel Value:/org/bluez/278/hci0/
   dev_00_80_25_14_A1_BC/chan3115

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en