Hi Othman,
Thanks for your kindly reply.
I was build BlueZ 5.37.
Build steps is as below.
(1) ./configure --enable-experimental
(2) make
(3) sudo make install
Raspberry PI is mounted RASPBIAN JESSIE (Kernel version 4.1).
I was build "Iotivity 2016_02_09 gerrit version" on Raspberry PI.
Build command:
scons TARGET_OS=linux TARGET_ARCH=arm TARGET_TRANSPORT=BLE
Run "simpleserver" on Raspberry PI and then run "simpleclient" on android.
But simpleserver is waiting always. (cann't connection)
========================================================
$ ./simpleserver
Usage : simpleserver <value>
Default - Non-secure resource and notify all observers
1 - Non-secure resource and notify list of observers
2 - Secure resource and notify all observers
3 - Secure resource and notify list of observers
4 - Non-secure resource, GET slow response, notify all observers
Created resource.
Added Interface and Type
Waiting
========================================================
I check lescan usinig hcitool.
Scaning is fine.
What's the problem?
Best regards,
Roy Kang
2016-02-09 6:13 GMT+09:00 Othman, Ossama <ossama.othman at intel.com>:
> Hi Roy,
>
> On Sun, Feb 7, 2016 at 12:55 AM, Roy Kang <roykang75 at gmail.com> wrote:
>>
>> I have been run Iotivity on arduino mega, arduino due and android.
>>
>> Arduino mega2560 <==> android : success
>> Arduino due <==> android : success
>>
>> I try Rasberry PI.
>>
>> I have question.
>> I will try communication BLE between simpleserver(Rasberry PI) and
>> simpleclient(Android).
>> What kind of BLE dongle support for Rasberry PI ?
>>
>> I try build Iotivity on ubutu 14.04 LTS for x86 and then then run
>> simpleserver.
>> (ubutu machine is mounted CSR 4.0 USB dongle)
>>
>> Next, I try connect simpleclient for android to ubuntu.
>> But simpleclient can not to discovery about ubuntu machine.
>> What is problem ? BLE dongle or anything else ?
>>
>
> Which version of BlueZ are you running? You'll need at least BlueZ 5.31.
> You'll also need at least kernel 4.1 on the peripheral side. Ubuntu 14.04
> shipped with BlueZ 4.x, which isn't supported by the Linux BLE code in
> IoTivity. Ubuntu 15.10 ships with suitable versions of both BlueZ and the
> Linux kernel. See the following README file for further details on Linux
> BLE support in general:
>
>
> 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/20160209/165d8fd2/attachment.html>