Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_bus_spi.c190 const char endstr[] = "[EOMA]"; in eswifi_spi_read_msg() local
207 if (strncmp(rsp, startstr, sizeof(endstr) - 1)) { in eswifi_spi_read_msg()
214 msg_len = ret - (sizeof(startstr) - 1) - (sizeof(endstr) - 1); in eswifi_spi_read_msg()
216 eswifi_async_msg(eswifi, rsp + sizeof(endstr) - 1, msg_len); in eswifi_spi_read_msg()
Deswifi_core.c137 const char endstr[] = "\r\nOK\r\n>"; in eswifi_at_cmd_rsp() local
163 if (len < sizeof(endstr) - 1 + sizeof(startstr) - 1) { in eswifi_at_cmd_rsp()
168 for (i = len - sizeof(endstr); i > 0; i--) { in eswifi_at_cmd_rsp()
169 if (!strncmp(&eswifi->buf[i], endstr, 7)) { in eswifi_at_cmd_rsp()