* Error on executing compiled bluetoothd with plugins
@ 2015-06-12 15:26 Jérémie Scheer
2015-06-12 15:52 ` Boris Passerat de La Chapelle
0 siblings, 1 reply; 5+ messages in thread
From: Jérémie Scheer @ 2015-06-12 15:26 UTC (permalink / raw)
To: linux-bluetooth
Hello,
I downloaded Bluez 5.30 sources and compiled it against a Debian Jessie
(Linux 3.16).
When I try to execute it, I receive the following errors :
bluetoothd[819]: Bluetooth daemon 5.30
bluetoothd[819]: Starting SDP server
bluetoothd[819]: Ignoring (cli) hostname
bluetoothd[819]: Ignoring (cli) wiimote
bluetoothd[819]: Ignoring (cli) autopair
bluetoothd[819]: Ignoring (cli) policy
bluetoothd[819]: Ignoring (cli) gatt_example
bluetoothd[819]: Ignoring (cli) neard
bluetoothd[819]: Ignoring (cli) sap
bluetoothd[819]: Ignoring (cli) a2dp
bluetoothd[819]: Ignoring (cli) avrcp
bluetoothd[819]: Ignoring (cli) network
bluetoothd[819]: Ignoring (cli) input
bluetoothd[819]: Ignoring (cli) hog
bluetoothd[819]: Ignoring (cli) health
bluetoothd[819]: Ignoring (cli) gap
bluetoothd[819]: Ignoring (cli) scanparam
bluetoothd[819]: Ignoring (cli) deviceinfo
bluetoothd[819]: Ignoring (cli) alert
bluetoothd[819]: Ignoring (cli) proximity
bluetoothd[819]: Ignoring (cli) thermometer
bluetoothd[819]: Ignoring (cli) heartrate
bluetoothd[819]: Ignoring (cli) cyclingspeed
bluetoothd[819]: Ignoring (cli) external_dummy
bluetoothd[819]: Bluetooth management interface 1.6 initialized
bluetoothd[819]: Failed to obtain handles for "Service Changed"
characteristic
bluetoothd[819]: Failed to register org.bluez.LEAdvertisingManager1
bluetoothd[819]: Failed to register LEAdvertisingManager1 interface for
adapter
bluetoothd[819]: Not enough free handles to register service
bluetoothd[819]: Current Time Service could not be registered
bluetoothd[819]: gatt-time-server: Input/output error (5)
bluetoothd[819]: hci0 Load Connection Parameters failed: Unknown Command
(0x01)
So when I reset my Bluetooth device hci0 and try to advertise LE, I
can't see nothing on an iPad for instance.
When compiling Bluez, I configured it with this command :
./configure CFLAGS="$CFLAGS --Wno-sign-compare" --disable-udev
--prefix=$PWD --enable-experimental --enable-maintainer-mode
Is there something I missed ?
Jérémie
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Error on executing compiled bluetoothd with plugins
2015-06-12 15:26 Error on executing compiled bluetoothd with plugins Jérémie Scheer
@ 2015-06-12 15:52 ` Boris Passerat de La Chapelle
2015-06-15 9:12 ` Jérémie Scheer
0 siblings, 1 reply; 5+ messages in thread
From: Boris Passerat de La Chapelle @ 2015-06-12 15:52 UTC (permalink / raw)
To: linux-bluetooth
Hi Jérémie
-----Message d'origine-----
De : linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-owner@vger.kernel.org] De la part de Jérémie Scheer
Envoyé : vendredi 12 juin 2015 17:26
À : linux-bluetooth@vger.kernel.org
Objet : Error on executing compiled >bluetoothd with plugins
>Hello,
>
>I downloaded Bluez 5.30 sources and compiled it against a Debian Jessie (Linux 3.16).
>
>When I try to execute it, I receive the following errors :
>bluetoothd[819]: Bluetooth daemon 5.30
>bluetoothd[819]: Starting SDP server
>bluetoothd[819]: Ignoring (cli) hostname
>bluetoothd[819]: Ignoring (cli) wiimote
>bluetoothd[819]: Ignoring (cli) autopair
>bluetoothd[819]: Ignoring (cli) policy
>bluetoothd[819]: Ignoring (cli) gatt_example
>bluetoothd[819]: Ignoring (cli) neard
>bluetoothd[819]: Ignoring (cli) sap
>bluetoothd[819]: Ignoring (cli) a2dp
>bluetoothd[819]: Ignoring (cli) avrcp
>bluetoothd[819]: Ignoring (cli) network
>bluetoothd[819]: Ignoring (cli) input
>bluetoothd[819]: Ignoring (cli) hog
>bluetoothd[819]: Ignoring (cli) health
>bluetoothd[819]: Ignoring (cli) gap
>bluetoothd[819]: Ignoring (cli) scanparam
>bluetoothd[819]: Ignoring (cli) deviceinfo
>bluetoothd[819]: Ignoring (cli) alert
>bluetoothd[819]: Ignoring (cli) proximity
>bluetoothd[819]: Ignoring (cli) thermometer
>bluetoothd[819]: Ignoring (cli) heartrate
>bluetoothd[819]: Ignoring (cli) cyclingspeed
>bluetoothd[819]: Ignoring (cli) external_dummy
>bluetoothd[819]: Bluetooth management interface 1.6 initialized
>bluetoothd[819]: Failed to obtain handles for "Service Changed"
>characteristic
>bluetoothd[819]: Failed to register org.bluez.LEAdvertisingManager1
>bluetoothd[819]: Failed to register LEAdvertisingManager1 interface for adapter
>bluetoothd[819]: Not enough free handles to register service
>bluetoothd[819]: Current Time Service could not be registered
>bluetoothd[819]: gatt-time-server: Input/output error (5)
>bluetoothd[819]: hci0 Load Connection Parameters failed: Unknown Command
>(0x01)
>So when I reset my Bluetooth device hci0 and try to advertise LE, I can't see nothing on an iPad for instance.
>When compiling Bluez, I configured it with this command :
>./configure CFLAGS="$CFLAGS --Wno-sign-compare" --disable-udev --prefix=$PWD --enable-experimental ->-enable-maintainer-mode
>Is there something I missed ?
>Jérémie
I had the same issue after activating all plugins. You can disable plugin started with bluetoothd with the option --noplugin= hostname, wiimote... and then it should work !
Boris
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error on executing compiled bluetoothd with plugins
2015-06-12 15:52 ` Boris Passerat de La Chapelle
@ 2015-06-15 9:12 ` Jérémie Scheer
2015-06-15 9:23 ` Jérémie Scheer
0 siblings, 1 reply; 5+ messages in thread
From: Jérémie Scheer @ 2015-06-15 9:12 UTC (permalink / raw)
To: Boris Passerat de La Chapelle, linux-bluetooth
Hi Boris,
Le 12/06/2015 17:52, Boris Passerat de La Chapelle a écrit :
> Hi Jérémie
>
> -----Message d'origine-----
> De : linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-owner@vger.kernel.org] De la part de Jérémie Scheer
> Envoyé : vendredi 12 juin 2015 17:26
> À : linux-bluetooth@vger.kernel.org
> Objet : Error on executing compiled >bluetoothd with plugins
>
>> Hello,
>>
>> I downloaded Bluez 5.30 sources and compiled it against a Debian Jessie (Linux 3.16).
>>
>> When I try to execute it, I receive the following errors :
>> bluetoothd[819]: Bluetooth daemon 5.30
>> bluetoothd[819]: Starting SDP server
>> bluetoothd[819]: Ignoring (cli) hostname
>> bluetoothd[819]: Ignoring (cli) wiimote
>> bluetoothd[819]: Ignoring (cli) autopair
>> bluetoothd[819]: Ignoring (cli) policy
>> bluetoothd[819]: Ignoring (cli) gatt_example
>> bluetoothd[819]: Ignoring (cli) neard
>> bluetoothd[819]: Ignoring (cli) sap
>> bluetoothd[819]: Ignoring (cli) a2dp
>> bluetoothd[819]: Ignoring (cli) avrcp
>> bluetoothd[819]: Ignoring (cli) network
>> bluetoothd[819]: Ignoring (cli) input
>> bluetoothd[819]: Ignoring (cli) hog
>> bluetoothd[819]: Ignoring (cli) health
>> bluetoothd[819]: Ignoring (cli) gap
>> bluetoothd[819]: Ignoring (cli) scanparam
>> bluetoothd[819]: Ignoring (cli) deviceinfo
>> bluetoothd[819]: Ignoring (cli) alert
>> bluetoothd[819]: Ignoring (cli) proximity
>> bluetoothd[819]: Ignoring (cli) thermometer
>> bluetoothd[819]: Ignoring (cli) heartrate
>> bluetoothd[819]: Ignoring (cli) cyclingspeed
>> bluetoothd[819]: Ignoring (cli) external_dummy
>> bluetoothd[819]: Bluetooth management interface 1.6 initialized
>> bluetoothd[819]: Failed to obtain handles for "Service Changed"
>> characteristic
>> bluetoothd[819]: Failed to register org.bluez.LEAdvertisingManager1
>> bluetoothd[819]: Failed to register LEAdvertisingManager1 interface for adapter
>> bluetoothd[819]: Not enough free handles to register service
>> bluetoothd[819]: Current Time Service could not be registered
>> bluetoothd[819]: gatt-time-server: Input/output error (5)
>> bluetoothd[819]: hci0 Load Connection Parameters failed: Unknown Command
>> (0x01)
>> So when I reset my Bluetooth device hci0 and try to advertise LE, I can't see nothing on an iPad for instance.
>> When compiling Bluez, I configured it with this command :
>> ./configure CFLAGS="$CFLAGS --Wno-sign-compare" --disable-udev --prefix=$PWD --enable-experimental ->-enable-maintainer-mode
>> Is there something I missed ?
>> Jérémie
> I had the same issue after activating all plugins. You can disable plugin started with bluetoothd with the option --noplugin= hostname, wiimote... and then it should work !
In fact I would like to activate time plugin or another one to be able
to create my own peripheral from an existing plugin.
But now I've another problem : there are always the same error messages
but when I advertise Bluetooth LE with "hciconfig hci0 leadv", and after
the client is connected and has discover services, bluetoothd tells me
that :
Can't store info for private addressed device
/org/bluez/hci0/dev_59_57_7C_B6_E5_5F
Can't store services for private addressed device
/org/bluez/hci0/dev_59_57_7C_B6_E5_5F
Unable to register GATT service with handle 0x0001 for device
59_57_7C_B6_E5_5F
Unable to register GATT service with handle 0x0006 for device
59_57_7C_B6_E5_5F
Unable to register GATT service with handle 0x000a for device
59_57_7C_B6_E5_5F
....
So the client doesn't see any services or characteristics.
I tried to run bluetoothd with these commands :
./src/bluetoothd --plugin=time -n
./src/bluetoothd -n
>
> Boris
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error on executing compiled bluetoothd with plugins
2015-06-15 9:12 ` Jérémie Scheer
@ 2015-06-15 9:23 ` Jérémie Scheer
2015-06-15 13:58 ` Jérémie Scheer
0 siblings, 1 reply; 5+ messages in thread
From: Jérémie Scheer @ 2015-06-15 9:23 UTC (permalink / raw)
To: Boris Passerat de La Chapelle, linux-bluetooth
Le 15/06/2015 11:12, Jérémie Scheer a écrit :
> Hi Boris,
>
> Le 12/06/2015 17:52, Boris Passerat de La Chapelle a écrit :
>> Hi Jérémie
>>
>> -----Message d'origine-----
>> De : linux-bluetooth-owner@vger.kernel.org
>> [mailto:linux-bluetooth-owner@vger.kernel.org] De la part de Jérémie
>> Scheer
>> Envoyé : vendredi 12 juin 2015 17:26
>> À : linux-bluetooth@vger.kernel.org
>> Objet : Error on executing compiled >bluetoothd with plugins
>>
>>> Hello,
>>>
>>> I downloaded Bluez 5.30 sources and compiled it against a Debian
>>> Jessie (Linux 3.16).
>>>
>>> When I try to execute it, I receive the following errors :
>>> bluetoothd[819]: Bluetooth daemon 5.30
>>> bluetoothd[819]: Starting SDP server
>>> bluetoothd[819]: Ignoring (cli) hostname
>>> bluetoothd[819]: Ignoring (cli) wiimote
>>> bluetoothd[819]: Ignoring (cli) autopair
>>> bluetoothd[819]: Ignoring (cli) policy
>>> bluetoothd[819]: Ignoring (cli) gatt_example
>>> bluetoothd[819]: Ignoring (cli) neard
>>> bluetoothd[819]: Ignoring (cli) sap
>>> bluetoothd[819]: Ignoring (cli) a2dp
>>> bluetoothd[819]: Ignoring (cli) avrcp
>>> bluetoothd[819]: Ignoring (cli) network
>>> bluetoothd[819]: Ignoring (cli) input
>>> bluetoothd[819]: Ignoring (cli) hog
>>> bluetoothd[819]: Ignoring (cli) health
>>> bluetoothd[819]: Ignoring (cli) gap
>>> bluetoothd[819]: Ignoring (cli) scanparam
>>> bluetoothd[819]: Ignoring (cli) deviceinfo
>>> bluetoothd[819]: Ignoring (cli) alert
>>> bluetoothd[819]: Ignoring (cli) proximity
>>> bluetoothd[819]: Ignoring (cli) thermometer
>>> bluetoothd[819]: Ignoring (cli) heartrate
>>> bluetoothd[819]: Ignoring (cli) cyclingspeed
>>> bluetoothd[819]: Ignoring (cli) external_dummy
>>> bluetoothd[819]: Bluetooth management interface 1.6 initialized
>>> bluetoothd[819]: Failed to obtain handles for "Service Changed"
>>> characteristic
>>> bluetoothd[819]: Failed to register org.bluez.LEAdvertisingManager1
>>> bluetoothd[819]: Failed to register LEAdvertisingManager1 interface
>>> for adapter
>>> bluetoothd[819]: Not enough free handles to register service
>>> bluetoothd[819]: Current Time Service could not be registered
>>> bluetoothd[819]: gatt-time-server: Input/output error (5)
>>> bluetoothd[819]: hci0 Load Connection Parameters failed: Unknown
>>> Command
>>> (0x01)
>>> So when I reset my Bluetooth device hci0 and try to advertise LE, I
>>> can't see nothing on an iPad for instance.
>>> When compiling Bluez, I configured it with this command :
>>> ./configure CFLAGS="$CFLAGS --Wno-sign-compare" --disable-udev
>>> --prefix=$PWD --enable-experimental ->-enable-maintainer-mode
>>> Is there something I missed ?
>>> Jérémie
>> I had the same issue after activating all plugins. You can disable
>> plugin started with bluetoothd with the option --noplugin= hostname,
>> wiimote... and then it should work !
> In fact I would like to activate time plugin or another one to be able
> to create my own peripheral from an existing plugin.
>
> But now I've another problem : there are always the same error
> messages but when I advertise Bluetooth LE with "hciconfig hci0
> leadv", and after the client is connected and has discover services,
> bluetoothd tells me that :
> Can't store info for private addressed device
> /org/bluez/hci0/dev_59_57_7C_B6_E5_5F
> Can't store services for private addressed device
> /org/bluez/hci0/dev_59_57_7C_B6_E5_5F
> Unable to register GATT service with handle 0x0001 for device
> 59_57_7C_B6_E5_5F
> Unable to register GATT service with handle 0x0006 for device
> 59_57_7C_B6_E5_5F
> Unable to register GATT service with handle 0x000a for device
> 59_57_7C_B6_E5_5F
> ....
In fact it happens just after the client has been connected to my
peripheral, before he even tries to discover services. So when he tries
to discover services, there is nothing for him to discover.
>
> So the client doesn't see any services or characteristics.
>
> I tried to run bluetoothd with these commands :
> ./src/bluetoothd --plugin=time -n
> ./src/bluetoothd -n
>>
>> Boris
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-bluetooth" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error on executing compiled bluetoothd with plugins
2015-06-15 9:23 ` Jérémie Scheer
@ 2015-06-15 13:58 ` Jérémie Scheer
0 siblings, 0 replies; 5+ messages in thread
From: Jérémie Scheer @ 2015-06-15 13:58 UTC (permalink / raw)
To: Boris Passerat de La Chapelle, linux-bluetooth
I finally found the answer to my problem : it is due to the fact that
most of the plugins and profiles uses src/attrib-server.h, that is
deprecated, instead of the new src/gatt-database.c. So all plugins that
still use attrib-server.h don't function anymore.
But there is one tool that can be used as an example :
tools/btgatt-server.c.
Jérémie
Le 15/06/2015 11:23, Jérémie Scheer a écrit :
>
>
> Le 15/06/2015 11:12, Jérémie Scheer a écrit :
>> Hi Boris,
>>
>> Le 12/06/2015 17:52, Boris Passerat de La Chapelle a écrit :
>>> Hi Jérémie
>>>
>>> -----Message d'origine-----
>>> De : linux-bluetooth-owner@vger.kernel.org
>>> [mailto:linux-bluetooth-owner@vger.kernel.org] De la part de Jérémie
>>> Scheer
>>> Envoyé : vendredi 12 juin 2015 17:26
>>> À : linux-bluetooth@vger.kernel.org
>>> Objet : Error on executing compiled >bluetoothd with plugins
>>>
>>>> Hello,
>>>>
>>>> I downloaded Bluez 5.30 sources and compiled it against a Debian
>>>> Jessie (Linux 3.16).
>>>>
>>>> When I try to execute it, I receive the following errors :
>>>> bluetoothd[819]: Bluetooth daemon 5.30
>>>> bluetoothd[819]: Starting SDP server
>>>> bluetoothd[819]: Ignoring (cli) hostname
>>>> bluetoothd[819]: Ignoring (cli) wiimote
>>>> bluetoothd[819]: Ignoring (cli) autopair
>>>> bluetoothd[819]: Ignoring (cli) policy
>>>> bluetoothd[819]: Ignoring (cli) gatt_example
>>>> bluetoothd[819]: Ignoring (cli) neard
>>>> bluetoothd[819]: Ignoring (cli) sap
>>>> bluetoothd[819]: Ignoring (cli) a2dp
>>>> bluetoothd[819]: Ignoring (cli) avrcp
>>>> bluetoothd[819]: Ignoring (cli) network
>>>> bluetoothd[819]: Ignoring (cli) input
>>>> bluetoothd[819]: Ignoring (cli) hog
>>>> bluetoothd[819]: Ignoring (cli) health
>>>> bluetoothd[819]: Ignoring (cli) gap
>>>> bluetoothd[819]: Ignoring (cli) scanparam
>>>> bluetoothd[819]: Ignoring (cli) deviceinfo
>>>> bluetoothd[819]: Ignoring (cli) alert
>>>> bluetoothd[819]: Ignoring (cli) proximity
>>>> bluetoothd[819]: Ignoring (cli) thermometer
>>>> bluetoothd[819]: Ignoring (cli) heartrate
>>>> bluetoothd[819]: Ignoring (cli) cyclingspeed
>>>> bluetoothd[819]: Ignoring (cli) external_dummy
>>>> bluetoothd[819]: Bluetooth management interface 1.6 initialized
>>>> bluetoothd[819]: Failed to obtain handles for "Service Changed"
>>>> characteristic
>>>> bluetoothd[819]: Failed to register org.bluez.LEAdvertisingManager1
>>>> bluetoothd[819]: Failed to register LEAdvertisingManager1 interface
>>>> for adapter
>>>> bluetoothd[819]: Not enough free handles to register service
>>>> bluetoothd[819]: Current Time Service could not be registered
>>>> bluetoothd[819]: gatt-time-server: Input/output error (5)
>>>> bluetoothd[819]: hci0 Load Connection Parameters failed: Unknown
>>>> Command
>>>> (0x01)
>>>> So when I reset my Bluetooth device hci0 and try to advertise LE, I
>>>> can't see nothing on an iPad for instance.
>>>> When compiling Bluez, I configured it with this command :
>>>> ./configure CFLAGS="$CFLAGS --Wno-sign-compare" --disable-udev
>>>> --prefix=$PWD --enable-experimental ->-enable-maintainer-mode
>>>> Is there something I missed ?
>>>> Jérémie
>>> I had the same issue after activating all plugins. You can disable
>>> plugin started with bluetoothd with the option --noplugin= hostname,
>>> wiimote... and then it should work !
>> In fact I would like to activate time plugin or another one to be
>> able to create my own peripheral from an existing plugin.
>>
>> But now I've another problem : there are always the same error
>> messages but when I advertise Bluetooth LE with "hciconfig hci0
>> leadv", and after the client is connected and has discover services,
>> bluetoothd tells me that :
>> Can't store info for private addressed device
>> /org/bluez/hci0/dev_59_57_7C_B6_E5_5F
>> Can't store services for private addressed device
>> /org/bluez/hci0/dev_59_57_7C_B6_E5_5F
>> Unable to register GATT service with handle 0x0001 for device
>> 59_57_7C_B6_E5_5F
>> Unable to register GATT service with handle 0x0006 for device
>> 59_57_7C_B6_E5_5F
>> Unable to register GATT service with handle 0x000a for device
>> 59_57_7C_B6_E5_5F
>> ....
> In fact it happens just after the client has been connected to my
> peripheral, before he even tries to discover services. So when he
> tries to discover services, there is nothing for him to discover.
>>
>> So the client doesn't see any services or characteristics.
>>
>> I tried to run bluetoothd with these commands :
>> ./src/bluetoothd --plugin=time -n
>> ./src/bluetoothd -n
>>>
>>> Boris
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe
>>> linux-bluetooth" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-06-15 13:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 15:26 Error on executing compiled bluetoothd with plugins Jérémie Scheer
2015-06-12 15:52 ` Boris Passerat de La Chapelle
2015-06-15 9:12 ` Jérémie Scheer
2015-06-15 9:23 ` Jérémie Scheer
2015-06-15 13:58 ` Jérémie Scheer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.