How to send and receive data using UART2 (RS232) interface

Hi @rups

If you’re running the app as ‘sandboxed’, you will need to request read/write acces to the device in your .adef file.

requires:
{
    device:
    {
        // read and write access to the UART2 port.
        [rw]    /dev/ttyHSL1   /dev/ttyHSL1
    }
}

Alternately, you can try running the app unsandboxed:

sandboxed: false

Cheers,
Raf