Hello,
I am developing an Linux OpenEmbedded application (Yocto) with “Apalis iMX8 QuadXPlus 2GB Wi-Fi / Bluetooth IT”.
I need to enable/use UART (RS 485), and I have some questions:
I am planning to use an open source library from GitHub:
Blog: C++ cross-platform RS232 serial communication library |
Code : GitHub - imabot2/serialib: Serial library for Linux & Windows
But I worry it doesn’t work, because I notice that from Toradex document:
Seems need to enable the RS485 flag during C/C++ coding implementation
Question 1: So I am wonder can the open source library still good to be used ? I thought RS232 & RS485 are using same protocol so coding implementation should be the same. If no, please explain in more details.
Question 2: Do you know any open source library ? If yes, please share me the link(s).
Thank you very much !