Searched refs:ap_buf (Results 1 – 1 of 1) sorted by relevance
/AliOS-Things-master/components/ble_netconfig/ |
A D | blecfg_main.c | 98 char *ap_buf, *ssid, *passwd, *pk, *dn, *ds; in BleCfg_cmd_parse() local 262 ap_buf = malloc(ap_len); in BleCfg_cmd_parse() 263 if ( ap_buf == NULL ) { in BleCfg_cmd_parse() 275 ap_buf[ap_offset++] = '('; in BleCfg_cmd_parse() 276 memcpy(&ap_buf[ap_offset], ap_info[loop].ssid, strlen(ap_info[loop].ssid)); in BleCfg_cmd_parse() 278 ap_buf[ap_offset++] = ')'; in BleCfg_cmd_parse() 280 ap_buf[ap_offset] = 0; in BleCfg_cmd_parse() 281 BLECFG_LOG_INFO("%s: SSIDs Total = '%s'\r\n", __func__, ap_buf); in BleCfg_cmd_parse() 294 memcpy(&ble_note[2], &ap_buf[ap_offset], payload_len); in BleCfg_cmd_parse() 302 free(ap_buf); in BleCfg_cmd_parse()
|
Completed in 6 milliseconds