11 years, 1 month ago.

error during registering mbed nsp client

How can we pass domain name apart from endpoint and nsp ip during mbed nsp client registration ? Did not find this in mbed nsp ethernet client C example.. But we find a setDomain in java sample.. So tried adding domain passing a param domain during registration nsdl_init_register_endpoint(endpoint_ptr, (uint8_t*)endpoint_name, ep_type, lifetime_ptr,domain); Declared as uint8_t domain[] = {"domain"}; Initialised endpoint_structure in nsdl_support.cpp in nsdl_init_register_endpoint function

We used LPC1768_LWM2M_Client sample , tried to register with NSP version 1.12 but got 404 from NSP

Here is NSP log TRACE:14 Nov 2014 17:13:45,656: com.sensinode.coap.server.CoapServer CoAP received [/192.168.161.226:49153 CON POST MID:308 URI:/rd?ep=mbed-1DF8A&et=mbed_device&lt=1200 Host:domain pl:'</apikey>,</definition>'] TRACE:14 Nov 2014 17:13:45,656: com.sensinode.coap.server.CoapServer CoAP sent [/192.168.161.226:49153 ACK 404 MID:308]

Be the first to answer this question.