Sending ECG Graphic Data with ESP32 via BLE

Hello. I want to send ECG graphic data with ESP32 via ble to a mobile app. So far I have been able to connect to my phone by using BLE on esp32. I've sent computer made heartbeat data to nRF mobile app. There is also an app made entirely for displaying ECG graphics called Bluetooth Terminal/graphics. However, even though my phone is connected to esp32 via ble, the app displays an error saying "cannot connect to device".

I am just starting and cannot understand or write code. I want to adjust the example code that I use for connecting to nRF mobile app or write my own code for sending ECG data. Problem is that I do not know where to start and what to learn. I do not want to learn arduino from scratch since the only thing I need for my project is sending ECG graphic data with ESP32 via ble.

Please lead me to some tutorial or guide as a starting point. I've watched online tutorials on the issue but they do not teach the coding part. Any help is appreciated.

I've attached the example ble code which I used for nRF.

Recep_BLE_notify.ino (3.32 KB)

However, even though my phone is connected to esp32 via ble, the app displays an error saying "cannot connect to device".

Sounds like it was written by Microsoft. Why can't app developers take an extra 0.005 nanoseconds and make error messages meaningful? What couldn't connect to what device? Is that too much to ask to be told?

How was the app trying to connect? That should be part of the error dialog. If the app isn't trying to connect using BLE, then the dialog should say that, and it would become obvious what you needed to do (get a different app).

I am just starting and cannot understand or write code.

Then, you are doomed. Might as well toss in the towel now, since almost everyone that says this leaves off the "and I'm not going to learn" part of the statement.

I've watched online tutorials on the issue

On what issue? Porn is not going to help you.

PaulS:
Porn is not going to help you.

I almost choked on the food when I laughed! :smiley: