Dear Ashok. Thanks a lot for quick reply. I added inline comments. From: ASHOKBABU CHANNA [mailto:[email protected]] Sent: Friday, December 11, 2015 1:38 PM To: ???; iotivity-dev at lists.iotivity.org Subject: Re: [dev] BLE sample code for Arduino based on IoTivity 1.0.0 version
Dear Wonsuk, You can use the sample @iotivity\resource\csdk\stack\samples\arduino\SimpleClientServer\ocserver for any transport in Arduino platform. You just need to build with TARGET_TRANSPORT=BLE in the scons flags. [Wonsuk] When I take a look at ocserver.cpp you mentioned, there is no ?BLE? part in the source code. There is only code for ARDUINOWIFI or Arduino Ethernet Shield like ?#ifdef ARDUINOWIFI #else for // Arduino Ethernet Shield? in the code. That?s why I am asking this issue as previous email. What do you think? Kr, Wonsuk. FYI, as only BLE Peripheral mode supported in Arduino BLE shield (RBL), It can only run as a server. Regards, Ashok ------- Original Message ------- Sender : ???<wonsuk.lee at etri.re.kr<mailto:wonsuk.lee at etri.re.kr>> Date : Dec 11, 2015 12:05 (GMT+09:00) Title : [dev] BLE sample code for Arduino based on IoTivity 1.0.0 version Hi. It seems there is no samples which include enabling BLE for Ardunio platform within Iotivity 1.0.0. Anyone can share a sample code which use BLE on Arduino? Kr, Wonsuk. ========================================= ? ? ? (Wonsuk, Lee) / Senior Researcher, Ph.D ????????? ??????(Protocol Engineering Center, ETRI) Mobile: +82-10-5800-3997 Office: +82-42-860-6104 E-mail: wonsuk.lee at etri.re.kr<mailto:wonsuk.lee at etri.re.kr> http://www.wonsuk73.com/, twitter: @wonsuk73 ========================================= [cid:image001.gif at 01D1341D.1118F800] [http://ext.samsung.net/mailcheck/SeenTimeChecker?do=b6ee01ef39bdd5c094688d82a335e0457ed4a8b19e1561d4a1889aa8efbbee4763bfded22373fadc6b6b8c65bf957811749e89fea883bb21a728c55b39cc59eacf878f9a26ce15a0] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151211/f4dc7323/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13168 bytes Desc: image001.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151211/f4dc7323/attachment.gif>
