GPIO complete setup

I want to setup GPIO pin high when a particular function from the flashed app is running in mangOH yellow and make it low when that function is completed,

how to do it?

Also can we use only 1 GPIO pin under export?

root@swi-mdm9x28-wp:~# ls /sys/class/gpio/
export gpiochip0 gpiochip1012 gpiochip200 gpiochip809 gpiochip852 gpiochip916 gpiochip980 v2
gpio23 gpiochip1 gpiochip1018 gpiochip793 gpiochip820 gpiochip884 gpiochip948 unexport
root@swi-mdm9x28-wp:~#

here shows how to set GPIO output pin in linux:

You also need to set AT+WIOCFG first:

I want to setup pin number 27 of IOT connector as an output

The pin 27 is connected to CF3 with GPIO8 module (see below figure)

I tried to setup like below but getting an error why

AT+WIOCFG=8,1
ERROR

How about the following?

At!entercnd=”A710”

At+wiocfg=8,16

At!reset