This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ESP32 No data
(02-11-2020, 05:12 PM)Dominik Dorsel Wrote: Thank you Dominik, the new code works great!

thank you for reporting this bug. I checked the example and realized that there was no "Descriptor" at the BLE Server. If you are not familiar with Bluetooth Low Energy and you are in interested in the background:

To receive the newest data from a microcontroller phyphox wants to get a notification (at least in this example). This notification service needs to be requested by the smartphone (or any other BLE device you are using) . This request is stored in the so called descriptor. If you want notifications  - the value in the descriptor is 1 if not its 0.

I just changed a few things in the example:
- added the missing descriptor
- calculated voltage with the analog-digital converter value and used a "new" feature of the esp32 library to send a float value much more comfortable

Propably this problem occurs due to the the much older Bluetooth library I used when this example was created. However, we are also currently working on a library (for the new bluetooth-capable Arduino Nano Series & ESP32) to make the data transfer much more comfortable & user friendly!

You can find the updated version in our wiki:

Messages In This Thread
ESP32 No data - by Dan1234 - 02-09-2020, 11:01 PM
RE: ESP32 No data - by Dominik Dorsel - 02-11-2020, 05:12 PM
RE: ESP32 No data - by Dan1234 - 02-12-2020, 08:48 AM

Forum Jump: