Tried to find the solution here but found notinh useful so far.
When sending data using BT from esp32 to excel nothing is received.
When I use my phone's BT terminal app it's working. Receiving and sending data no problem.
When using arduino nano via cable excel is receiving also when using HC-06 bluetooth module it's also working with excel.
Anyone solved this already.
Any help would be apreciated.
thanks
#include "BluetoothSerial.h"
int test = 1234;
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
BluetoothSerial SerialBT;
void setup() {
Serial.begin(9600);
SerialBT.begin("BT test"); //Bluetooth device name
Serial.println("The device started, now you can pair it with bluetooth!");
}
void loop() {
if (Serial.available()) {
SerialBT.write(Serial.read());
}
SerialBT.print(test);
if (SerialBT.available()) {
Serial.write(SerialBT.read());
}
delay(20);
}