Esp32 Bluetooth classic Buffer Overflow Issue

nipntanna
Posts: 2
Joined: Tue Nov 21, 2023 12:54 pm

Esp32 Bluetooth classic Buffer Overflow Issue

Postby nipntanna » Tue Nov 21, 2023 3:50 pm

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

Who is online

Users browsing this forum: No registered users and 66 guests