Page 1 of 1

Esp32 Bluetooth classic Buffer Overflow Issue

Posted: Tue Nov 21, 2023 3:50 pm
by nipntanna
hello
i am devloping bluetooth thermal printer based on esp32

the android app sends data very fast i have set rx_queue_size = 15000 in bluetooth serial library but still this getting full in one second

other chinese made thermal printers uses stm32 and external serial bluetooth chip with very low sram and flash memory still they handles data without loss

esp32 handles data but when buffer 15000 gets full it looses some data and my print goes garbage data

if someone help me to slow down esp32 bluetooth classic reciving speed


i tried to store data in spiff but somewhere i read that spiff have fixed write cycles and tear down the eps32 shortly

any help or any other approch to do this