/AliOS-Things-master/components/linkkit/iot_coap/server/ |
A D | CoAPExport.c | 42 COAP_DEBUG("Observe Server Max-Count: %d", param->obs_maxcount); in CoAPContext_create() 43 COAP_DEBUG("Observe Client Max-Count: %d", param->obs_maxcount); in CoAPContext_create() 46 COAP_DEBUG("Send/Recv Wait time: %dms", param->waittime); in CoAPContext_create() 196 COAP_DEBUG("CoAP Network Deinit"); in CoAPContext_free() 217 COAP_DEBUG("Release Send List and Memory"); in CoAPContext_free() 221 COAP_DEBUG("CoAP Observe Server Deinit"); in CoAPContext_free() 226 COAP_DEBUG("CoAP Observe Client Deinit"); in CoAPContext_free() 230 COAP_DEBUG("CoAP Resource unregister"); in CoAPContext_free() 235 COAP_DEBUG("Release The Recv Memory"); in CoAPContext_free() 241 COAP_DEBUG("Release The Send Memory"); in CoAPContext_free() [all …]
|
A D | CoAPResource.c | 60 COAP_DEBUG("Release the resource %s", tmpbuf); in CoAPResource_deinit() 178 COAP_DEBUG("CoAPResource_register, context:%p, new node", ctx); in CoAPResource_register() 181 COAP_DEBUG("Register new resource %s success, count: %d", path, in CoAPResource_register() 195 COAP_DEBUG("This feature isn't supported"); in CoAPResource_unregister() 234 COAP_DEBUG("Found the resource: %s", path); in CoAPResourceByPath_get() 240 COAP_DEBUG("Found the resource: %s", path); in CoAPResourceByPath_get()
|
A D | CoAPObserve.c | 39 COAP_DEBUG("Delete %s:%d from observe server", node->remote.addr, in CoAPObsServer_deinit() 77 COAP_DEBUG("The observe client %s:%d already exist,update it", in CoAPObsServer_add() 117 COAP_DEBUG("Create a observe node, cur have %d nodes", in CoAPObsServer_add() 142 COAP_DEBUG("Delete %s:%d from observe server", node->remote.addr, in CoapObsServer_delete() 166 COAP_DEBUG("Delete %s:%d from observe server, cur observe count %d", in CoapObsServerAll_delete() 209 COAP_DEBUG("Send notify message path %s to remote %s:%d ", path, in CoAPObsServer_notify() 286 COAP_DEBUG("There is Observe option in message, handle it"); in CoAPObsClient_add() 299 COAP_DEBUG("Call the observe client callback %p", in CoAPObsClient_add() 338 COAP_DEBUG("Add a new obsclient"); in CoAPObsClient_add()
|
A D | CoAPServer.c | 46 COAP_DEBUG("The uri is %s", uri); in CoAPServerPath_2_option() 83 COAP_DEBUG("Enter to CoAP daemon task"); in CoAPServer_yield() 301 COAP_DEBUG("Send a response message"); in CoAPServerResp_send()
|
A D | CoAPMessage.c | 311 COAP_DEBUG("The CON response message %d receive ACK, remove it", in CoAPAckMessage_handle() 335 COAP_DEBUG("Send Ack Response Message"); in CoAPAckMessage_send() 351 COAP_DEBUG("Send Rest Pong Message"); in CoAPRestMessage_send() 440 COAP_DEBUG("The message needless keep, free it"); in CoAPRespMessage_handle() 495 COAP_DEBUG("Request path is %s msgid %d", path, message->header.msgid); in CoAPRequestMessage_handle() 592 COAP_DEBUG("drop the packet from itself"); in CoAPMessage_process() 662 COAP_DEBUG( in Retansmit()
|
/AliOS-Things-master/components/linkkit/iot_coap/client/ |
A D | Cloud_CoAPMessage.c | 120 COAP_DEBUG("----The message length %d-----", msglen); in Cloud_CoAPMessage_send() 127 COAP_DEBUG("Add message id %d len %d to the list", in Cloud_CoAPMessage_send() 131 COAP_DEBUG("The message doesn't need to be retransmitted"); in Cloud_CoAPMessage_send() 182 COAP_DEBUG("Find the node by token"); in Cloud_CoAPRespMessage_handle() 225 COAP_DEBUG("Version : %d", message.header.version); in Cloud_CoAPMessage_handle() 226 COAP_DEBUG("Code : %d.%02d(0x%x)", msgclass, detail, code); in Cloud_CoAPMessage_handle() 227 COAP_DEBUG("Type : 0x%x", message.header.type); in Cloud_CoAPMessage_handle() 228 COAP_DEBUG("Msgid : %d", message.header.msgid); in Cloud_CoAPMessage_handle() 229 COAP_DEBUG("Option : %d", message.optcount); in Cloud_CoAPMessage_handle() 230 COAP_DEBUG("Payload Len : %d", message.payloadlen); in Cloud_CoAPMessage_handle() [all …]
|
A D | iotx_coap_api.c | 78 COAP_DEBUG("The device name sign: %s", sign); in iotx_calc_sign() 98 COAP_DEBUG("The source string: %s", p_msg); in iotx_calc_sign_with_seq() 183 COAP_DEBUG("The src:%s", buff); in iotx_parse_auth_from_json() 186 COAP_DEBUG("The key is:"); in iotx_parse_auth_from_json() 188 COAP_DEBUG("The short key:"); in iotx_parse_auth_from_json() 210 COAP_DEBUG("Receive response message:"); in iotx_device_name_auth_callback() 212 COAP_DEBUG("* Payload: %s", message->payload); in iotx_device_name_auth_callback() 448 COAP_DEBUG("to encrypt src:%s, len:%d", src, len); in iotx_aes_cfb_encrypt() 483 COAP_DEBUG("Invalid paramter"); in IOT_CoAP_DeviceNameAuth() 535 COAP_DEBUG("The payload is: %s", message.payload); in IOT_CoAP_DeviceNameAuth() [all …]
|
A D | Cloud_CoAPExport.c | 34 COAP_DEBUG("The uri is %s", p_uri); in Cloud_CoAPUri_parse() 70 COAP_DEBUG("The endpoint type is: %d", *p_endpoint_type); in Cloud_CoAPUri_parse() 98 COAP_DEBUG("The host name is: %s", host); in Cloud_CoAPUri_parse() 121 COAP_DEBUG("The port is: %d", *port); in Cloud_CoAPUri_parse()
|
A D | Cloud_CoAPExport.h | 60 #define COAP_DEBUG(...) log_debug("coap_cloud", __VA_ARGS__) macro
|
A D | Cloud_CoAPNetwork.c | 104 COAP_DEBUG("[CoAP-NWK]: Network write return %d", rc); in Cloud_CoAPNetwork_write()
|
/AliOS-Things-master/components/linkkit/dev_model/alcs/ |
A D | alcs_api.c | 84 COAP_DEBUG("find node, sessionid:%d", node->sessionId); in get_session_by_checksum() 109 COAP_DEBUG("get_ctl_session"); in get_ctl_session() 339 COAP_DEBUG("to encrypt src:%s, len:%d", src, len2); in alcs_encrypt() 353 COAP_DEBUG("to decrypt len:%d", len); in alcs_decrypt() 395 COAP_DEBUG("decrypt data:%s, len:%d", out_c, len - pad); in alcs_decrypt() 421 COAP_DEBUG("do_secure_send"); in do_secure_send() 443 COAP_DEBUG("internal_secure_send"); in internal_secure_send() 466 COAP_DEBUG("secure_send sessionId:%d", session->sessionId); in internal_secure_send() 560 COAP_DEBUG("alcs_sendmsg_secure, session not found"); in alcs_sendmsg_secure() 574 COAP_DEBUG("alcs_sendrsp_secure"); in alcs_sendrsp_secure() [all …]
|
A D | alcs_client.c | 32 COAP_DEBUG("payload:%.*s", len, payload); in res_parse() 128 COAP_DEBUG("recv response message"); in nego_cb() 146 COAP_DEBUG("accesskey:%.*s", keylen, accessKey); in nego_cb() 156 COAP_DEBUG("node:%s", node->accessKey); in nego_cb() 168 COAP_DEBUG("node:%s", gnode->accessKey); in nego_cb() 221 COAP_DEBUG("The uri is %s", uri); in CoAPServerPath_2_option() 237 COAP_DEBUG("path: %s,len=%d", path, (int)strlen(path)); in CoAPServerPath_2_option() 250 COAP_DEBUG("recv auth_cb response message"); in auth_cb() 448 COAP_DEBUG("alcs_auth_nego_key"); in alcs_auth_nego_key() 606 COAP_DEBUG("on_client_auth_timer:%d", (int)HAL_UptimeMs()); in on_client_auth_timer() [all …]
|
A D | alcs_server.c | 53 COAP_DEBUG("receive data:%.*s", resMsg->payloadlen, resMsg->payload); in alcs_rec_auth_select() 68 COAP_DEBUG("accessKeys:%.*s", keylen, accesskeys); in alcs_rec_auth_select() 76 COAP_DEBUG("entry:%.*s", entry_len, entry); in alcs_rec_auth_select() 80 COAP_DEBUG("keyprefix:%s", node->keyInfo.keyprefix); in alcs_rec_auth_select() 82 COAP_DEBUG("target keyprefix:%s", entry); in alcs_rec_auth_select() 95 COAP_DEBUG("keyprefix:%s", gnode->keyInfo.keyprefix); in alcs_rec_auth_select() 97 COAP_DEBUG("target keyprefix:%s", entry); in alcs_rec_auth_select() 111 COAP_DEBUG("key:%s", targetKey); in alcs_rec_auth_select() 135 COAP_DEBUG("find devices"); in is_legal_key() 546 COAP_DEBUG("recv_msg_handler, sessionID:%d", (int)sessionId); in recv_msg_handler() [all …]
|
A D | alcs_coap.c | 112 COAP_DEBUG("payload:%s", payload->data); in alcs_observe_notify() 164 COAP_DEBUG("alcs_resource_register, ctx:%p", context); in alcs_resource_register() 165 COAP_DEBUG("ALCS Resource Register: %s", path); in alcs_resource_register() 377 COAP_DEBUG("The uri is %s", uri); in path_2_option() 384 COAP_DEBUG("path: %s,len=%d", path, (int)(ptr - pstr)); in path_2_option() 393 COAP_DEBUG("path: %s,len=%d", path, (int)strlen(path)); in path_2_option()
|
A D | alcs_localsetup.c | 207 COAP_DEBUG("alcs_service_cb_setup, path:%s", paths); in alcs_service_cb_setup() 210 COAP_DEBUG("alcs_service_cb_setup, param is NULL!"); in alcs_service_cb_setup() 236 COAP_DEBUG("entry:%.*s", entry_len, entry); in alcs_service_cb_setup()
|
/AliOS-Things-master/components/linkkit/iot_coap/CoAPPacket/ |
A D | CoAPPlatform.h | 36 #define COAP_DEBUG(...) log_debug("coap_local", __VA_ARGS__) macro 64 #define COAP_DEBUG(...) \
|