generic circular buffer implementation in C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
circbuf/matcher/README.md

394 B

Character stream pattern matcher

Matcher can be used for detecting a pattern in a stream of characters. With each incoming character, call matcher_test().

It will return true if the character completed a match.

Applications

This buffer was designed for parsing responses to AT commands from ESP8266.

It can be used for any similar purpose.