I was following the instructions provided at Thingsboard LwM2M-API. When trying to connect a Wakaama example client, I get a Connection creation failed.
log message:
$ ./lwm2mclient -h lwm2m.thingsboard.cloud -n NuttX -p 5685 -c
Trying to bind LWM2M Client to port 56830
LWM2M Client "NuttX" started on port 56830
> New Battery Level: 67
value changed!
Opening connection to server at lwm2m.thingsboard.cloud:5685
Connection creation failed.
-> State: STATE_REGISTERING
Opening connection to server at lwm2m.thingsboard.cloud:5685
Connection creation failed.
-> State: STATE_REGISTERING