beautypg.com

Parameters and values, Read to i2c #i2crd, Syntax – Synaccess Networks NP-0801DTM User Manual

Page 189: Notes, Examples, Power saving mode ring #psmri

background image

CUSTOM AT COMMANDS 

 

 

189 

HSPA+ AT Commands Reference Guide

 

Parameters and Values 

 

 

Aborting the call setup by reception of a character is generally possible at any 
time before the DCE enters connected state. Default: 0

Aborting the call setup is disabled until the DCE enters connected state. 

Read to I2C   #I2CRD 

Use this command to send data to an I2C peripheral connected to module GPIOs. 

Test command reports the supported list of currently available s. 

Syntax 

Command 

Command type 

AT#I2CRD=,,,, 

 

AT#I2CRD=? 

Test 

Parameters and Values 

 

GPIO number for SDA . Valid range is “any input/output pin”. To determine the 
range, use the Test command.

 

 

GPIO number to be used for SCL. Valid range is “any output pin” To determine the 
range, use the Test command. 

 

Address of the I2C device, with the LSB, used for read\write command. It does not 
matter if the LSB is set to 0 or to 1. 10 bit addressing supported. 
Value must be written in hexadecimal form, without 0x before. 

 

Register to read data from. Range: 0‐255. 
Value has to be written in hexadecimal form (without 0x before). 

 

Number of data to receive. Range: 1‐254. 
Data Read from I2C is dumped in Hex. See Notes section.  

Notes 

„

If data requested are more than data available in the device, dummy data ( normally 0x00 or 0xff ) is dumped. 

„

At the end of the execution GPIO is restored to the original setting. See AT#GPIO command. 

„

Device address, register address where to read from\ write to, and date bytes must be written in hexadecimal 
form without 0x. 

Examples 

AT#I2CRD=2,3,20,10,12

#I2CRD: 00112233445566778899AABBCC

OK

Power Saving Mode Ring   #PSMRI 

Set command enables or 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