I already post, but wrong forum so I decide to post it again
I try to send String "https://www.teksol-enterprise.com/smartlocker/view/#/locker/box/list/6804" from I2C master to the slave one, but the slave receive only "https://www.teksol-enterprise". I don't know, is it reach to the limit in one transmission or not.
Please help me, thank you
Wire.beginTransmission(0x71); // transmit to device #0x71
Wire.write(0x02);
Wire.write(0x23);
Wire.write(z);
Serial.println(z);
Wire.write("https://www.teksol-enterprise.com/smartlocker/view/#/locker/box/list/6804");
Wire.write(0x03);
Wire.endTransmission();
here is the code from master and 'z' is size of the string and I set it in setup function
In one transmission of I2C Bus -- between START and STOP, you can send only 32 bytes data. If you want more, you need to change the buffer size in the Library File.
Here is your 32-byte:
Wire.write(0x02); (1)
Wire.write(0x23); (1)
Wire.write(z); (1)
Wire.write("https://www.teksol-enterprise"); (29) //not sent
.com/smartlocker/view/#/locker/box/list/6804");
Wire.write(0x03); //not sent
Thank you so much!!!
it works now