ARMmbed / ATParser

Parser for AT commands and similar protocols.
35 stars 27 forks source link

Fix negative indices in check for delimiter #13

Open geky opened 6 years ago

geky commented 6 years ago

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. Will need to test.

cc @soramame21 related issue https://github.com/ARMmbed/ATParser/issues/12