ATParser icon indicating copy to clipboard operation
ATParser copied to clipboard

Parser for AT commands and similar protocols.

Results 10 ATParser issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to parse the response of AT Command. In telnet, i can test the command AT and it will response two empty lines and the response OK and...

Because the way the ringbuffer works it's not possible to get the underlying buffer in the RX IRQ callback because then ATParser will miss characters. By adding the character as...

The check for delimiters was doing something creative in ATParser::recv. Ended up with a negative index. Should be able to replace with strncmp, although this may change the behaviour slightly....

I read following code and found next line is accessing a negative index. Is it true? `response[i+1-_recv_delim_size]` I assume following conditions. i=0, recv_delim_size=2, recv_delimiter="\r\n" ``` bool ATParser::vrecv(const char *response, va_list...

How do I use this library to parse a response: ``` AT+CSGN\r\n 014532000023453\r\n OK\r\n ``` I have tried ```c++ _parser.send("AT+CGSN") && _parser.recv("AT+CGSN\r\n%s\r\nOK",_deviceStatus.imei); ``` and various other combinations and I can...

question

read() and write() do not behave as documented in ATParser.h. /** * Write an array of bytes to the underlying stream * * @param data the array of bytes to...

enhancement

I am working to integrate a NBIoT module and found that this ATParser could not support some strings. After debugging, I found it is caused by the poor sscanf(). For...

enhancement

Just wonder why don't merge baud branch to master?