Topic: BlueTooth Classic support for ESP32 WeMOS D1 Mini clone

Q: Is this board supported by RemoteXY?


Canadian supplier Link to board [$12Cad ]
https://www.universal-solder.ca/product … bluetooth/

alternate supplier [also $12Cad]
https://www.xgeeks.ca/cc6x/wemos-d1-min … oom32.html

I plan to connect with Bluetooth Classic Master of
ESP32 {TTGO} WeMOS D1 Mini
(similar to 8266 but two rows on either side)
board chipset is ESP32-WROOM-32

2 (edited by AlexisMori 2021-09-24 22:11:07)

Re: BlueTooth Classic support for ESP32 WeMOS D1 Mini clone

Hi...I've been running into the same sort of issues with these sheets (I attempted with 2 of them), utilizing Arduino 1.8.13 and Ubuntu. I compiled and downloaded the 3 BluetoothSerial outline cases, and none of them worked with them. I have been creating with these sheets for very a long time, utilizing numerous diverse APIs, and they worked fine. But with Bluetooth there appears to be no way.



Re: BlueTooth Classic support for ESP32 WeMOS D1 Mini clone

Set the following settings in the editor:
- Bluetooth
- ESP32 based board
- Bluetooth on chip
- Arduino IDE
Module interface
- Bluetooth name: MyBluetooth
- Mode: Classic bluetooth

Get the code:

#include <BluetoothSerial.h>
#include <RemoteXY.h>

// RemoteXY connection settings 

// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
  { 255,1,0,0,0,13,0,13,13,1,
  1,0,13,18,36,36,2,31,88,0 };
// this structure defines all the variables and events of your control interface 
struct {

    // input variables
  uint8_t button_1; // =1 if button pressed, else =0 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY;
#pragma pack(pop)

void setup() 
  RemoteXY_Init ();  
  // TODO you setup code

void loop() 
  RemoteXY_Handler ();  
  // TODO you loop code