EasyManuals Logo
Home>Ublox>Control Unit>SARA-R4 Series

Ublox SARA-R4 Series User Manual

Ublox SARA-R4 Series
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #245 background imageLoading...
Page #245 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R4 Series and is the answer not in the manual?

Ublox SARA-R4 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R4 Series
CategoryControl Unit
LanguageEnglish

Related product manuals