8 years, 10 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:

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

1 Answer

8 years, 10 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.