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
Ondřej Hruška 891c07f5fb moved to folders, updated etc 9 years ago
..
README.md moved to folders, updated etc 9 years ago
matcher.c moved to folders, updated etc 9 years ago
matcher.h moved to folders, updated etc 9 years ago

README.md

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.