freestanding library for receiving commands and executing functions designed for microcontrollers communicating over serial cable
Go to file
Peter McGoron 56719d1d35 exec: add test for detecting a command not in the list 2021-07-30 23:59:40 -04:00
test exec: add test for detecting a command not in the list 2021-07-30 23:59:40 -04:00
Makefile exec: fix binary search 2021-07-30 23:57:22 -04:00
README write line parser 2021-07-10 15:10:00 -04:00
exec.c exec: fix binary search 2021-07-30 23:57:22 -04:00
exec.h exec: fix binary search 2021-07-30 23:57:22 -04:00
input.c input: reset after parse 2021-07-10 15:45:51 -04:00
input.h input: switch inbuf to char double pointer 2021-07-10 15:17:56 -04:00

README

# libscomp -- Simple Control Protocol #

This is a C89+ library for parsing and executing commands. It is written
for a freestanding implementation, meaning that

* It does no dynamic allocation
* It does not require any standard library functions
* It can run on anything with a C compiler

This is designed for microcontrollers that take ASCII input from serial.