Wednesday, March 25, 2020

ESP32 received data from Serial with softwareserial,but the packet loss.

ESP32 received data from Serial  with softwareserial.If data too long,the tail data will missing.
Because Serial buffer size too small.So I change the "int bufCapacity" in  softwareserial,turn 64 into 256.



And ESP32 received data is normal.No data lose.




1 comment:

  1. Your website is very beautiful or Articles. I love it thank you for sharing for everyone. Opencart 3 Facebook Pixel Code

    ReplyDelete