1 (edited by loucrup 2021-11-15 22:32:22)

Topic: Wemos D1 R32 (BLE + WIFI)

Hi dudes,
I have a Wemos D1 R32 (BLE + WIFI),
https://m.media-amazon.com/images/I/61T3lZ7XsGL._AC_SX425_.jpg

I have tested Bluetooth BLE and it work perfectly with the exemple include in the RemoteXY library
File/Exemples/RemoteXY/ESP32/BLE

But it's impossible to generate a configuration comptatible directly from the web browser editor...
https://remotexy.com/en/editor/

I've tested and it work only with #include "BLEDevice.h"  library.

Can you fix that or explain to me how to set editor ?
Thx
Loucrup

2 (edited by Gunner 2021-11-16 01:34:20)

Re: Wemos D1 R32 (BLE + WIFI)

loucrup wrote:

Hi dudes,
But it's impossible to generate a configuration comptatible directly from the web browser editor...

I've tested and it work only with #include "BLEDevice.h"  library.
Loucrup

I don't have the same board, but when comparing part of the example in the library: BLE.pde

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library
//#define REMOTEXY__DEBUGLOG 

#include "BLEDevice.h"  
#include <RemoteXY.h>

And part of the code generated from the editor, with the configuration settings:
Bluetooth
ESP32 based board
Bluetooth on chip
Arduino IDE

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__ESP32CORE_BLE
#include <BLEDevice.h>

#include <RemoteXY.h>

I see the same #include "BLEDevice.h"  So I do not understand your issue.

"And voila, which is French for.......'and then I found out.'"

3

Re: Wemos D1 R32 (BLE + WIFI)

Hello Gunner,
Thank for answer,

It work when I choose ESP32 based board and Bluetooth on chip
Thank for that !

So the problem is just that I can't choose Bluetooth on chip for Wemos boars...

Loucrup

4

Re: Wemos D1 R32 (BLE + WIFI)

Hello

Your board is not listed in the editor, the only "wemos" boards listed are using esp8266, which does not have BLE.

But it isn't important, just use "esp32 based board", the generated code is the same for all boards using esp32.

Same for Arduino UNO, Arduino MEGA etc, the only difference between those boards in the editor, is the content of the "Snap to pin" drop down menu that you see when you add a Button, for example.

5

Re: Wemos D1 R32 (BLE + WIFI)

Hello Guillaume,
Ok I understand.
Thank for all.