-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of send operation for single resource data with TLV format ? #761
Comments
At least from LWM2M specification point of view. TLV is not allowed for
|
Ok in that case that makes sense, thank you for confirmation. Is the SenML CBOR more efficient than TLV in term of data size ? |
I don't know. 🤷 TLV is a binary format so it should be pretty efficient. LWM2M v1.1.x more or less deprecates TLV :
And introduces SenML-CBOR which is based on CBOR described as :
(source : RFC8949 § Abstract) So I guess it should be pretty efficient too but I don't know compare to TLV But the funny part, in LWM2M v1.2.x , authors introduce another format called LwM2M CBOR which is suppose to be more efficient but is NOT an IETF standard and WITHOUT timestamped value support ... (probably not supported by Wakaama because if I remember well Wakaama is about LWM2M v1.1.x ) |
Thanks again. I suppose yes that CBOR is efficient too, I will compare the data part when doing a read with TLV and a send with senml CBOR. I am doing tests with Wireshark/tcpdump on client side to evaluate data usage between formats I hope the LWM2M standards will converge with something supported by many constructors. Today I am using Wakaama but in the final commercial product maybe we will use the embedded LWM2M stack from modem ... |
Wakaama is dual licensing so you can choose to use one or another of those 2 licenses : |
Thanks.
What is the rule to send unsolicited data using send method without always refreshing connection ?
I noticed that sometimes I have to update registration before to send Coap/CBOR data but sometimes it's not needed ...
Sorry for asking that, I am a rookie in LwM2M ...
|
I don't know what you called "connection".
Hard to say but maybe you behind NAT and so from a Server point of view your client IP changes and so you need to do an update ? |
I am using Wakaama client "update 123" command to refresh the registration.
Maybe it is due to NAT, I don't now, but sometimes if I don't do the "update 123" then the server sends an error response telling I am not registered.
It's not always 1 or 2 minutes, it depends. Is there a session timeout exposed during first registration or registration update ?
|
Please read all answers about : eclipse-leshan/leshan#1544 |
@EmbGangsta Can we close this issue? As mentioned by @sbernard31 TLV is not allowed in |
I dont know if it's normal or a bug, but when I run the wakaama client demo with the "send 123 /3/0/9" command, I can see today the supported format is only SENML JSON or SENML CBOR.
Would it be possible to support TLV as well ?
The text was updated successfully, but these errors were encountered: