Lines Matching refs:uri

139             transfer_msg.uri = send_msg->uri;  in iotx_alcs_coap_adapter_send_msg_handle()
152 ALCS_free(send_msg->uri); in iotx_alcs_coap_adapter_send_msg_handle()
174 transfer_msg.uri = send_msg->uri; in iotx_alcs_coap_adapter_send_msg_handle()
187 ALCS_free(send_msg->uri); in iotx_alcs_coap_adapter_send_msg_handle()
225 ALCS_free(node->uri); in _iotx_alcs_adapter_send_list_destroy()
604 msg->uri == NULL || strlen(msg->uri) == 0) { in iotx_alcs_send()
622 res = alcs_msg_setAddr(&coap_msg, msg->uri, NULL); in iotx_alcs_send()
635 uri_pk = iotx_alcs_topic_parse_pk(msg->uri, &uri_pk_len); in iotx_alcs_send()
636 uri_dn = iotx_alcs_topic_parse_dn(msg->uri, &uri_dn_len); in iotx_alcs_send()
678 alcs_send_msg->uri = (char *)ALCS_ADAPTER_malloc(strlen(msg->uri) + 1); in iotx_alcs_send()
679 if (alcs_send_msg->uri == NULL) { in iotx_alcs_send()
685 memset(alcs_send_msg->uri, 0, strlen(msg->uri) + 1); in iotx_alcs_send()
686 memcpy(alcs_send_msg->uri, msg->uri, strlen(msg->uri)); in iotx_alcs_send()
716 msg->uri == NULL || strlen(msg->uri) == 0) { in iotx_alcs_send_Response()
739 res = alcs_msg_setAddr(&coap_msg, msg->uri, NULL); in iotx_alcs_send_Response()
755 uri_pk = iotx_alcs_topic_parse_pk(msg->uri, &uri_pk_len); in iotx_alcs_send_Response()
756 uri_dn = iotx_alcs_topic_parse_dn(msg->uri, &uri_dn_len); in iotx_alcs_send_Response()
769 if (alcs_resource_need_auth(adapter->coap_ctx, msg->uri)) { in iotx_alcs_send_Response()
799 if (adapter == NULL || adapter->coap_ctx == NULL || resource->uri == NULL || in iotx_alcs_register_resource()
800 strlen(resource->uri) == 0) { in iotx_alcs_register_resource()
804 uri_pk = iotx_alcs_topic_parse_pk(resource->uri, &uri_pk_len); in iotx_alcs_register_resource()
805 uri_dn = iotx_alcs_topic_parse_dn(resource->uri, &uri_dn_len); in iotx_alcs_register_resource()
815 COAP_INFO("alcs register resource, uri:%s", resource->uri); in iotx_alcs_register_resource()
821 adapter->coap_ctx, productKey, deviceName, resource->uri, in iotx_alcs_register_resource()
834 int iotx_alcs_observe_notify(void *handle, const char *uri, in iotx_alcs_observe_notify() argument
844 res = alcs_observe_notify(adapter->coap_ctx, uri, &coap_payload); in iotx_alcs_observe_notify()
853 int iotx_alcs_unregister_resource(void *handle, char *uri) in iotx_alcs_unregister_resource() argument