Hi,
Have you guys compiled the Android IoTivity with SECURED=1 and get the 
simpleserver and simpleclient to work with secured resources?
Or do we know that it is a current issue and the secured resources still need 
to be implemented for the Android build?
I have tried modifying the .json and .dat files to hardcode the devices but 
they still did not work in the Android sample applicaations over Wi-Fi.
Neil.

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of JiHwan Seo
Sent: Tuesday, August 23, 2016 3:38 AM
To: EZAYEN Salim via iotivity-dev <iotivity-dev at lists.iotivity.org>
Subject: Re: [dev] BLE/Android


Hi.



If you want to ran Android to Android on BLE

please use "FindResource on unicast" like below.



and I recommend that Gatt Server(Resource Server) is worked on Android 5.0 or 
5.1.

because BLE on Android 6.0 has dynamic random address.



and Host information of the FindResource should be replaced with unicast format 
like upper.



OcPlatform.findResource("coap+gatt://XX:XX:XX:XX:XX:XX",   // XX:XX:XX:XX:XX:XX 
-> BLE mac address of the gatt server device

                              "/oic/res",

                              
EnumSet.of(OcConnectivityType.CT_ADAPTER_GATT_BTLE),

                              listener,

                              QualityOfService.LOW);



Jihwan



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

Sender : EZAYEN Salim via iotivity-dev <iotivity-dev at lists.iotivity.org>

Date : 2016-08-23 19:14 (GMT+9)

Title : [dev] BLE/Android


Hi Iotivity,
Can someone please help me to use simple client and simpleserver with android 
using the BLE mode ?
Thank you all.
Cordialement,




Salim Zayen
?l?ve ing?nieur
t?l?phone :+216 23 85 66 25
 esprit?

_______________________________________________

iotivity-dev mailing list

iotivity-dev at lists.iotivity.org

https://lists.iotivity.org/mailman/listinfo/iotivity-dev





[cid:image001.gif at 01D1FD40.B2AAFE60]

[Image removed by sender.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160823/3b20d52b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160823/3b20d52b/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13402 bytes
Desc: image001.gif
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160823/3b20d52b/attachment.gif>

Reply via email to