Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added methods for checking the FIFO buffer #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added methods for checking the FIFO buffer #20

wants to merge 1 commit into from

Conversation

rubberduck203
Copy link

I added a few convenience methods for checking the remaining FIFO buffer.
I've a use case where extremely low latency is more important than making sure every packet is sent,
so I found myself needing to check make sure that there's enough room in the buffer to ensure I don't pay the 200ms penalty for over-running it, as described here.

The change is just a wrapper around the AT+BLEUARTFIFO command. I'm not a fan of using strings when I can wrap a command like this with code. There are other implementations of AT commands in the
Adafruit_BLE class, so it seemed to fit in there.

@hathach hathach added this to TODO in Next Release Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant