Hi,
We need to connect the first serial port of a Digi Connect ME 9210 to an external device.
What is the correct way to do this:
- let the uboot + linux start using /dev/ttyS0 as default console
- free the /dev/ttyS0 (and redirect stdin/stdout/stderr to /dev/null)
- … here we can start our application that will open and lock the /dev/ttyS0 and use it to communicate with the external device. At the end it will close the serial port.
- re-enable stdin/stdout/stderr to /dev/ttyS0
NOTE: if possible, step 2 and 4 should be performed by a simple busybox script
Thank you in advance,
Marzio