Skip to content

Add support for reading back string replies to AT commands#56

Merged
hathach merged 1 commit into
adafruit:masterfrom
ihaque:add_str_replies
Oct 6, 2020
Merged

Add support for reading back string replies to AT commands#56
hathach merged 1 commit into
adafruit:masterfrom
ihaque:add_str_replies

Conversation

@ihaque

@ihaque ihaque commented Oct 4, 2020

Copy link
Copy Markdown

This PR adds two (pairs of) helper functions to Adafruit_ATParser to allow the user to read back results from AT commands that return string values (e.g., AT+GATTLIST). (They come in pairs taking char* and FlashStringHelper* command params.)

No existing code was modified; only these functions were added.

I have tested this code inside a personal project still pending release running on the Feather 32u4 Bluefruit LE, and only in the narrow use case of checking the output from AT+GATTLIST, but it works fine there. I have not tested it on any other platforms.

@ladyada ladyada requested a review from hathach October 5, 2020 15:47

@hathach hathach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look great, thank you very much for this PR.

@hathach hathach merged commit e659770 into adafruit:master Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants