Open developez opened 4 years ago
IIRC by default all messages from the coap agent are confirmable.
Also, I haven't really used this library for a while, so expect some bit rot.
Regarding your question, if you want to send a Confirmable message, I would suggest explicitly adding a confirmable: true
in https://github.com/moleike/node-lwm2m/blob/master/lib/server/index.js#L731
HIH
I cannot obtain the CON from the server to the device adding "confirmable: true". My device is waiting after sending the ACK (notification by "observing")
I have updated the awnser.
Hello i am dealing with a device using this implementation.
I observe properly the object "/19/0/0" to receive notifications about the device. The issue is that the device is waiting the ASK response, and that ASK never is sent by the server.
For example if I use the leshan (java) implementation, the server send the CON properly.
Any ideas?