LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 169 of 273
#I2CRD – Read from I2C
<sdaPin>, <sclPin>,
<deviceId>,
<registerId>, <len>
GPIOs
<sdaPin>
: GPIO number for SDA . Valid range is “any input/output pin” (see
“Hardware User’s Guide”.)
<sclPin>
: GPIO number to be used for SCL. Valid range is “any output pin” (see
“Hardware User’s Guide”).
<deviceId>
: address of the I2C device, without the LSB used for read\write
command, 10 bit addressing supported.
Value has to be written in hexadecimal form (without 0x).
<registerId>
: Register to read data from , range 0..255.
Value has to be written in hexadecimal form (without 0x).
<len>
: number of data to receive. Valid range is 1-254.
Data Read from I2C will be dumped in Hex:
E.g.
AT#I2CRD=2,3,30,10,14
#I2CRD: 00112233445566778899AABBCCDD
OK
NOTE: If data requested are more than data available in the device, dummy data
( normally 0x00 or 0xff ) will be dumped.
NOTE: At the end of the execution GPIO will be restored to the original setting
( check AT#GPIO Command )
NOTE: device address, register address where to read from\ write to, and date bytes
have to be written in hexadecimal form without 0x.
AT#I2CRD=?
Test command returns the range of each parameter
.
#PSMRI – Power Saving Mode Ring Indicator
AT#PSMRI=<n>
Set command enables/disables the Ring Indicator pin response to an URC
message while modem is in power saving mode. If enabled, a negative
going pulse is generated, when URC message for specific event is
invoked.
The duration of this pulse is determined by the value of
<n>
.
Parameter:
<n>
-
RI
enabling
0 - disables
RI
pin response for URC message(factory default)
50-1150 - enables
RI
pin response for URC messages.
Содержание LE910-SKG
Страница 1: ......