Hi all,
i try to run the simple server with samsung S4 (5.0.1) and the simpleclient
with nexus7 (6.0.1) but i nothing happen, but when i try to build the
Iotivity project with the BT mode it works fine but with the BLE mode it
not work :/
Must i change the simpleclient code ??
Can someone help me please ?
*Cordialement,*
*Salim Zayen*
*?l?ve ing?nieur *
*t?l?phone :+216 23 85 66 25*
*esprit*?
2016-08-23 21:19 GMT+01:00 Wong Hon Chan, Neil D <
neil.d.wong.hon.chan at intel.com>:
> 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:
> iotivity-dev-bounces at lists.iotivity.org] *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*
>
> *espr**it*?
>
> _______________________________________________
>
> iotivity-dev mailing list
>
> iotivity-dev at lists.iotivity.org
>
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
>
>
>
> [image: Image removed by sender.]
>
> _______________________________________________
> 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/20160824/5d5fa3f1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160824/5d5fa3f1/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13402 bytes
Desc: not available
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160824/5d5fa3f1/attachment.gif>