Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Write request with object uri

Hi,

  In LightweightM2M-V1_0_2-20180209-A, §5.4.3 (page 36), this is clearly express that ObjectID and Object Instance ID is required. In other words, this is not allowed to send a write request which targets an object. (only object instance and resource are supported)

 The example page 57, is about notification (so observation), it shows historical representation of resource /72/1/2. This is not about write request and not about object uri.

  If I didn't do any mistake, this is not allowed by the spec, so  we don't plan to support it.

HTH,

Simon


Le 22/06/2018 à 23:32, Bojan Petrovic a écrit :

Dear leshan developers,

 

I have a question regarding org.eclipse.leshan.core.request.WriteRequest class. On line 318 you forbid creation of WriteRequest for object, even though specification gives example of sending write request with object uri. Page 57 of OMA-TS-LightweightM2M-V1_0_2-20180209-A  specification has following example:

{“bn”:“/72/“,

“e”:[ {"n":"1/2","v":22.4,"t":-5},

{"n":"1/2","v":22.9,"t":-30},

{"n":"1/2","v":24.1,"t":-50}],

"bt":25462634 }. Are you planning on supporting this feature?

 

Best regards,

Bojan Petrović




_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev


Back to the top