- Short range radio modules
- Positioning chips and modules
u-blox Products
- Product selector
- Previous generations
- Contact sales
Find products
- Product documentation
Documentation
| <gpio_mode> | Output | Input | Network status indication | External GNSS supply enable | External GNSS data ready | External GNSS RTC sharing | Jamming detection indication | SIM card detection | Headset detection | GSM Tx burst indication | Module status indication | Module operating mode indication | I2S digital audio interface | SPI serial interface | Clock output | UART (DSR, DTR, DCD and RI) interface | Wi-Fi enable | Ring indicator | Last gasp | External GNSS antenna / LNA control | Time pulse GNSS | Time pulse output | Time stamp of external interrupt | Fast power-off | LwM2M pulse | Hardware flow control (RTS, CTS) | Antenna dynamic tuning | External GNSS time pulse input | External GNSS time stamp of external interrupt | DTR mode for power saving control | 32.768 kHz output | Safe memory and power-off | UPSV control | Satellite / GNSS Rx indication | Satellite / GNSS Rx/Tx indication | Pad disabled |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 255 | |
LEXI-R10 / SARA-R10 | * | * | * | * | * | * | * | * | * | * |
| <gpio_id> | Pin name | Pin number | Factory-programmed function | Remarks |
|---|---|---|---|---|
14 | GPIO1 | 14 | Pin disabled | - |
15 | GPIO2 | 15 | Pin disabled | - |
16 | GPIO3 | 16 | Pin disabled | - |
17 | GPIO4 | 17 | Pin disabled | - |
18 | GPIO5 | 18 | Pin disabled | - |
29 | GPIO6 | 29 | Pin disabled | Only pin 29 can be configured for "SIM card detection" functionality |
23 | GPIO7 | 23 | Pin disabled | - |
24 | GPIO8 | 24 | Pin disabled | - |
25 | GPIO9 | 25 | Pin disabled | - |
26 | GPIO10 | 26 | Pin disabled | - |
+UGPIOC | ||||||
Modules | All products | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
partial | No | No | ||||
| Type | Syntax | Response | Example |
|---|---|---|---|
Generic syntax | |||
Set | AT+UGPIOC=<gpio_id>,<gpio_mode>[,<param_val>] | OK | AT+UGPIOC=42,7,1 OK |
GPIO output mode | |||
Set | AT+UGPIOC=<gpio_id>,0[,<gpio_out_val>] | OK | AT+UGPIOC=42,0,1 OK |
GPIO input mode | |||
Set | AT+UGPIOC=<gpio_id>,1[,<gpio_in_pull>] | OK | AT+UGPIOC=42,1,1 OK |
SIM card detection mode | |||
Set | AT+UGPIOC=<gpio_id>,7[,<gpio_sim_det_logic>] | OK | AT+UGPIOC=42,7,1 OK |
Other GPIO modes | |||
Set | AT+UGPIOC=<gpio_id>,<gpio_mode> | OK | AT+UGPIOC=42,2 OK |
Read | AT+UGPIOC? | +UGPIOC: <gpio_id>,<gpio_mode> [<gpio_id>,<gpio_mode> [….]] OK | +UGPIOC: 20,255 21,3 23,255 24,255 42,7,1 OK |
Test | AT+UGPIOC=? | +UGPIOC: (list of supported <gpio_id>),(list of supported <gpio_mode>),(list of supported <gpio_out_val>\<gpio_in_pull>\<gpio_sim_det_logic>) [<gpio_id1>,<gpio_mode> … <gpio_idN>,<gpio_mode>] OK | +UGPIOC: (20,21,23,24,42),(0-5,7,9,255),(0-2) OK |
| Parameter | Type | Description |
|---|---|---|
<gpio_id> | Number | GPIO pin identifier: pin number See the GPIO mapping for the available GPIO pins, their mapping and factory-programmed values on different u-blox cellular modules series and product version. |
<gpio_mode> | Number | Mode identifier: configured function See the GPIO functions for custom functions supported by different u-blox cellular modules series and product version. Allowed values:
|
<gpio_out_val> | Number | GPIO output value (for output function <gpio_mode>=0 only):
|
<gpio_in_pull> | Number | GPIO input value (for input function <gpio_mode>=1 only):
|
<gpio_sim_det_logic> | Number | SIM detection polarity (for SIM detection function <gpio_mode>=7 only):
|
+UGPIOR | ||||||
Modules | All products | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
full | No | No | No | |||
| Type | Syntax | Response | Example |
|---|---|---|---|
Set | AT+UGPIOR=<gpio_id> | +UGPIOR: <gpio_id>,<gpio_val> OK | AT+UGPIOR=20 +UGPIOR: 20,0 OK |
Test | AT+UGPIOR=? | +UGPIOR: (list of supported <gpio_id>s) OK | +UGPIOR: (20, 21) OK |
| Parameter | Type | Description |
|---|---|---|
<gpio_id> | Number | GPIO pin identifier: pin number See the GPIO mapping for the available GPIO pins, their mapping and factory-programmed values on different u-blox cellular modules series and version. |
<gpio_val> | Number | GPIO value. Allowed values are 0 and 1. |
+UGPIOW | ||||||
Modules | All products | |||||
Attributes | Syntax | PIN required | Settings saved | Can be aborted | Response time | Error reference |
full | No | No | No | |||
| Type | Syntax | Response | Example |
|---|---|---|---|
Set | AT+UGPIOW=<gpio_id>,<gpio_out_val> | OK | AT+UGPIOW=20,1 OK |
Test | AT+UGPIOW=? | +UGPIOW: (list of supported <gpio_id>s),(list of supported <gpio_out_val>s) OK | +UGPIOW: (20, 21),(0-1) OK |
| Parameter | Type | Description |
|---|---|---|
<gpio_id> | Number | GPIO pin identifier: pin number See the GPIO mapping for the available GPIO pins, their mapping and factory-programmed values on different u-blox cellular modules series and version. |
<gpio_out_val> | Number | GPIO value. Allowed values are 0 and 1. |