[WP760x][SW] How to control as GPIO in unused IF

UART2_RTS:
(1) AT!ENTERCND=“A710”
(2) using AT command “AT!entercnd=“A710”;!BSGPIO?14” to read the UART2_RTS status which is stated as input pin in PTS.

UART2_CTS:
Please see the example here which is using UART1:

You just need to change the opened port to /dev/ttyHS1 for UART2 in Component.cdef and UART_Test1.c line 240. ( of course you need to change UART2 to data mode by AT!MAPUART=17,2)