You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For implementing a custom protocol handler based on UART, it is necessary to get knowledge about the LIN Break Detection, Framing Error and Parity Error signals. What is the proposed way for such an implementation?
Would it be ok to propose an extenions of the HarewareSerial class to provide a error callback mechanism that gets called by the HAL_UART_ErrorCallback()? If so, I would be happy to make such a proposal for further discussion.
The text was updated successfully, but these errors were encountered:
Hi @0x6d61726b
HardwareSerial follows the Arduino API that's why there is no error CB.
Anyway feel free to contribute and propose a PR, any contribution are welcome.
But pay attention to not break the standard API 😉
Hi @fpistm, thanks for the positive feedback. 😊
I was unsure if an extension is possible.
Not altering the standard API functionality is taken for granted.
I will come back in the next days with the proposal.
For implementing a custom protocol handler based on UART, it is necessary to get knowledge about the LIN Break Detection, Framing Error and Parity Error signals. What is the proposed way for such an implementation?
Would it be ok to propose an extenions of the HarewareSerial class to provide a error callback mechanism that gets called by the HAL_UART_ErrorCallback()? If so, I would be happy to make such a proposal for further discussion.
The text was updated successfully, but these errors were encountered: