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
Hi Jérémie
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Jérémie Scheer Envoyé : vendredi 12 juin 2015 17:26
À : [email protected]
Objet : Error on executing compiled >bluetoothd with plugins
Quoted 40 lines
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)
Quoted 8 lines
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-modeIs 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
Hi Boris,
Quoted 52 lines · Boris Passerat de La Chapelle
Hi Jérémie
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Jérémie Scheer Envoyé : vendredi 12 juin 2015 17:26
À : [email protected]
Objet : Error on executing compiled >bluetoothd with pluginsQuoted 36 lines
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 registeredQuoted 8 lines
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
Quoted 1 line
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
Quoted 8 lines
Boris
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 59 lines · Jérémie Scheer
Hi Boris,
Quoted 53 lines · Boris Passerat de La Chapelle
Hi Jérémie
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Jérémie Scheer Envoyé : vendredi 12 juin 2015 17:26
À : [email protected]
Objet : Error on executing compiled >bluetoothd with pluginsQuoted 37 lines
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)Quoted 8 lines
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émieQuoted 1 line
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.
Quoted 7 lines
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 handle0x0001for device 59_57_7C_B6_E5_5F
Unable to register GATT service with handle0x0006for device 59_57_7C_B6_E5_5F
Unable to register GATT service with handle0x000afor 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.
Quoted 15 lines
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 -nQuoted 8 lines
Boris
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
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
Quoted 91 lines · Jérémie Scheer
Quoted 59 lines · Jérémie Scheer
Hi Boris,
Quoted 53 lines · Boris Passerat de La Chapelle
Hi Jérémie
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Jérémie Scheer Envoyé : vendredi 12 juin 2015 17:26
À : [email protected]
Objet : Error on executing compiled >bluetoothd with pluginsQuoted 37 lines
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)Quoted 8 lines
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émieQuoted 1 line
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.
Quoted 7 lines
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 handle0x0001for device 59_57_7C_B6_E5_5F
Unable to register GATT service with handle0x0006for device 59_57_7C_B6_E5_5F
Unable to register GATT service with handle0x000afor 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.
Quoted 15 lines
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 -nQuoted 8 lines
Boris
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html