Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_pcbatest_server.c766 cJSON *sub_JSON; in tcp_command_parse() local
774 sub_JSON = cJSON_GetObjectItem(recvJSON , recv_paras[num].name); in tcp_command_parse()
775 if (sub_JSON) { in tcp_command_parse()
776 if ((sub_JSON->type != cJSON_String) || (sub_JSON->valuestring == NULL)) { in tcp_command_parse()
777 log_err("parse json type error(%d) or null string \n", sub_JSON->type); in tcp_command_parse()
781 if (strlen(sub_JSON->valuestring) > sizeof(recv_paras[num].valuestr)) { in tcp_command_parse()
783 strlen(sub_JSON->valuestring), in tcp_command_parse()
788 strcpy(recv_paras[num].valuestr, sub_JSON->valuestring); in tcp_command_parse()
790 err_code = tcp_command_check(num, sub_JSON->valuestring); in tcp_command_parse()