Hi,
I’ve been using the device_server branch from GitHub - ARMmbed/mbed-client-example-6lowpan at device_server without any problems. To switch from Device Server to Connector, I’ve updated the gateway router with the dynamic binary, undefined USING_DEVICE_SERVER and updated security.h with the security credentials. I’m now getting the following error:
Start mbed-client-example-6lowpan
[DBG ][m6La]: init()
[DBG ][m6La]: connect()
[INFO][m6LND]: Start 6LoWPAN ND Bootstrap
[DBG ][m6LND]: app_parse_network_event() 0
[INFO][m6LND]: 6LoWPAN ND bootstrap ready
[DBG ][m6LND]: ND Access Point: fd00:ff1:ce0b:a5e0:0:ff:fe00:b725
[DBG ][m6LND]: ND Prefix 64: fd:00:0f:f1:ce:0b:a5:e0
[DBG ][m6LND]: GP IPv6: fd00:ff1:ce0b:a5e0:fec2:3d00:4:9e3d
[DBG ][m6LND]: MAC 16-bit: ff:ff
[DBG ][m6LND]: PAN ID: 06:91
[DBG ][m6LND]: MAC 64-bit: fc:c2:3d:00:00:04:9e:3d
[DBG ][m6LND]: IID (Based on MAC 64-bit address): fe:c2:3d:00:00:04:9e:3d
[DBG ][m6LND]: Channel: 12
mesh_network_handler() 0
[DBG ][ns_wrap]: ns_wrapper_socket_open(1)
waiting 5s before sending registration...
send_registration()
[DBG ][ns_wrap]: SOCKET_TX_DONE, 163 bytes sent
[DBG ][ns_wrap]: SOCKET_TX_DONE, 163 bytes sent
[DBG ][ns_wrap]: SOCKET_TX_DONE, 163 bytes sent
error 6
Reconnecting to server
[DBG ][ns_wrap]: ns_wrapper_socket_free(1)
[DBG ][ns_wrap]: ns_wrapper_socket_open(2)
waiting 5s before sending registration...
send_registration()
[DBG ][ns_wrap]: SOCKET_TX_DONE, 163 bytes sent
[DBG ][ns_wrap]: SOCKET_TX_DONE, 163 bytes sent
[DBG ][ns_wrap]: SOCKET_TX_DONE, 163 bytes sent
error 6
From what I can find, ‘error 6’ represents ‘NetworkError’, but I can’t get any more information than that. Also, is there a way to view the terminal output from the gateway routers for debugging?
Thanks,
Andrew