-
Notifications
You must be signed in to change notification settings - Fork 371
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
Updating registration fail if no endpoint identifier #102
Comments
Hi, Regards, |
Hi Ricky, as always: Though the answer contains "text" (Client must specify an endpoint identifier), I would guess There was a change in the LWM2M TS at the beginning of 2015 ( 12. Feb. ) to map Mit freundlichen Grüßen / Best regards Achim Kraus |
Hi David and Achim, Thanks for your information. You guys are kind. :) Actually I don't know what the server is but I guess it's leshan server. Looks like the issue is caused by server. closed the issue.
must specify an endpoint identifier"); RickyLiu |
leshan 0.1.4, seems to be "very old", and the code shows the old TS (using POST/PUT for register and update). If it's possible, update the leshan to a more current version (0.1.11 ...). Alternatively (not recommended) just for testing only:
|
I'll try it. Thanks Achim :) 2016-03-09 16:04 GMT+08:00 Achim Kraus notifications@github.com:
RickyLiu |
When I connect to DM server, the updating registration is fail because no endpoint identifier.
Is it necessary to send endpoint identifier to server? I don't see this param is required in spec.
I guess server doesn't recognize the update command and treat it as registration command. That's why return error.
Any idea?
Thanks in advance.
Updating registration...
Sending 22 bytes to [0.0.0.0]:5683
44 02 61 ED ED 61 A0 45 B2 72 64 0A 64 66 5A 58 D.a..a.E.rd.dfZX
6C 65 72 48 45 6C lerHEl
52 bytes received from [0.0.0.0]:5683
64 80 61 ED ED 61 A0 45 C0 FF 43 6C 69 65 6E 74 d.a..a.E..Client
20 6D 75 73 74 20 73 70 65 63 69 66 79 20 61 6E must specify an
20 65 6E 64 70 6F 69 6E 74 20 69 64 65 6E 74 69 endpoint identi
66 69 65 72 fier
Parsed: ver 1, type 2, tkl 4, code 4.00, mid 25069
Content type: 0
Payload: Client must specify an endpoint identifier
The text was updated successfully, but these errors were encountered: