On board S32G-VNP-RDB2 with BSP 42.0.
I got the LIN UART device:
FLEX_LIN: /dev/ttyLF2
LLCE_LIN: ttyLF3 ttyLF4 ttyLF5 ttyLF6
then How can I know the LIN port is in Master or Slave mode?
In Linux user space, for example, with tools like stty or some others.
and How can I set the LIN port mode, master or slave?