Hi, On Mon, May 2, 2016 at 3:47 AM, Jaehong, Jo <jaehong.jo at samsung.com> wrote: > > When I ran ./simpleserver 1 > > Advertise failed with below message. > > "LE advertisment registration failed for all Bluetooth adapters." > > > > And when I excuted ./simpleclient 1 > > Advertise failed like server and SetDiscoveryFilter call failed. > > "GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method > "SetDiscoveryFilter" with .." > > So stack initializing failed. > > > > I also install Bluez 5.31 and apply 2 patches. > > Could you share your bluez configure option and other settings? >
It looks like you didn't start bluetoothd with the "--experimental" command line flag. The BlueZ GATT API was considered experiemental in BlueZ 5.31, and must be explicitly enabled. See the following README: https://git.iotivity.org/cgit/iotivity/tree/resource/csdk/connectivity/src/bt_le_adapter/linux/README HTH! -Ossama -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160502/b9bbd006/attachment.html>
