Hi Veeraj, Thanks for your valuable inputs. Further questions: if GATT will be used, what GATT characteristics should be included in the payload? Is there any BLE server sample code that demonstrates how OIC resources (e.g. light or led) should be hosted? It looks to me the BLE in SimpleBase is a client. Any comments would be very appreciated. Thanks.
Best Regards, Tonny On 15 June 2017 at 17:27, Veeraj S Khokale <veeraj.sk at samsung.com> wrote: > Hi Tonny, > > > > Iotivity BLE implementation is based on GATT not 6LowPAN, and the service > UUID used in the samples is not yet certified by OCF. > > > > Regards > > Veeraj S Khokale > > > > --------- *Original Message* --------- > > *Sender* : Tonny Tzeng <tonny.tzeng at gmail.com> > > *Date* : 2017-06-15 14:38 (GMT+5:30) > > *Title* : Re: [dev] bluetooth integration in iotivity > > > Hi Veeraj, > > Thanks for the pointer, I'm also looking for how IoTivity uses BLE as the > transport. > > From the SimplaBase source tree, it seems IoTivity has defined his own > service ID *ADE3D529-C784-4F63-A987-EB69F70EE816*, instead of the > Internet Protocol service ID 00001820-0000-1000-8000-00805f9b34fb used > for 6LowPAN. Would you please clarify whether the former uuid is temporary > used in the sample code, or it has been ratified by OCF? > > Best Regards, > Tonny > > On 15 June 2017 at 14:25, Veeraj S Khokale <veeraj.sk at samsung.com> wrote: > >> Hi Puneet, >> >> >> >> You can refer the SimpleBase sample app for android 5.0 located in >> java/examples-android/simplebase folder for BLE examples. >> >> You need to build iotivity with SECURED=0 for android (refer the wiki for >> android build instructions). The apk for simplebase will >> >> be generated in the java/examples-android/simplebase/build/outputs >> subdirectory. This app has both client and server functionality. >> >> Note that before discovery you need to run Bluetooth LE scan in the >> simplebase client app UI under Bluetooth menu since BLE >> >> supports only unicast discovery. Then register resource on server side >> and choose LE adapter to perform requests on client side. >> >> Also note that only Android 5.0 is supported and tested as of now. >> >> >> >> Regards >> >> Veeraj S Khokale >> >> >> >> --------- *Original Message* --------- >> >> *Sender* : ??? <karavolt at broadwave.co.kr> >> >> *Date* : 2017-06-14 18:51 (GMT+5:30) >> >> *Title* : Re: [dev] bluetooth integration in iotivity >> >> >> >> hi puneet. >> >> i also want to know about BLE. >> >> >> >> i tried this way. make a gatt server with bluez library(example : >> btgatt-server.c). >> >> >> >> and integrate ocf server source, modify scons(add libs, headers, .c >> files) it quite tough way. and cause some errors. >> >> >> >> thx & gl! >> >> >> >> >> >> -----Original Message----- >> *From:* "Puneet Verma1"<puneet.verma1 at tcs.com> >> *To:* "iotivity-dev at lists.iotivity.org"<iotivity-dev at >> lists.iotivity.org>; >> >> *Cc:* >> *Sent:* 2017-06-14 (?) 20:49:09 >> *Subject:* [dev] bluetooth integration in iotivity >> >> >> Hello, >> >> I want to discover and scan bluetooth(BLE) divices but not sure how >> to use given files to make server who can do scanning and pairing things >> of bluetooth devices. >> >> Could you please show me if is any examples or tell me how do I >> proceed. >> >> >> Thank you! >> >> >> =====-----=====-----===== >> Notice: The information contained in this e-mail >> message and/or attachments to it may contain >> confidential or privileged information. If you are >> not the intended recipient, any dissemination, use, >> review, distribution, printing or copying of the >> information contained in this e-mail message >> and/or attachments to it are strictly prohibited. If >> you have received this communication in error, >> please notify us by reply e-mail or telephone and >> immediately and permanently delete the message >> and any attachments. Thank you >> >> _______________________________________________ >> iotivity-dev mailing listiotivity-dev at >> lists.iotivity.orghttps://lists.iotivity.org/mailman/listinfo/iotivity-dev >> >> >> >> >> >> _______________________________________________ >> iotivity-dev mailing list >> iotivity-dev at lists.iotivity.org >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev >> >> > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170615/aa11d78b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201706151458849_EWXXYKEN.gif Type: image/gif Size: 13402 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170615/aa11d78b/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201602111742151_N3WZA6X7.png Type: image/png Size: 33527 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170615/aa11d78b/attachment.png>