$GP - GPIO1 Control/Status
This command allows control of the GPIO1 pin to allow indications or control the operation of
the Modem.
$GP <@|?|<mode>>*xx
Parameter
Description
@
Read pin state (digital input and ADC modes ONLY)
?
Display current GPIO1 mode
mode
Set GPIO1 pin mode
Returns one of:
Value
Description
$GP <volts>V*xx
GPIO1 ADC reading in volts (mode 1)
$GP <H|L>*xx
GPIO1 digital input status (mode 2)
$GP <mode>*xx
The current
$GP
mode
$GP OK*xx
Parameters updated successfully
$GP ERR,<error_type>*xx
Command input error
© 2022 SWARM TECHNOLOGIES
SWARM M138 MODEM PRODUCT MANUAL · REV 1.20 · FEBRUARY 2022
PAGE
48