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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170615/d8fc6e35/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 13402 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170615/d8fc6e35/attachment.gif>