Searched refs:_device_name (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_PRODUCT_rhino.c | 24 char _device_name[IOTX_DEVICE_NAME_LEN + 1] = { 0 }; variable 51 memset(_device_name, 0x0, IOTX_DEVICE_NAME_LEN + 1); in HAL_SetDeviceName() 57 strncpy(_device_name, device_name, len); in HAL_SetDeviceName() 134 int len = strlen(_device_name); in HAL_GetDeviceName() 138 aos_kv_get(DEVINFO_DN, _device_name, &len); in HAL_GetDeviceName() 140 strncpy(device_name, _device_name, len); in HAL_GetDeviceName()
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_OS_yoc.c | 231 static char _device_name[DEVICE_NAME_LEN + 1]; variable 244 HAL_Snprintf(device_id, DEVICE_ID_LEN, "%s.%s", _product_key, _device_name); in HAL_GetDeviceID() 252 int len = strlen(_device_name); in HAL_GetDeviceName() 256 aos_kv_get(DEVINFO_DN, _device_name, &len); in HAL_GetDeviceName() 259 memcpy(_device_name, "Aqc89RDHJs63EbIvllPk", len + 1); in HAL_GetDeviceName() 264 strncpy(device_name, _device_name, len); in HAL_GetDeviceName() 333 memset(_device_name, 0x0, DEVICE_NAME_LEN + 1); in HAL_SetDeviceName() 342 strncpy(_device_name, device_name, len); in HAL_SetDeviceName()
|
/AliOS-Things-master/solutions/linkkit_genie_demo/ |
A D | genie_demo.c | 267 char _device_name[IOTX_DEVICE_NAME_LEN + 1] = {0}; in set_iotx_info() local 275 HAL_GetDeviceName(_device_name); in set_iotx_info() 276 if (strlen(_device_name) == 0) { in set_iotx_info()
|
/AliOS-Things-master/components/linksdk/components/ota/ |
A D | aiot_ota_api.c | 589 char *_product_key, *_device_name, *tmp; in _ota_prase_topic() local 601 _device_name = tmp + slash_len; in _ota_prase_topic() 602 _device_name_len = topic_len - (_device_name - topic); in _ota_prase_topic() 611 _device_name = tmp + slash_len; in _ota_prase_topic() 612 …_device_name_len = strstr((const char *)topic, OTA_GET_REPLY_TOPIC_SUFFIX) - _device_name - slash_… in _ota_prase_topic() 620 _device_name = tmp + slash_len; in _ota_prase_topic() 621 tmp = strstr((const char *)(_device_name), SLASH); in _ota_prase_topic() 622 _device_name_len = tmp - _device_name; in _ota_prase_topic() 623 postfix = _device_name + _device_name_len; in _ota_prase_topic() 644 memcpy(_device_name_local, _device_name, _device_name_len); in _ota_prase_topic()
|
Completed in 34 milliseconds