Searched refs:buf_write_idx (Results 1 – 1 of 1) sorted by relevance
91 int buf_write_idx; member1113 read(handle->rfcomm_fd, &handle->buf[handle->buf_write_idx], in process_at_commands()1114 SLC_BUF_SIZE_BYTES - handle->buf_write_idx - 1); in process_at_commands()1118 handle->buf_write_idx += bytes_read; in process_at_commands()1119 handle->buf[handle->buf_write_idx] = '\0'; in process_at_commands()1121 while (handle->buf_read_idx != handle->buf_write_idx) { in process_at_commands()1135 if (handle->buf_read_idx == handle->buf_write_idx) { in process_at_commands()1137 handle->buf_write_idx = 0; in process_at_commands()1142 if (handle->buf_write_idx == SLC_BUF_SIZE_BYTES - 1) { in process_at_commands()1145 handle->buf_write_idx - handle->buf_read_idx); in process_at_commands()[all …]