Home
last modified time | relevance | path

Searched refs:token_len (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/
A Dconnect_ap.c11 uint8_t bssid_len, uint8_t *token_in, uint8_t token_len, in awss_complete_token() argument
16 if (token_len != 0 && token_len < 16 && token_in != NULL) { in awss_complete_token()
27 memcpy(buff + org_token_len, token_in, token_len); in awss_complete_token()
28 org_token_len += token_len; in awss_complete_token()
38 } else if (token_len == AWSS_TOKEN_LEN && token_in != NULL) { in awss_complete_token()
48 uint8_t token_len) in awss_connect() argument
57 ret = awss_complete_token(passwd, bssid, bssid_len, token, token_len, in awss_connect()
A Dconnect_ap.h16 uint8_t bssid_len, uint8_t *token_in, uint8_t token_len,
21 uint8_t token_len);
A Dzconfig_protocol.h204 uint8_t token_len; member
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_adapter.c99 if (message->header.tokenlen == node->token_len && in _iotx_alcs_send_list_search_and_remove()
100 memcmp(message->token, node->token, node->token_len) == 0) { in _iotx_alcs_send_list_search_and_remove()
140 transfer_msg.token_len = send_msg->token_len; in iotx_alcs_coap_adapter_send_msg_handle()
175 transfer_msg.token_len = send_msg->token_len; in iotx_alcs_coap_adapter_send_msg_handle()
673 alcs_send_msg->token_len = coap_msg.header.tokenlen; in iotx_alcs_send()
675 memset(alcs_send_msg->token, 0, alcs_send_msg->token_len + 1); in iotx_alcs_send()
676 memcpy(alcs_send_msg->token, coap_msg.token, alcs_send_msg->token_len); in iotx_alcs_send()
697 uint8_t token_len, uint8_t *token) in iotx_alcs_send_Response() argument
720 if (token_len == 0 || token == NULL) { in iotx_alcs_send_Response()
749 token_payload.len = token_len; in iotx_alcs_send_Response()
A Diotx_alcs.h34 uint8_t token_len; member
257 uint8_t token_len, uint8_t *token);
A Dalcs_adapter.h18 uint8_t token_len; member
/AliOS-Things-master/components/linkkit/wifi_provision/mcast_smartconfig/
A Dmcast_smartconfig.c121 mcast_smartconfig_data.token_len, zc_token); in gen16ByteToken()
157 mcast_smartconfig_data.token_len = mcast_smartconfig_data.data[offset]; in parse_result()
159 mcast_smartconfig_data.token_len); in parse_result()
162 awss_debug("mcast: token is %.*s\n", mcast_smartconfig_data.token_len, in parse_result()
164 offset += mcast_smartconfig_data.token_len; in parse_result()
/AliOS-Things-master/components/linkkit/dev_model/server/
A Ddm_server_adapter.c122 (alcs_context && alcs_context->token_len && alcs_context->token) in dm_server_send()
139 alcs_context->token_len && alcs_context->token) { in dm_server_send()
141 (uint8_t)alcs_context->token_len, in dm_server_send()
A Ddm_server_adapter.h21 int token_len; member
A Ddm_server.c42 alcs_context->token_len = message->header.tokenlen; in _dm_server_malloc_context()
/AliOS-Things-master/components/linkkit/include/linkkit/
A Dwifi_provision_api.h96 uint8_t token_len);
/AliOS-Things-master/components/linksdk/core/
A Daiot_http_api.c171 uint32_t token_len = 0; in _core_http_recv_auth() local
208 &token_len); in _core_http_recv_auth()
218 …http_handle->token = http_handle->sysdep->core_sysdep_malloc(token_len + 1, CORE_HTTP_MODULE_NAME); in _core_http_recv_auth()
223 memset(http_handle->token, 0, token_len + 1); in _core_http_recv_auth()
224 memcpy(http_handle->token, token, token_len); in _core_http_recv_auth()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_message.c74 int token_len = AMP_DEVICE_TOKEN_LENGTH; in pyamptoken_verify() local
231 int token_len = AMP_DEVICE_TOKEN_LENGTH; in pyamp_internal_service_publish() local
241 aos_kv_get(AMP_DEVICE_TOKEN, token_content, &token_len); in pyamp_internal_service_publish()

Completed in 32 milliseconds