2012-09-24 12:55:05

by [email protected]

[permalink] [raw]
Subject: LE thermometer on Ubuntu 12.10

Ubuntu 12.10 has 4.101 and kernel 3.5. I'm trying to get the sample
CC2540 thermometer application from TI working. The 4.101 package
build has --enable-thermometer set.

I can see my TI device under dbus. It shows the expect four services
and sixteen characteristics.
I have EnableGatt = true in /etc/bluetooth/main.conf

The test script, test-thermometer, is looking for
org.bluez.Thermometer which isn't there. Using d-feet to browse dbus
confirms that it is not there.

Is this profile plugin not registered somehow? How can I query the LE
profiles supported by my Bluez installation?

--
Jon Smirl
[email protected]


2012-09-24 16:49:26

by Anderson Lizardo

[permalink] [raw]
Subject: Re: LE thermometer on Ubuntu 12.10

Hi Jon,

On Mon, Sep 24, 2012 at 12:27 PM, [email protected] <[email protected]> wrote:
> On Mon, Sep 24, 2012 at 11:11 AM, Anderson Lizardo
> <[email protected]> wrote:
>> Hi Jon,
>>
>> On Mon, Sep 24, 2012 at 8:55 AM, [email protected] <[email protected]> wrote:
>>> Ubuntu 12.10 has 4.101 and kernel 3.5. I'm trying to get the sample
>>> CC2540 thermometer application from TI working. The 4.101 package
>>> build has --enable-thermometer set.
>>
>> There is no "--enable-thermometer" since 4.100. Please enable GATT
>> with "--enable-gatt". This will enable all supported GATT profiles at
>> once.
>
> Ubuntu is building this wrong for the 12.10 release then. I'm filing
> a bug about this, what should the configure option be?
>
> I rebuilt their bluez-4.101 package and it complains about...
>
> configure: WARNING: unrecognized options: --enable-proximity,
> --enable-time, --enable-alert, --enable-gatt-example, --enable-tracer,
> --enable-thermometer, --enable-capng

You should check bootstrap-configure for the available options. For
GATT, you now need only --enable-gatt.

Best Regards,
--
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil

2012-09-24 16:27:58

by [email protected]

[permalink] [raw]
Subject: Re: LE thermometer on Ubuntu 12.10

On Mon, Sep 24, 2012 at 11:11 AM, Anderson Lizardo
<[email protected]> wrote:
> Hi Jon,
>
> On Mon, Sep 24, 2012 at 8:55 AM, [email protected] <[email protected]> wrote:
>> Ubuntu 12.10 has 4.101 and kernel 3.5. I'm trying to get the sample
>> CC2540 thermometer application from TI working. The 4.101 package
>> build has --enable-thermometer set.
>
> There is no "--enable-thermometer" since 4.100. Please enable GATT
> with "--enable-gatt". This will enable all supported GATT profiles at
> once.

Ubuntu is building this wrong for the 12.10 release then. I'm filing
a bug about this, what should the configure option be?

I rebuilt their bluez-4.101 package and it complains about...

configure: WARNING: unrecognized options: --enable-proximity,
--enable-time, --enable-alert, --enable-gatt-example, --enable-tracer,
--enable-thermometer, --enable-capng

configure input from debian/rules...

DEB_CONFIGURE_EXTRA_FLAGS := LDFLAGS=-Wl,--as-needed \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--enable-static \
--disable-hal \
--enable-sap \
--enable-proximity \
--enable-time \
--enable-alert \
--enable-health \
--enable-pnat \
--enable-gatt-example \
--enable-gstreamer \
--enable-alsa \
--enable-usb \
--enable-tracer \
--enable-tools \
--enable-bccmd \
--enable-pcmcia \
--enable-hid2hci \
--enable-dfutool \
--enable-hidd \
--enable-pand \
--enable-dund \
--enable-cups \
--enable-test \
--enable-datafiles \
--enable-debug \
--enable-dbusoob \
--enable-wiimote \
--enable-thermometer \
--enable-capng \
--with-systemdunitdir=/lib/systemd/system

>
> Regards,
> --
> Anderson Lizardo
> Instituto Nokia de Tecnologia - INdT
> Manaus - Brazil



--
Jon Smirl
[email protected]

2012-09-24 15:11:20

by Anderson Lizardo

[permalink] [raw]
Subject: Re: LE thermometer on Ubuntu 12.10

Hi Jon,

On Mon, Sep 24, 2012 at 8:55 AM, [email protected] <[email protected]> wrote:
> Ubuntu 12.10 has 4.101 and kernel 3.5. I'm trying to get the sample
> CC2540 thermometer application from TI working. The 4.101 package
> build has --enable-thermometer set.

There is no "--enable-thermometer" since 4.100. Please enable GATT
with "--enable-gatt". This will enable all supported GATT profiles at
once.

Regards,
--
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil