Home
last modified time | relevance | path

Searched refs:coap_ctx (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_adapter.c279 CoAPContext *coap_ctx = NULL; in iotx_alcs_adapter_init() local
301 coap_ctx = alcs_context_init(&coap_param); in iotx_alcs_adapter_init()
302 if (coap_ctx == NULL) { in iotx_alcs_adapter_init()
307 adapter->coap_ctx = coap_ctx; in iotx_alcs_adapter_init()
561 adapter->alcs_server_auth_timer_func(adapter->coap_ctx); in alcs_heartbeat()
566 adapter->alcs_client_auth_timer_func(adapter->coap_ctx); in alcs_heartbeat()
574 if (adapter == NULL || adapter->coap_ctx == NULL) { in iotx_alcs_yield()
602 if (adapter == NULL || adapter->coap_ctx || msg == NULL || in iotx_alcs_send()
769 if (alcs_resource_need_auth(adapter->coap_ctx, msg->uri)) { in iotx_alcs_send_Response()
873 if (adapter->coap_ctx != NULL) { in iotx_alcs_add_sub_device()
[all …]
A Dalcs_mqtt.c310 if (NULL != alcs_mqtt_ctx->coap_ctx && prefix && secret) { in __alcs_mqtt_subscribe_callback()
315 alcs_add_svr_key(alcs_mqtt_ctx->coap_ctx, prefix, secret, in __alcs_mqtt_subscribe_callback()
359 if (NULL != alcs_mqtt_ctx->coap_ctx && prefix_len && in __alcs_mqtt_subscribe_callback()
391 if (NULL != alcs_mqtt_ctx->coap_ctx && prefix) { in __alcs_mqtt_subscribe_callback()
456 if (NULL != alcs_mqtt_ctx->coap_ctx && blacklist) { in __alcs_mqtt_subscribe_callback()
457 alcs_set_revocation(alcs_mqtt_ctx->coap_ctx, blacklist); in __alcs_mqtt_subscribe_callback()
476 if (NULL != alcs_mqtt_ctx->coap_ctx) { in __alcs_mqtt_subscribe_callback()
477 alcs_set_revocation(alcs_mqtt_ctx->coap_ctx, blacklist); in __alcs_mqtt_subscribe_callback()
507 ctx->coap_ctx = (CoAPContext *)handle; in alcs_mqtt_init()
539 alcs_mqtt_prefixkey_update((void *)ctx->coap_ctx); in alcs_mqtt_init()
[all …]
A Dalcs_mqtt.h16 CoAPContext *coap_ctx; member
A Dalcs_adapter.h46 CoAPContext *coap_ctx; member
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/
A Dawss_cmp_coap.c174 void *coap_ctx = g_coap_ctx; in awss_cmp_coap_deinit() local
177 if (coap_ctx) { in awss_cmp_coap_deinit()
178 CoAPServer_deinit(coap_ctx); in awss_cmp_coap_deinit()

Completed in 8 milliseconds