Lines Matching refs:off
1171 static int esp_conn_cmd_append(struct esp_data *data, size_t *off, in esp_conn_cmd_append() argument
1175 char *str = &data->conn_cmd[*off]; in esp_conn_cmd_append()
1187 *off = str - data->conn_cmd; in esp_conn_cmd_append()
1192 #define esp_conn_cmd_append_literal(data, off, chunk) \ argument
1193 esp_conn_cmd_append(data, off, chunk, sizeof(chunk) - 1)
1195 static int esp_conn_cmd_escape_and_append(struct esp_data *data, size_t *off, in esp_conn_cmd_escape_and_append() argument
1199 char *str = &data->conn_cmd[*off]; in esp_conn_cmd_escape_and_append()
1225 *off = str - data->conn_cmd; in esp_conn_cmd_escape_and_append()
1234 size_t off = 0; in esp_mgmt_connect() local
1248 err = esp_conn_cmd_append_literal(data, &off, "AT+"_CWJAP"=\""); in esp_mgmt_connect()
1253 err = esp_conn_cmd_escape_and_append(data, &off, in esp_mgmt_connect()
1259 err = esp_conn_cmd_append_literal(data, &off, "\",\""); in esp_mgmt_connect()
1265 err = esp_conn_cmd_escape_and_append(data, &off, in esp_mgmt_connect()
1272 err = esp_conn_cmd_append_literal(data, &off, "\""); in esp_mgmt_connect()