Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » Reference to request query fields
Reference to request query fields [message #1790163] Wed, 06 June 2018 10:52 Go to next message
Yorick Brunet is currently offline Yorick BrunetFriend
Messages: 3
Registered: June 2018
Junior Member
Hello,

I'm starting to use OM2M and I followed the tutorials.
I'd like to create my own app using examples at https://wiki.eclipse.org/OM2M/one/App and https://wiki.eclipse.org/OM2M/one/REST_API .

While taking example at these pages, I would also like to understand how the protocol is done.
To create a MY_SENSOR application on the gateway, the body of the request (https://wiki.eclipse.org/OM2M/one/REST_API#Create_a_.22MY_SENSOR.22_application) is
<m2m:ae xmlns:m2m="www.onem2m.org/xml/protocols" rn="MY_SENSOR" >
<api>app-sensor</api>
<lbl>Type/sensor Category/temperature Location/home</lbl>
<rr>false</rr>
</m2m:ae>

However, I haven't found the specification/documentation (on www.onem2m.org or here) where each request is described and each field explained. For example, I can guess what "lbl" means, but not "rr". I would like to have a detailed description in order to be able to choose the values of my requests.

Is there a document or web page which describes this ?

Thanks.
Re: Reference to request query fields [message #1790166 is a reply to message #1790163] Wed, 06 June 2018 11:36 Go to previous messageGo to next message
Ferenc Unghváry is currently offline Ferenc UnghváryFriend
Messages: 4
Registered: February 2018
Junior Member
Hello,

see Service Layer Core Protocol specification:

http://www.onem2m.org/images/files/deliverables/Release2/TS-0004_Service_Layer_Core_Protocol_V2_7_1.zip
Re: Reference to request query fields [message #1790169 is a reply to message #1790166] Wed, 06 June 2018 12:13 Go to previous message
Yorick Brunet is currently offline Yorick BrunetFriend
Messages: 3
Registered: June 2018
Junior Member
Great ! Thank you.

(see § 8.2 Short names, page 226)
Previous Topic:A nullpointerException occur when i send CoAP message to IN-CSE
Next Topic:OM2M MQTT-TLS
Goto Forum:
  


Current Time: Fri Sep 21 03:41:49 GMT 2018

Powered by FUDForum. Page generated in 0.02132 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top