phyphox Forums
ESP32 Bluetooth shows up in device list but not when loading experiment - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Bugs and Problems (https://phyphox.org/forums/forumdisplay.php?fid=9)
+--- Thread: ESP32 Bluetooth shows up in device list but not when loading experiment (/showthread.php?tid=449)



ESP32 Bluetooth shows up in device list but not when loading experiment - syed - 10-27-2019

Hello!

I’m developing a sensor based on ESP32 micro controller using Arduino IDE.

The ESP32 shows up in the device list on Phyphox (as shown in picture), but when I load an experiment, it prompts to select my device but my ESP32 is not showing up.

[attachment=51]

[attachment=52]

Any help please?

Thank you


RE: ESP32 Bluetooth shows up in device list but not when loading experiment - Sebastian Staacks - 10-27-2019

At first glance, this looks like a bug. Could you try using only a part of the device's name in the phyphox configuration? It should also work with partial matches and I am suspecting that the apostrophe is messing with the matching. So, can you try if phyphox works with your device if you set the name in your config to just "Syed"?


RE: ESP32 Bluetooth shows up in device list but not when loading experiment - syed - 10-27-2019

(10-27-2019, 01:00 PM)Sebastian Staacks Wrote: At first glance, this looks like a bug. Could you try using only a part of the device's name in the phyphox configuration? It should also work with partial matches and I am suspecting that the apostrophe is messing with the matching. So, can you try if phyphox works with your device if you set the name in your config to just "Syed"?

Hi Sebastian,

I’ve tried that and it still doesn’t work. I’ve tried the same example code in the wiki for ESP32 too and still doesn’t work.

On top of that, is there any further documentation or examples of how I can embed the experiment in my ESP32 instead of QR code?

Thank you


RE: ESP32 Bluetooth shows up in device list but not when loading experiment - Sebastian Staacks - 10-29-2019

That is wierd. Have you set a service UUID to match the device? This should not be set when matching by name as the device would need to match both. Can you show me your current configuration (phyphox-file)?

I will also ask our Dominik, who works on these BLE devices, to post an example for embedding the experiment. However, it won't be a polished one and it will quite certainly not fix the problem, because it still is only another way to deliver the config and it will need to match the device to the config anyway.


RE: ESP32 Bluetooth shows up in device list but not when loading experiment - syed - 11-02-2019

(10-29-2019, 10:33 AM)Sebastian Staacks Wrote: That is wierd. Have you set a service UUID to match the device? This should not be set when matching by name as the device would need to match both. Can you show me your current configuration (phyphox-file)?

I will also ask our Dominik, who works on these BLE devices, to post an example for embedding the experiment. However, it won't be a polished one and it will quite certainly not fix the problem, because it still is only another way to deliver the config and it will need to match the device to the config anyway.

I have found out a way to make it work.

Apparently it only works if I entered the 'Name'. It won't work if I filled in both 'Name' and 'UUID' or just 'UUID'.

[attachment=54]
[attachment=55]

Thank you and I might have some more questions coming up about using BLE sensors!  Big Grin


RE: ESP32 Bluetooth shows up in device list but not when loading experiment - Sebastian Staacks - 11-03-2019

If you set the UUID, phyphox will only list scan results that advertise this UUID. Did you tell the EPS32 to advertise it? Otherwise, there is no way for phyphox to see the UUID during the scan.