Home
last modified time | relevance | path

Searched refs:sessionId (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_api.c84 COAP_DEBUG("find node, sessionid:%d", node->sessionId); in get_session_by_checksum()
127 if (node && node->sessionId) { in get_auth_session()
133 if (node1 && node1->sessionId) { in get_auth_session()
147 if (node && node->sessionId) { in get_auth_session_by_checksum()
154 if (node1 && node1->sessionId) { in get_auth_session_by_checksum()
465 CoAPUintOption_add(message, COAP_OPTION_SESSIONID, session->sessionId); in internal_secure_send()
466 COAP_DEBUG("secure_send sessionId:%d", session->sessionId); in internal_secure_send()
514 unsigned int sessionId = 0; in secure_sendmsg_handler() local
515 CoAPUintOption_get(message, COAP_OPTION_SESSIONID, &sessionId); in secure_sendmsg_handler()
516 COAP_DEBUG("secure_sendmsg_handler, sessionID:%d", (int)sessionId); in secure_sendmsg_handler()
[all …]
A Dalcs_client.c293 session->sessionId = atoi(tmp); in auth_cb()
295 COAP_INFO("sessionId:%d", session->sessionId); in auth_cb()
355 if (session->sessionId) { in do_auth()
558 return session && session->sessionId ? 1 : 0; in alcs_device_online()
577 if (node->sessionId && is_networkadd_same(&node->addr, remote)) { in heart_beat_cb()
585 if (node->sessionId && is_networkadd_same(&node->addr, remote)) { in heart_beat_cb()
586 unsigned int sessionId = 0; in heart_beat_cb() local
587 CoAPUintOption_get(message, COAP_OPTION_SESSIONID, &sessionId); in heart_beat_cb()
589 if (node->sessionId != sessionId) { in heart_beat_cb()
622 if (!node->sessionId) { in on_client_auth_timer()
A Dalcs_server.c301 session->sessionId = ++sessionid_seed; in alcs_rec_auth()
331 session->sessionId); in alcs_rec_auth()
544 unsigned int sessionId = 0; in recv_msg_handler() local
545 CoAPUintOption_get(message, COAP_OPTION_SESSIONID, &sessionId); in recv_msg_handler()
546 COAP_DEBUG("recv_msg_handler, sessionID:%d", (int)sessionId); in recv_msg_handler()
552 if (!session || session->sessionId != sessionId) { in recv_msg_handler()
709 if (node->sessionId && is_networkadd_same(&node->addr, remote)) { in alcs_rec_heart_beat()
770 CoAPUintOption_add(message, COAP_OPTION_SESSIONID, session->sessionId); in observe_data_encrypt()
793 if (node->sessionId && node->heart_time + default_heart_expire < tick) { in on_svr_auth_timer()
A Dalcs_api_internal.h75 int sessionId; member
/AliOS-Things-master/components/py_engine/modules/ucloud_ai/
A Dchatbot.c80 char *sessionId = in obj_input() local
86 LOGD(LOG_TAG, "sessionId = %s\n", sessionId); in obj_input()
90 response = ucloud_ai_chatbot(instanceId, sessionId, text); in obj_input()
/AliOS-Things-master/components/ucloud_ai/src/model/
A Dchatbot.cc39 string sessionId = pSessionId; in chatbot() local
40 request.setQueryParameter("SessionId", sessionId); in chatbot()

Completed in 24 milliseconds