SARA-R4/N4 series - AT Commands ManualUBX-17003787 - R09 15 GPIOPage 167 of 307800 ms 200 msTimeVoltageVHVLFigure 9: GPIO pin progress for data transmission roaming15.2 GPIO select configuration command +UGPIOC+UGPIOCSARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModulesSARA-N4Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributespartial No NVM No < 10 s +CME Error15.2.1 DescriptionConfigures the GPIOs pins as input, output or to handle a custom function. When the GPIOs pins are configuredas output pin, it is possible to set the value.The test command provides the list of the supported GPIOs, the supported functions and the status of all theGPIOs.Not all the GPIO functions can be assigned to each GPIO pin. If the configuration is not allowed, an errorresult code will be returned (error result code 1502 - "+CME ERROR: Select GPIO mode error").The following custom functions cannot be simultaneously configured on 2 GPIOs:• Network status indication• Ring indication• GNSS supply enable• GNSS data ready• GNSS RTC sharing• SIM card detection• Headset detection• GSM Tx burst indication• Module operating status indication• Module functionality status indication• Last gasp triggerFor more details regarding the custom functions supported by the u-blox cellular modules and thefactory-programmed settings, see GPIO functions and GPIO mapping.15.2.2 SyntaxType Syntax Response ExampleSet AT+UGPIOC=,mode>[,\pull>]OK AT+UGPIOC=20,0,1OKRead AT+UGPIOC? +UGPIOC:,+UGPIOC:20,0