Home
last modified time | relevance | path

Searched refs:g_servCtx (Results 1 - 1 of 1) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Dcoap_service.c26 static coap_context_t *g_servCtx = NULL; variable
61 if (g_servCtx != NULL) { in CoapServerThread()
62 coap_free_context_lwip(g_servCtx); in CoapServerThread()
63 g_servCtx = NULL; in CoapServerThread()
85 g_servCtx = coap_new_context_lwip(&serv_addr); in CoapServerStart()
86 if (!g_servCtx) { in CoapServerStart()
92 coap_add_resource(g_servCtx, hello_resource); in CoapServerStart()
99 stappTask.auwArgs[0] = (UINT32)g_servCtx; in CoapServerStart()
114 if (g_servCtx != NULL) { in CoapServerStop()
115 coap_free_context_lwip(g_servCtx); in CoapServerStop()
[all...]

Completed in 1 milliseconds