editable serial input line buffer
Dependents: MAX5715BOB_Tester MAX11131BOB_Tester MAX5171BOB_Tester MAX11410BOB_Tester ... more
Diff: CmdLine.h
- Revision:
- 10:3e2ff983be1c
- Parent:
- 9:12e37800ecdd
- Child:
- 13:abedfe18f924
--- a/CmdLine.h Mon Nov 11 23:27:59 2019 +0000 +++ b/CmdLine.h Wed Nov 13 16:04:28 2019 -0800 @@ -96,10 +96,13 @@ void append(char ch); // append ch to buf, unless BS or EOL or other editing character + // onEOLcommandParser Callback<void(CmdLine&)> onEOLcommandParser; //!< optional immediate handler for End Of Line CR or LF, parse the command buffer + // diagnostic_led_EOF Callback<void(void)> diagnostic_led_EOF; //!< optional @ref diagnostic_led_EOF + // Immediate handlers on_immediate_0x21 .. on_immediate_0x7e Callback<void(void)> on_immediate_0x21; //!< optional @ref Immediate handler for Unicode (U+0021) ! EXCLAMATION MARK Callback<void(void)> on_immediate_0x22; //!< optional @ref Immediate handler for Unicode (U+0022) " QUOTATION MARK Callback<void(void)> on_immediate_0x23; //!< optional @ref Immediate handler for Unicode (U+0023) # NUMBER SIGN = pound sign, hash, crosshatch @@ -150,6 +153,7 @@ // bool parse_and_remove_key(const char *key, int& matched_index); bool parse_and_remove_key(const char *key, char *valueBuf, size_t valueBufLen); char chSeparator; + bool match_is_case_sensitive; bool parse_frequency_Hz(const char *key, uint32_t& frequency_Hz); bool parse_interval_usec(const char *key, us_timestamp_t& interval_usec);