Lines Matching refs:coap_ctx
310 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()
361 alcs_add_svr_key(alcs_mqtt_ctx->coap_ctx, prefix, secret, in __alcs_mqtt_subscribe_callback()
391 if (NULL != alcs_mqtt_ctx->coap_ctx && prefix) { in __alcs_mqtt_subscribe_callback()
406 alcs_add_svr_key(alcs_mqtt_ctx->coap_ctx, prefix, msecret, 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()
540 alcs_mqtt_blacklist_update((void *)ctx->coap_ctx); in alcs_mqtt_init()
556 alcs_add_svr_key(alcs_mqtt_ctx->coap_ctx, prefix, secret, FROMCLOUDSVR); in alcs_mqtt_add_srv_key()