Home
last modified time | relevance | path

Searched refs:p_devinfo (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/linkkit/iot_http/
A Diotx_http_api.c228 iotx_device_info_t *p_devinfo; in IOT_HTTP_Init() local
242 p_devinfo = pInitParams->device_info; in IOT_HTTP_Init()
271 iotx_http_context->p_devinfo = in IOT_HTTP_Init()
273 if (NULL == iotx_http_context->p_devinfo) { in IOT_HTTP_Init()
281 strncpy(iotx_http_context->p_devinfo->device_id, p_devinfo->device_id, in IOT_HTTP_Init()
282 strlen(p_devinfo->device_id)); in IOT_HTTP_Init()
283 strncpy(iotx_http_context->p_devinfo->product_key, p_devinfo->product_key, in IOT_HTTP_Init()
284 strlen(p_devinfo->product_key)); in IOT_HTTP_Init()
286 p_devinfo->device_secret, strlen(p_devinfo->device_secret)); in IOT_HTTP_Init()
287 strncpy(iotx_http_context->p_devinfo->device_name, p_devinfo->device_name, in IOT_HTTP_Init()
[all …]
/AliOS-Things-master/components/linkkit/iot_coap/client/
A Diotx_coap_api.c51 iotx_coap_device_info_t *p_devinfo; member
848 if (NULL == p_config->p_devinfo) { in IOT_CoAP_Init()
873 if (NULL == p_iotx_coap->p_devinfo) { in IOT_CoAP_Init()
880 if (NULL != p_config->p_devinfo) { in IOT_CoAP_Init()
883 p_config->p_devinfo->device_id, in IOT_CoAP_Init()
886 p_config->p_devinfo->product_key, in IOT_CoAP_Init()
929 if (NULL != p_iotx_coap->p_devinfo) { in IOT_CoAP_Init()
930 coap_free(p_iotx_coap->p_devinfo); in IOT_CoAP_Init()
961 if (NULL != p_iotx_coap->p_devinfo) { in IOT_CoAP_Deinit()
962 coap_free(p_iotx_coap->p_devinfo); in IOT_CoAP_Deinit()
[all …]
/AliOS-Things-master/components/linkkit/dev_model/
A Diotx_cm_coap.c56 static int iotx_set_devinfo(iotx_coap_device_info_t *p_devinfo);
110 coap_config->p_devinfo = deviceinfo; in iotx_cm_open_coap()
138 static int iotx_set_devinfo(iotx_coap_device_info_t *p_devinfo) in iotx_set_devinfo() argument
140 if (NULL == p_devinfo) { in iotx_set_devinfo()
144 memset(p_devinfo, 0x00, sizeof(iotx_coap_device_info_t)); in iotx_set_devinfo()
147 HAL_GetProductKey(p_devinfo->product_key); in iotx_set_devinfo()
148 HAL_GetDeviceName(p_devinfo->device_name); in iotx_set_devinfo()
149 HAL_GetDeviceSecret(p_devinfo->device_secret); in iotx_set_devinfo()
150 HAL_Snprintf(p_devinfo->device_id, in iotx_set_devinfo()
152 p_devinfo->product_key, p_devinfo->device_name); in iotx_set_devinfo()
[all …]
/AliOS-Things-master/components/linkkit/include/linkkit/
A Dhttp_api.h38 iotx_device_info_t *p_devinfo; member
A Dcoap_api.h78 iotx_coap_device_info_t *p_devinfo; /*Device info*/ member

Completed in 12 milliseconds