AirPrime HL7518 and AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 76
AT Commands Interface Guide
Mobile Equipment Control and Status
Commands
HL7518 and HL7548
at+kgpio=9,1 // Set GPIO9, and it should return ERROR
+CME ERROR: 3
5.20. +KGPIOCFG Command: GPIO Configuration
HL7518 and HL7548
Test command
Syntax
AT+KGPIOCFG=
?
Response
+KGPIOCFG: (list of supported <n>s),(list of supported <dir>s), (list of supported <pull
mode>s)
OK
Read command
Syntax
AT+KGPIOCFG?
Response
+KGPIOCFG: <n>,<dir>,<pull mode>[<CR><LF>
+KGPIOCFG: <n>,<dir>,<pull mode>
[...]]
OK
Write command
Syntax
AT+KGPIOCFG
=<n>,<dir>,<pull
mode>
Response
OK
Parameters
<n> 1 – 8, 10, 11, 13 – 15, 21 GPIO number. Note that <n>=21 is only available on the
HL7518
<dir> Direction
0 Output
1 Input
<pull mode> 0 Pull down. Internal pull-down resistor available. Only used in
input mode
1 Pull up. Internal pull up resistor available. Only used in input
mode
2 No pull. Internal pull up/down resistor NOT available. Only used
in output mode
Reference
Sierra Wireless
Proprietary
Notes
This command provides configuration for +KGPIO command.
The current configuration is saved in non-volatile memory before a reset.
By default, GPIO 3 and 4 are used by SIM detection in the HL7518, while only
GPIO 3 is used by SIM detection in the HL7548. These GPIOs cannot be
reconfigured.
Pull down/up mode provides a stable input level.
Commands AT+KGPIOCFG=? and AT+KGPIOCFG? return a dynamic list of
supported GPIOs. GPIOs assigned to a specific purpose are not listed.
GPIO 21 on the HL7518 is reserved for internal Sierra Wireless use only.
This command can be used without SIM.