Bluetooth Classic dropping connection

GreentronicsEng
Posts: 1
Joined: Thu Apr 25, 2019 6:12 pm

Bluetooth Classic dropping connection

Postby GreentronicsEng » Thu Apr 25, 2019 6:42 pm

I am having issues when using bluetooth classic when working with the ESP-WROVER-KIT V4.1.

The program is being sent a file from an android app. The file is broken up into smaller messages that are then sent to the Module via bluetooth classic.The program is then meant to receive a message save the data to a buffer and respond with the first byte of received message plus some application specific data. The program is running on the ESP-WROVER-KIT V4.1.

What happens is that after a random about time the Module receives a message and sends the a response. However the app does not receive the message but board thinks it sent the message fine and waits for the next message. The app not receiving a response attempts to send the same message three more times. The board does not receive these messages and suddenly drops the bluetooth connection. The app is known to work in a similar application and the receiver ran similar message processing code(Different BT classic module).

It works when the file is small about 20kb but not when the file is larger about 140kb.

Is there a know problem when transmitting large files or is there something I am missing?

Below is the output of the ESP32 Program and the app debugger.

Output of the ESP32 Program:
error.PNG
error.PNG (61.18 KiB) Viewed 1894 times
Android App Error:
android.PNG
android.PNG (30.07 KiB) Viewed 1894 times

Who is online

Users browsing this forum: No registered users and 124 guests