Jihwan

"Endpoint" is specified per Transport Protocol Suites.

I assume by "BLE" you mean CoAP + BLE.
(If it's CoAP + UPD + IPv6 + 6lo + BLE, no problem.)

Since OCF didn't specify "CoAP + BLE" Transport Protocol Suite yet,
we can't define Endpoint for that.

However tentatively we expect Endpoint for "CoAP + BLE" would be like

  "ep": "coap+ble://e4-2b-42-85-ab-04"

  with scheme "coap + ble" representing Transport Protocol Suties
  authority "BLE MAC adress" Endpoint Locator

and link with coap+ble endpoint would be

  {
    "anchor": "ocf://heartrate_sensor_device_id",
    "href": "/myHeartRate",
    "rt": ["oic.r.heartrate"],
    "if": ["oic.if.s", "oic.if.baseline"],
    "eps": [{"ep": "coap+ble://e4-2b-42-85-ab-04" }, {"ep":
"coaps://[fe80::a4ca:5493:e96:3cea]:1112"}]
  }

Take notice in the above example,
the target Resource (oic.r.heartrate) has two endpoints,
one for CoAP + BLE & one for CoAPS+UDP+IP.

It would facilitate BLE Endpoint specification
if you register a scheme for CoAP + BLE.

best regards

JinHyeock




On Wed, Aug 3, 2016 at 10:41 AM, ??? <jihwan.seo at samsung.com> wrote:

> Hi JinHyeock
>
> I have some doubt about the endpoint spec.
> since I can't find that how to express BLE MAC address in "eps".
> most of BLE platforms is not supporting Public API to get own address.
> it means that 'eps' will not be added own BLE address of CoAP server.
> To conclude, the spec will not be useful for all of plarforms.
>
> if you have any idea upper issue. please let me know.
>
> Regrads,
> Jihwan
>
>
> ===================================================================================
> Looks fine.
>
> This is the current Endpoint specification
>
> https://workspace.openconnectivity.org/apps/org/workgroup/architecture_tg/email/archives/201608/msg00004.html
> which ATG has just reviewed & is planned for 0.3 spec.
>
> best regards
>
> JinHyeock
>
>
> On Mon, Aug 1, 2016 at 5:45 PM, ??? <bg.chun at samsung.com> wrote:
>
>> Hi, All
>>
>> I will implement OCF Endpoint on iotivity.
>>
>>
>>
>> Endpoint is Information which indicate available messaging protocol about
>> each resource on server.
>>
>> and resource can has one or multiple Endpoints.
>>
>>
>>
>> Below is example of "oic/res" with "eps" parameter which represented
>> endpoint on resource.
>>
>> {
>>   "href": "/a/light",
>>   "rt": ["core.light", "core.brightlight"],
>>   "if": ["oic.if.baseline", "oic.if.ll"],
>>   "p" : {"bm" : "3", "sec" : "false",},
>>   "eps": [
>>           {"ep": "coap://[fe80::a4ca:5493:e96:3cea]:1111", "ttl": 86400,
>> "pri": 2},
>>           {"ep": "coaps://[fe80::a4ca:5493:e96:3cea]:1112", "ttl": 86400,
>> "pri": 1},
>>           {"ep": "coap+tcp://[2001:db8:a::123]:2222", "ttl": 86400,
>> "pri": 3}
>>          ]
>> }
>>
>>
>>
>>
>>
>> More detail in jira task(IOT-1207)
>>
>> https://jira.iotivity.org/browse/IOT-1207
>>
>>
>>
>> Plz see concept of endpoint on attached documents on jira, and feedback
>> on jira or mai.
>>
>>
>>
>> thank you.
>>
>>
>> _______________________________________________
>> iotivity-dev mailing list
>> iotivity-dev at lists.iotivity.org
>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>
>>
>
>
>
>
> --------- *Original Message* ---------
>
> *Sender* : JinHyeock Choi <jinchoe at gmail.com>
>
> *Date* : 2016-08-02 01:36 (GMT+9)
>
> *Title* : Re: [dev] OCF Endpoint Implement on iotivity
>
> *To : *???<bg.chun at samsung.com>
>
> *CC : *iotivity-dev at lists.iotivity.org<iotivity-dev at lists.iotivity.org>
>
>
>
> _______________________________________________iotivity-dev mailing 
> listiotivity-dev at 
> lists.iotivity.orghttps://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160803/8ed8a95f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201608031041218_V0UVOUUB.png
Type: image/png
Size: 33527 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160803/8ed8a95f/attachment.png>
-------------- 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/20160803/8ed8a95f/attachment-0001.png>

Reply via email to