Searched refs:network_param (Results 1 – 2 of 2) sorted by relevance
130 coap_network_init_t network_param; in Cloud_CoAPContext_create() local133 memset(&network_param, 0x00, sizeof(coap_network_init_t)); in Cloud_CoAPContext_create()168 ret = Cloud_CoAPUri_parse(param->url, &network_param.ep_type, host, in Cloud_CoAPContext_create()169 &network_param.port); in Cloud_CoAPContext_create()177 if (COAP_ENDPOINT_DTLS == network_param.ep_type) { in Cloud_CoAPContext_create()179 network_param.p_ca_cert_pem = (unsigned char *)iotx_ca_crt; in Cloud_CoAPContext_create()182 if (COAP_ENDPOINT_NOSEC == network_param.ep_type || in Cloud_CoAPContext_create()183 COAP_ENDPOINT_PSK == network_param.ep_type) { in Cloud_CoAPContext_create()184 network_param.p_ca_cert_pem = NULL; in Cloud_CoAPContext_create()186 network_param.p_host = host; in Cloud_CoAPContext_create()[all …]
33 NetworkInit network_param; in CoAPContext_create() local35 memset(&network_param, 0x00, sizeof(NetworkInit)); in CoAPContext_create()114 network_param.type = COAP_NETWORK_DTLS; in CoAPContext_create()115 network_param.port = COAPS_DEFAULT_PORT; in CoAPContext_create()117 network_param.type = COAP_NETWORK_NOSEC; in CoAPContext_create()118 network_param.port = param->port; in CoAPContext_create()119 network_param.group = param->group; in CoAPContext_create()123 p_ctx->p_network = CoAPNetwork_init(&network_param); in CoAPContext_create()
Completed in 3 milliseconds