Hi, 

I checked old bluetooth daemon is running although installed new bluez
version

After changing old bluetoothd file to new bluetoothd file, New bluetooth
daemon is running



This is my case

rm -rf /usr/lib/bluetooth/bluetoothd

cp ($your bluez directory)/src/bluetoothd /usr/lib/bluetooth/bluetoothd 

rm -rf /usr/local/libexec/bluetooth/bluetoothd

cp ($your bluez directory)/src/bluetoothd
/usr/local/libexec/bluetooth/bluetoothd



After bluetoothd -v returned 5.31 version

But still simpleclient&server misworks..



Best regards,

From: Jaehong, Jo [mailto:[email protected]] 
Sent: Tuesday, May 03, 2016 8:44 AM
To: Othman, Ossama
Cc: sy.kim; iotivity-dev at lists.iotivity.org
Subject: Re: Re: [dev] Qustions about BLE





Hi, Ossama.



I already saw README and added "--experimental" in configure.

1) ./configure --enable-experimental --prefix=/usr --mandir=/usr/share/man
--sysconfdir=/etc --localstatedir=/var --enable-library --disable-systemd

2) make

3) sudo make install



If I input this command

$bluetoothd -E

D-Bus setup failed: Connection ":1.15" is not allowed to own the service ...





I think I missed a few things. Could you tell me what is that?



Thank you,

Jaehong





------- Original Message -------

Sender : Othman, Ossama<ossama.othman at intel.com>

Date : 2016-05-03 02:43 (GMT+09:00)

Title : Re: [dev] Qustions about BLE



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/b
t_le_adapter/linux/README



HTH!

-Ossama  


<http://ext.samsung.net/mailcheck/SeenTimeChecker?do=3af3b79521f261fade65e2d
b034c224092524f5494bb31473841caaef127e426ae5ef84ab272b037d28065424e3f142f704
ecb7ec0139eb4db9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a0> 

-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160503/0d2e7848/attachment.html>

Reply via email to