Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 2 months ago.
Asynch serial character match
Can you please explain how the character match is supposed to work.
When should the interrupt handler return "SERIAL_EVENT_RX_CHARACTER_MATCH"? Should detecting a match end the transaction?
Question relating to:
![](/media/cache/profiles/af7fc8485f40dc495bc626d6dbe7faf1.50x50_q85.png)
1 Answer
9 years, 2 months ago.
Yes, once the received character matches with the specified one, transfer ends and it invokes an event.
I'll add a comment to read() methods describing the matching character argument.