12.07.2015 Views

AT Commands Manual - Teltonika

AT Commands Manual - Teltonika

AT Commands Manual - Teltonika

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AT</strong> <strong>Commands</strong>User <strong>Manual</strong>15.11 Configuration trace and modem (<strong>AT</strong>) interfaces +XSIOCommand syntaxDescriptionThis command allows the configuration of the modem-interface (<strong>AT</strong>), trace-interface, IrDAinterface,and MUXinterface by setting the variant number. The set variant number becomesactive only after a reset. The read command allows to see which is the current variant and<strong>AT</strong>+XSIO= which is the requested variant; a star marks the active variant. An overview about thepossible variants is delivered by the test syntax and customizable.<strong>AT</strong>+XSIO=1Read command<strong>AT</strong>+XSIO?Test command<strong>AT</strong>+XSIO=?Note: After variant change via this command, the user has to wait some seconds since the NVRAM is onlyupdated in the power saving period. Then reset the phone and the new device/protocol settings are active.OKorCME ERROR: +XSIO: ,*OK+XSIO: Variant=: <strong>AT</strong>=; Trace=;MUX=; IrDA= +XSIO:Variant=: <strong>AT</strong>=; Trace=; MUX=;IrDA=.................. (more display rows are possible)OK requested variant, which may be in range 0-255. currently active variant, which may be in range 0-255.: NULL, UART0, …, UARTn.: NULL, UART0, …, UARTn.: 1-x.: NULL, UART0, …, UARTn.15.12 ADC read command + NADCCommand syntaxDescription<strong>AT</strong>+NADC=This command reads the current value of the specified ADC, given in milliVolts.The syntax and the parameters range is shown in the response to the test command.Set command<strong>AT</strong>+NADC=0Test command<strong>AT</strong>+NADC=?+NADC:,OKorCME ERROR: +NADC: (0-adc_max_num)OK = ADC identifier, whose range (0-adc_max_num) depends on the specific platform (normally 2) = Current ADC value (0-2000 for ADC1, 0-2500 for ADC2 due to different ranges)15.13 GPIO select configuration command +NGPIOCCommand syntaxDescription<strong>AT</strong>+NGPIOC=,[,]Set command<strong>AT</strong>+NGPIOC=3,0,1Test command<strong>AT</strong>+NGPIOC=?This command allows the user to select the configuration of the availableGPIOs, which can be set in either input or output mode. The user may alsoselect the default value when the GPIO is configured in output. The syntaxand the parameters range is shown in the response to the test command.OKorCME ERROR: +NGPIOC: (0-gpio_max_num),(0-1)[,(0-1)]OK = GPIO identifier, whose range (0-gpio_max_num) depends on the specific platform (normally either 6 or 12) = GPIO mode, 0=output, 1=input = GPIO default value (0-1) for output configuration only75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!