28 stat_led gpio setting - #sled, 29 save stat_led gpio setting - #sledsav, 30 digital voiceband interface - #dvi – Rainbow Electronics GM862-QUAD-PY User Manual

Page 261

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 261 of 434

3.5.7.1.28 STAT_LED GPIO Setting - #SLED

#SLED - STAT_LED GPIO Setting

SELINT 2

AT#SLED=<mode>
[,<on_duration>
[,<off_duration>]]

Set command sets the behaviour of the STAT_LED GPIO

Parameters:
<mode> - defines how the STAT_LED GPIO is handled
0 - GPIO tied Low
1 - GPIO tied High
2 - GPIO handled by Module Software (factory default)
3 - GPIO is turned on and off alternatively, with period defined by the sum

<on_duration> + <off_duration>

<on_duration> - duration of period in which STAT_LED GPIO is tied High

while <mode>=3

1..100 - in tenth of seconds (default is 10)
<off_duration> - duration of period in which STAT_LED GPIO is tied Low

while <mode>=3

1..100 - in tenth of seconds (default is 10)

Note: values are saved in NVM by command #SLEDSAV

Note: at module boot the STAT_LED GPIO is always tied High and holds
this value until the first NVM reading.

AT#SLED?

Read command returns the STAT_LED GPIO current setting, in t he format:

#SLED: <mode>,<on_duration>,<off_duration>

AT#SLED=?

Test command returns the range of available values for parameters
<mode>, <on_duration> and <off_duration>.

3.5.7.1.29 Save STAT_LED GPIO Setting - #SLEDSAV

#SLEDSAV - Save STAT_LED GPIO Setting

SELINT 2

AT#SLEDSAV

Execution command saves STAT_LED setting in NVM.

AT#SLED=?

Test command returns OK result code.

3.5.7.1.30 Digital Voiceband Interface - #DVI

#DVI - Digital Voiceband Interface

SELINT 2

AT#DVI=<mode>
[,<dviport>,
<clockmode>]

Set command enables/disables the Digital Voiceband Interface.

Parameters:
<mode> - enables/disables the DVI.
0 - disable DVI; audio is forwarded to the analog line; DVI pins can be

used for other purposes, like GPIO, etc. (factory default)

1 - enable DVI; audio is forwarded to the DVI block
2 - enable DVI; audio is forwarded both to the DVI block and to the analog

lines (Note: analog input disabled)

<dviport>

Advertising