I need to communicate with an external RS-232 device. I will be working with Android on the Dragonboard 410c.
(1) What is the general hardware connection approach?
I thought I might be able to use the built-in UART with a MAX3232 based board to level-shift from DragonBoard -> 5V RS-232 like these:
https://www.sparkfun.com/products/11189q
I don’t believe these products will work at the 1.8V voltage level of the DragonBoard though. Would it make more sense to use a USB<->RS-232 dongle? Would there be driver problems getting that to work with Android? Any alternate approach?
(2) UART in Android
What is the general software approach to sending/receiving serial messages in Android? Does anyone have sample code?
Thanks!