Hi SY,


Additional explanation.

>From this release we decided not to release the CA exclusive sample.

Rather than, you can make use of Base Layer C++ as below or C API.



BR, Uze Choi

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Jaehong, Jo
Sent: Thursday, April 21, 2016 9:20 AM
To: sy.kim; iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Is there any example for communication through BLE





Hello.



You can use simpleserver & simpleclient for communication through BLE.



Change OCConnectivityType when you find resource in "simpleclient.cpp".


 OCPlatform::findResource("", requestURI.str(),
                                     CT_ADAPTER_GATT_BTLE, &foundResource);





One more, le advertisement support in BlueZ 5.31.

You can find README file in 
/iotivity/resource/csdk/connectivity/src/bt_le_adapter/linux/



If you want to see the log, add build option RELEASE=0.

And I also try it with raspberry pi3.





Thank you,

Jaehong





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

Sender : sy.kim<sy.kim at netsys.kaist.ac.kr>

Date : 2016-04-20 01:15 (GMT+09:00)

Title : [dev] Is there any example for communication through BLE



Hi, 



I?m using raspberry pi2 to run Iotivity with BLE and the OS is raspbian Jessie

I checked /out/~~~/simpleclient & simpleserver work well through IP 
communication 

Now, I want make iotivity application with BLE communication on Raspberry pi2



Is there sample program for BLE ?

Or Is there tutorial to use BLE in iotivity ?



Actually, there was a sample program ?CAsample? at 1.0.1 version(Does not work 
well with BLE ) but is not in version 1.1.0



Below is scons command I used and there was no error



scons TARGET_ARCH=arm TARGET_TRANSPORT=IP,BLE





Best regards,

  
<http://ext.samsung.net/mailcheck/SeenTimeChecker?do=88b6a78ac05616df23ca3d82a0d319e798b219bbdf27afd87e3e8c4d8134f0f9be7dd83ce6b932973c40f787d33f357d4b31597edd603a7ce5a22f09e2218feaa728c55b39cc59eacf878f9a26ce15a0>
 

-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160421/42a32557/attachment.html>

Reply via email to