Lines Matching refs:cmd_buf
264 char cmd_buf[sizeof("AT+CIPSEND=0,,\"\",") + in _sock_send() local
286 snprintk(cmd_buf, sizeof(cmd_buf), in _sock_send()
296 snprintk(cmd_buf, sizeof(cmd_buf), in _sock_send()
306 cmds, ARRAY_SIZE(cmds), cmd_buf, in _sock_send()
488 char cmd_buf[CIPRECVDATA_CMD_MAX_LEN + 1]; in cmd_ciprecvdata_parse() local
498 match_len = net_buf_linearize(cmd_buf, CIPRECVDATA_CMD_MAX_LEN, in cmd_ciprecvdata_parse()
500 cmd_buf[match_len] = 0; in cmd_ciprecvdata_parse()
502 *data_len = strtol(&cmd_buf[len], &endptr, 10); in cmd_ciprecvdata_parse()
520 if (endptr == &cmd_buf[len] || in cmd_ciprecvdata_parse()
523 LOG_ERR("Invalid cmd: %s", cmd_buf); in cmd_ciprecvdata_parse()
534 *data_offset = (endptr - cmd_buf) + 1; in cmd_ciprecvdata_parse()