The set command allows the input and output control of the following modem GPIO pins: SIM_INT, SIM_RST, SIM_CLK, SIM_IO, COEX0, COEX1, and COEX2.
Syntax:
AT%XGPIOTEST=<direction>,<mask>,<pin_ctrl>
The set command parameters and their defined values are the following:
The following command example configures all pins as output and sets their state low:
AT%XGPIOTEST=0,255,0
%XGPIOTEST:
OK
The following command example sets all pins as input and reads the pin state of each pin:
AT%XGPIOTEST=1,255,255
%XGPIOTEST: 0x9
OK