ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 545 of 1039 2021-09-23
value must be written in hexadecimal form
without 0x
After entering the command, the module returns the prompt ">"
and waits for the data to send. To complete the operation, send Ctrl-
Z char (0x1A hex); to exit without writing the message send ESC
char (0x1B hex). Data must be written in hexadecimal form.
If data are successfully sent, the response is OK, otherwise an error
code is reported.
AT#I2CWR=?
Test command returns the range of available values for parameters
<sdaPin>, <sclPin>, <deviceId>, <registerId>, <len>.
Set GPIO_2 as SDA, and GPIO_3 as SCL. Device I2C address is 0x20; 0x10 is
the address of the first register where to write I2C data; 14 data bytes will
be written starting from register 0x10.
AT#I2CWR=2,3,20,10,14
> 00112233445566778899AABBCCDD<ctrl-z>
OK