Thanks,
I experimented with raspberry pi 3 and Rpi kernel 4.4(latest version) I installed Bluez 5.38(latest version) and fixed simpleclient.cpp as followed OCPlatform::findResource("", requestURI.str(), CT_ADAPTER_GATT_BTLE, &foundResource); Scons TARGET_ARCH=arm TARGET_TRANSPORT=IP,BLE Actually, there were no error to build and execute but Simpleclient&simpleserver do not communicate Also, when I scons-build without ?IP?, scons TARGET_ARCH=arm TARGET_TRANSPORT=BLE This error appears What is problem? To use, what should I do ? Thanks, From: Jaehong, Jo [mailto:jaehong...@samsung.com] 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=88b6a78ac05616df23ca3d82a0d319e798b219bbdf27afd83841caaef127e426ae5ef84ab272b037d28065424e3f142f704ecb7ec0139eb4db9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a0> -------------- next part -------------- HTML ?????? ??????????????... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160426/086f699e/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 9223 bytes Desc: ?????? ?? ????????. URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160426/086f699e/attachment.png>