
SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
23 I
2
C
Page 244 of 307
Type
Syntax
Response
Example
supported <bus_mode>s),(list of
supported <bit_rate>),(<device_
address> range),(list of supported
<address_width>s)
OK
OK
23.2.3 Defined values
Parameter
Type
Description
<I2C_controller_
number>
Number
I
2
C HW controller to use:
•
1: controller 1
<bus_mode>
Number
I
2
C bus mode type:
•
0: Bus Mode Standard (0 - 100 kbaud)
•
1: Bus Mode Fast (0 - 400 kbaud)
<bit_rate>
Number
I
2
C bit rate:
•
0: 100 kb/s
•
1: 400 kb/s
<device_address>
Hex Number Device address in HEX format
<address_width>
Number
I
2
C size of the controller address:
•
0: 7 bit address
•
1: 10 bit address
23.3 I
2
C write to periUI2CW
+UI2CW
SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
full
No
No
No
-
23.3.1 Description
Writes the HEX data to the I
2
C slave device of the current logical channel. The HEX data formats are without
0x prefix (see example).
23.3.2 Syntax
Type
Syntax
Response
Example
Set
AT+UI2CW=<hex_data>,<nof_byte_
to_write>
OK
AT+UI2CW="0011AABBCCDDEEFF",
8
OK
Test
AT+UI2CW=?
+UI2CW: (byte to write),(range of
supported <nof_byte_to_write>)
OK
+UI2CW: "data", (1-100)
OK
23.3.3 Defined values
Parameter
Type
Description
<hex_data>
String
Hex data sequence without prefix 0x, enclosed in double quotes, to be written to the
I
2
C slave device
<nof_bytes_to_
write>
Number
Number of byte to write to the slave I
2
C device. Range: 1-100