Skip to content

GetASCIIResponseCode looks ahead too far [ESP32] #21

@xennex22

Description

@xennex22

GetASCIIResponseCode search all of the rx buffer for keywords like OK, ERROR etc.

If the data arrives line by line this is ok. If the data arrives all at once then GetASCIIResponseCode will generally find OK and then ignore the preceding data. I note that AT+GMR has special processing to cope with this.

The solution is for GetASCIIResponseCode (and its associated functions) to only search the buffer for one line when matching strings.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions