From 9462a669566bee942588e0dda2a0dcb9377bbc4f Mon Sep 17 00:00:00 2001 From: jdavidberger Date: Sun, 18 Mar 2018 16:29:40 -0600 Subject: [PATCH] Update README.md (#14) Added blurb about TF_Accept --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4eca1b9..645d8df 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ at a higher level and send the data in chunks. - Implement `TF_WriteImpl()` - declared at the bottom of the header file as `extern`. This function is used by `TF_Send()` and others to write bytes to your UART (or other physical layer). A frame can be sent in it's entirety, or in multiple parts, depending on its size. +- Use TF_AcceptChar(tf, byte) to give read data to TF. TF_Accept(tf, bytes, count) will accept mulitple bytes. - If you wish to use timeouts, periodically call `TF_Tick()`. The calling period determines the length of 1 tick. This is used to time-out the parser in case it gets stuck in a bad state (such as receiving a partial frame) and can also time-out ID listeners.