BC660 GPIO Settings

Hello everyone, I’m trying to control the GPIOs via the AT commands. Unfortunately it does not work.
Does anyone have an idea how to do that.
Either the port mapping in the data sheet doesn’t fit or I’m doing something wrong.
According to the datasheet,
GPIO1 = 1
GPIO2 = 2
GPIO3 = 3
GPIO4 = 4

void config_gpio(){
issueCommand(“AT+QCFG="GPIO",1,1,1,2,1”);
delay(5);
while (ATSerial.available()){
buffer[idx++] =ATSerial.read();
delay(10);
}
}

void set_gpio(){
issueCommand(“AT+QCFG="GPIO",3,2,1”);
delay(5);
while (ATSerial.available()){
buffer[idx++] =ATSerial.read();
delay(10);
}
}

Can someone please show an example of configuring GPIO2 as an output and setting it as high.
Thanks very much

Please check the openCPU SDK documentation in detail, thank you