Hi IOTivity,
why is this unicast not working with coap+ble ? we have tried with 1.0.0,
1.0.1, 1.1.0 and 1.1.1, the logs are mentioned in the JIRA ticket.
please provide us with the example for the get request from the android client
to Arduino server. please mention the version of IOTivity that we can use for
Arduino+BLE+Android. Since none of the examples are working.
All I need is just one example and the version number, please provide me with
the same !! ?
String requestUri = OcPlatform.WELL_KNOWN_QUERY + "?rt=core.light";
OcPlatform.findResource("coap+gatt://c3:58:0f:41:6e:f4",
requestUri,
EnumSet.of(OcConnectivityType.CT_ADAPTER_GATT_BTLE),
this//listener
);
JIRA Ticket: https://jira.iotivity.org/browse/IOT-1217
Logs:
OIC_RI_OBSERVE: 574: No options present
: OIC_RI_STACK: 1546: Entering HandleStackRequests (OCStack Layer)
: OIC_RI_SERVERREQUEST: 201: Get server request with token
: OIC_RI_SERVERREQUEST: ED 6B 33 4A 6E 83 85 65
: OIC_RI_SERVERREQUEST: 204: Found token
: OIC_RI_SERVERREQUEST: 213: Server Request not found!!
: OIC_RI_STACK: 1558: This is a new Server Request
: OIC_RI_SERVERREQUEST: 338: Server Request Added!!
: OIC_RI_STACK: 1592: This Server Request is complete
: OIC_RI_RESOURCE: 676: Entering HandleVirtualResource
: OIC_RI_STACK: 4473: Generate UUID for Server Instance failed!
: OIC_RI_STACK: 4493: Generate UUID String for Server Instance failed!
: OIC_RI_STACK: 3878: Entering OCDoResponse
: OIC_RI_SERVERREQUEST: 617: Error converting payload
: OIC_RI_STACK: 1815: Exit OCHandleRequests
: OIC_RI_STACK: 1884: Exit HandleCARequests
: OIC_CA_MSG_HANDLE: 309: CADestroyData IN
: OIC_CA_MSG_HANDLE: 343: CADestroyData OUT
: OIC_CA_MSG_HANDLE: 381: CAProcessReceivedData OUT
: OIC_CA_LE_ADAP: 2502: OUT
: LES: 143: OUT
: OIC_CA_LE_ADAP: 1983: OUT
OIC_CA_LE_ADAP: 1983: OUT
: OIC_CA_RETRANS: 239: retransmission main thread start
: OIC_CA_RETRANS: 306: retransmission main thread end
: OIC_CA_LE_ADAP: 1979: IN
: LES: 147: NoData
: OIC_CA_LE_ADAP: 1983: OUT
: OIC_CA_RETRANS: 239: retransmission main thread start
: OIC_CA_RETRANS: 306: retransmission main thread end
: OIC_CA_LE_ADAP: 1979: IN
Thanks
-Rangaraju
From: Nr, Vikas
Sent: Tuesday, August 23, 2016 9:04 PM
To: mailto:pakkya1234 at gmail.com <pakkya1234 at gmail.com<mailto:pakkya1234
at gmail.com>>
Cc: jihwan.seo at samsung.com<mailto:jihwan.seo at samsung.com>; Devaraju,
Rangaraju <rangaraju.devaraju at accenture.com<mailto:rangaraju.devaraju at
accenture.com>>
Subject: RE: [dev] BLE/Android
Hi Prakash,
we are not able to find resource with coap+gatt://XX:XX:XX:XX:XX:XX the below
mentioned. Please let us know what will the URL be if our MAC address is
c3:58:0f:41:6e:f4
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);
Thanks
-Vikas
From: Devaraju, Rangaraju
Sent: Tuesday, August 23, 2016 5:38 PM
To: Nr, Vikas <vikas.nr at accenture.com<mailto:vikas.nr at accenture.com>>
Subject: FW: [dev] BLE/Android
From: Prakash Ks [mailto:[email protected]]
Sent: Tuesday, August 23, 2016 4:36 PM
To: Devaraju, Rangaraju <rangaraju.devaraju at
accenture.com<mailto:rangaraju.devaraju at accenture.com>>
Subject: Fwd: [dev] BLE/Android
---------- Forwarded message ----------
From: JiHwan Seo <jihwan.seo at samsung.com<mailto:[email protected]>>
Date: Tue, Aug 23, 2016 at 4:07 PM
Subject: Re: [dev] BLE/Android
To: EZAYEN Salim via iotivity-dev <iotivity-dev at
lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>>
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<mailto: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<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.iotivity.org_mailman_listinfo_iotivity-2Ddev&d=DQMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=7tMYnbONFLykRciNgwFIf75AXAw25ZLCc6RZRcjDEK4&m=4724wlfLwV1zcay2WTmPvuZRh4RJAv3O_fIjJiI2mMg&s=JJ5Fu99-96qgTZ7qTust-VB0cWcz0pzLFF17a5VSgNo&e=>
[cid:image001.png at 01D203F6.04358460]
[http://v70ext.samsung.net/mail/ext/v1/external/status/update?userid=jihwan.seo&do=bWFpbElEPTIwMTYwODIzMTAzNzQ4ZXBjbXMxcDg1ZmFiMmNiNTBkODcyZjhmOTg1MWRhZGJlNGYzYzE0ZiZyZWNpcGllbnRBZGRyZXNzPWlvdGl2aXR5LWRldkBsaXN0cy5pb3Rpdml0eS5vcmc_]
_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.iotivity.org_mailman_listinfo_iotivity-2Ddev&d=DQMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=7tMYnbONFLykRciNgwFIf75AXAw25ZLCc6RZRcjDEK4&m=4724wlfLwV1zcay2WTmPvuZRh4RJAv3O_fIjJiI2mMg&s=JJ5Fu99-96qgTZ7qTust-VB0cWcz0pzLFF17a5VSgNo&e=>
--
With Regards
Prakash K S
9743167347
________________________________
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise confidential information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the e-mail by you is prohibited. Where allowed by local law, electronic
communications with Accenture and its affiliates, including e-mail and instant
messaging (including content), may be scanned by our systems for the purposes
of information security and assessment of internal compliance with Accenture
policy.
______________________________________________________________________________________
www.accenture.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/76912f38/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 123801 bytes
Desc: image001.png
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/76912f38/attachment.png>