I Debugged the code and under function
static int send_request_bootstrap(anjay_t anjay) {
const anjay_url_t const connection_uri =_anjay_connection_uri(anjay->current_connection);
.
.
connection_uri is coming as blank.
And eventually i am getting connection time out to bootstrap server. Below are the debug logs.
2019-09-18 11:59:49.503384 ERROR [anjay] [/home/pi/Anjay/src/interface/bootstrap_core.c:754]: server responded with -1
2019-09-18 11:59:49.503428 ERROR [anjay] [/home/pi/Anjay/src/interface/bootstrap_core.c:755]: could not request bootstrap
2019-09-18 11:59:49.503491 ERROR [anjay] [/home/pi/Anjay/src/interface/bootstrap_core.c:849]: could not send Request Bootstrap
2019-09-18 11:59:49.503580 DEBUG [anjay] [/home/pi/Anjay/src/servers/activate.c:44]: Bootstrap Server: not reachable. Disabling all communication.
Note.
I am able to connect to same bootstrap server with my wakaama based lwm2m client.,however i tried every possible server configurations in demo_arg.c ,but its getting connection timed out.
Any kind of direction where to look for or suggestions would be greatly appreciated.
Thanks in advance for taking out the time to read.
I Debugged the code and under function static int send_request_bootstrap(anjay_t anjay) { const anjay_url_t const connection_uri =_anjay_connection_uri(anjay->current_connection); . . connection_uri is coming as blank.
And eventually i am getting connection time out to bootstrap server. Below are the debug logs.
2019-09-18 11:59:49.503384 ERROR [anjay] [/home/pi/Anjay/src/interface/bootstrap_core.c:754]: server responded with -1 2019-09-18 11:59:49.503428 ERROR [anjay] [/home/pi/Anjay/src/interface/bootstrap_core.c:755]: could not request bootstrap 2019-09-18 11:59:49.503491 ERROR [anjay] [/home/pi/Anjay/src/interface/bootstrap_core.c:849]: could not send Request Bootstrap 2019-09-18 11:59:49.503580 DEBUG [anjay] [/home/pi/Anjay/src/servers/activate.c:44]: Bootstrap Server: not reachable. Disabling all communication.
Note. I am able to connect to same bootstrap server with my wakaama based lwm2m client.,however i tried every possible server configurations in demo_arg.c ,but its getting connection timed out.
Any kind of direction where to look for or suggestions would be greatly appreciated.
Thanks in advance for taking out the time to read.