Health interface in org.bluez

Asked by bushwalker on 2011-02-04

I have installed bluez 4.85 on my Ubuntu and was expecting following Health Interfaces in service org.bluez:

Org.bluez.HealthManager
Org.bluez.HealthApplication
Org.bluez.HealthService
Org.bluez.HealthAgent

I can see only org.bluez.Manager interface available. How could I get those interfaces.

I will appreciate any advice.

Regards

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bluez Edit question
Assignee:
No assignee Edit question
Solved by:
bushwalker
Solved:
2011-02-10
Last query:
2011-02-10
Last reply:
2011-02-09
Ubfan (ubfan1) said : #1

The Health Device Profile was included in bluez in version 4.72, and the version supplied by Ubuntu 10.10 is 4.69.
Maybe file a wishlist bug to update bluez, the latest version is 4.77

Ubfan (ubfan1) said : #2

You can download the tarball and try and install the later versions from bluez.org. You will also need to update other packages like obexd (to ver 40), and bluez-hcidump (to version 2.0). See the below thread for someone's experience who did this.
http://ubuntuforums.org/showthread.php?t=1580314
Good Luck

bushwalker (zahir-wp) said : #3

how can i enable :

org.bluez.HealthManager
org.bluez.HealthApplication
org.bluez.HealthService
org.bluez.HealthAgent
org.bluez.mcap

profile in bluez

Ubfan (ubfan1) said : #4

You cannot do that until you update bluez to version 4.72 or later.

bushwalker (zahir-wp) said : #5

now i can see

org.bluez.HealthManager
org.bluez.mcap

interfaces. what i did:

0. wipe away 4.69 (including onfiguration files, dpkg -P xxxx)
1. installed bluez 4.85 deb packages from natty (https://launchpad.net/ubuntu/+source/bluez)
2. compile http://gitorious.org/bluez-epx/bluez-epx/trees/pts (autoreconf -i -> enable health in configure (--enable-health) -> ./configure -> make -> make install)

hopefully it will work for you. its better to try on test environment, in case..