EasyManua.ls Logo

Ublox SARA-R4 Series - Read from Peripheral +UI2 CR; Read from Peripheral Register +UI2 CREGR

Ublox SARA-R4 Series
307 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09
23I
2
C
Page 245 of 307
23.4I
2
C read from peripheral +UI2CR
+UI2CR
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - +CME Error
23.4.1Description
Reads <nof_bytes_to_read> of data from the I
2
C slave device of the current logical channel and prints them in
HEX format in separate rows.
23.4.2Syntax
Type Syntax Response Example
Read AT+UI2CR=<nof_bytes_to_read> +UI2CR: <index_1>: <byte_1>
[+UI2CR: <index_n>: <byte_n>
[..]]
OK
AT+UI2CR=3
+UI2CR: 0: 0xA3
+UI2CR: 1: 0x0F
+UI2CR: 2: 0xDB
OK
Test AT+UI2CR=? +UI2CR: (list of supported <nof_
byte_to_read>s)
OK
+UI2CR: (1-100)
OK
23.4.3Defined values
Parameter Type Description
<nof_bytes_to_read> Number Number of bytes to read from the slave I
2
C device. The range goes from 1 to 100.
<index1>,...,<index_
n>
Number Index of the byte being printed.
<byte_1>,...,<byte_n> Number n-th byte of the data, in hex mode (unquoted, prefixed by 0x).
23.5I
2
C read from peripheral register +UI2CREGR
+UI2CREGR
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - +CME Error
23.5.1Description
Reads <nof_bytes_to_read> of data from the slave register of the I
2
C slave device of the current logical channel
and prints them in HEX format in separate rows.
23.5.2Syntax
Type Syntax Response Example
Read AT+UI2CREGR=<register_address>,
<nof_bytes_to_read>
+UI2CREGR: <index_1>: <byte_1>
[+UI2CREGR: <index_n>: <byte_n>
[..]]
OK
AT+UI2CREGR=0x42,3
+UI2CREGR: 0: 0xA3
+UI2CREGR: 1: 0x0F
+UI2CREGR: 2: 0xDB
OK
Test AT+UI2CREGR=? +UI2CREGR: (list of supported
<register_address>s),(list of
supported <nof_bytes_to_read>s)
OK
+UI2CREGR: (0x00-0xFF),(1-100)
OK

Table of Contents

Other manuals for Ublox SARA-R4 Series

Related product manuals