Home
last modified time | relevance | path

Searched refs:p_context (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPNetwork.c18 int CoAPNetwork_read(NetworkContext *p_context, NetworkAddr *p_remote, in CoAPNetwork_read() argument
26 if (NULL == p_context || NULL == p_remote || NULL == p_data) { in CoAPNetwork_read()
30 network = (NetworkConf *)p_context; in CoAPNetwork_read()
45 int CoAPNetwork_write(NetworkContext *p_context, NetworkAddr *p_remote, in CoAPNetwork_write() argument
53 if (NULL == p_context || NULL == p_remote || NULL == p_data) { in CoAPNetwork_write()
57 network = (NetworkConf *)p_context; in CoAPNetwork_write()
111 void CoAPNetwork_deinit(NetworkContext *p_context) in CoAPNetwork_deinit() argument
114 if (NULL == p_context) { in CoAPNetwork_deinit()
118 network = (NetworkConf *)p_context; in CoAPNetwork_deinit()
125 coap_free(p_context); in CoAPNetwork_deinit()
[all …]
A DCoAPNetwork.h37 int CoAPNetwork_write(NetworkContext *p_context, NetworkAddr *p_remote,
41 int CoAPNetwork_read(NetworkContext *p_context, NetworkAddr *p_remote,
45 void CoAPNetwork_deinit(NetworkContext *p_context);
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_event.c60 genie_service_ctx_t *p_context = NULL; in _genie_event_handle_pbadv_start() local
70 p_context = genie_service_get_context(); in _genie_event_handle_pbadv_start()
71 if (p_context) in _genie_event_handle_pbadv_start()
245 genie_service_ctx_t *p_context = NULL; in genie_down_msg() local
252 p_context = genie_service_get_context(); in genie_down_msg()
254 if (p_msg == NULL || !p_context || !p_context->event_cb) in genie_down_msg()
372 genie_service_ctx_t *p_context = NULL; in genie_event() local
374 p_context = genie_service_get_context(); in genie_event()
375 if (!p_context || !p_context->event_cb) in genie_event()
390 p_context->event_cb(GENIE_EVT_SW_RESET, p_arg); in genie_event()
[all …]
/AliOS-Things-master/components/linkkit/include/linkkit/
A Dcoap_api.h129 void IOT_CoAP_Deinit(iotx_coap_context_t **p_context);
141 int IOT_CoAP_DeviceNameAuth(iotx_coap_context_t *p_context);
152 int IOT_CoAP_Yield(iotx_coap_context_t *p_context);
168 int IOT_CoAP_SendMessage(iotx_coap_context_t *p_context, char *p_path,
/AliOS-Things-master/components/linkkit/iot_coap/client/
A Diotx_coap_api.c270 iotx_coap_t *p_context = NULL; in iotx_event_notifyer() local
273 p_context->is_authed = IOT_FALSE; in iotx_event_notifyer()
306 p_iotx_coap = (iotx_coap_t *)p_context; in iotx_get_well_known()
478 p_iotx_coap = (iotx_coap_t *)p_context; in IOT_CoAP_DeviceNameAuth()
555 ret = iotx_report_mid(p_context); in IOT_CoAP_DeviceNameAuth()
560 ret = iotx_report_devinfo(p_context); in IOT_CoAP_DeviceNameAuth()
611 if (p_context == NULL) { in IOT_CoAP_GetCurToken()
614 p_iotx_coap = (iotx_coap_t *)p_context; in IOT_CoAP_GetCurToken()
630 p_iotx_coap = (iotx_coap_t *)p_context; in IOT_CoAP_SendMessage()
635 p_context, p_path, p_message); in IOT_CoAP_SendMessage()
[all …]
/AliOS-Things-master/components/linkkit/dev_model/
A Diotx_cm_coap.c50 extern uint32_t IOT_CoAP_GetCurToken(iotx_coap_context_t *p_context);

Completed in 9 milliseconds