Closed openedhardware closed 2 years ago
Unfortunately, I couldn't address this issue in a timely manner because I haven't been working with the ESP32 ever since. In this meantime, I2C Slave support has been added to the official ESP32 framework as you can see in the updated README of this repo. Therefore this library is no longer needed and its development will be ceased.
In your particular case, I don't think I2C is the right protocol to send large ammount of data. I would advise you to use Serial since it has a larger buffer and it doesn't depend on master readings.
Thanks for your great library!
I am just curious how to send a large amount of data? Say 3~4k bytes?
Of course, I can split the 3~4k bytes payload into several 128-byte blocks, but not sure how to send the 2nd block..
Using
WireSlave.write()
function, but it returns 0 if the buffer is full with 128 bytes.Thanks!