ESP32 Bugfix BLE IBeacon Sender Irregular Sendung Platformio Arduino

Job ID: 33649056

Budget: €30 – €250 EUR

I need your support.

I have developed a sensor that wakes up, measures, sends the values and then goes to sleep again.
The sending over Bluetooth does not work reliably.
Only in 3 out of 5 cases is the message received by the Test software.
I would like you to take a look at the class and run it on your hardware.
Then you will see that an error message is thrown.
You will then see that not all messages arrive.
I want the messages to arrive completely.

I outsource the complete Logic to my own lib, which then contains
BLEDevice.h and BLEBeacon.h as external libs.
The problem lies in the application of the external libs in my own lib (you could also call it a class).

Unfortunately, it only sends the beacons unreliably.
In addition, there are always warning messages.
I would like the lib to constantly send the values via BLE.

In the attachment you will find a sample project for Platformio.
I have managed a transmission reliability of 100% with the ESP-IDF environment, unfortunately the code cannot be used under Arduino.
Do you think you can fix my Lib and make the sending via BLE error-free again?

If the data is sent constantly from the beginning, then I am happy.
Used device
https://eu.mouser.com/ProductDetail/Espressif-Systems/ESP32-WROOM-32EM113EH2800PH3Q0

You are welcome to divide the project into 2 parts.
1. examine the code, find the bug/unstability.
2. fixing of the bug and make the class more stable.

Dod:
1.Fixed class is tested in the Platformio project.
2.interface and usage of the class remains the same.
3.tested 100x with 10sec delay. Error free.


In 8h I check the bids and send the platformio project to the most promising bids.
Then the bid can be adjusted if necessary.