anjay_ongoing_registration_exists() remains true when a bootstrapping is used.
IsaacDynamo opened this issue · comments
Expected anjay_ongoing_registration_exists()
to return false
when bootstrapping is done and client registered to the lwm2m server.
Testcase
Run the demo with a bootstrap server. After the client is connected to the lwm2m server, anjay_ongoing_registration_exists()
returns true
.
output/bin/demo -e test_anjay_ongoing_registration_exists -b -u coap://leshan.eclipseprojects.io:5783
(DEMO)>ongoing-registration-exists
ONGOING_REGISTRATION==true
When a lwm2m server is used directly without bootstrapping, anjay_ongoing_registration_exists()
will return false
as expected when the client is connected.
output/bin/demo -e test_anjay_ongoing_registration_exists -u coap://leshan.eclipseprojects.io:5683
(DEMO)>ongoing-registration-exists
ONGOING_REGISTRATION==false
Version
Anjay 2.13.0
Hi!
Thank you for the issue, we added it to our tracking system and will work on the solution
Hi,
This issue should be fixed in the 2.14.0 release that has just been pushed.