Get sensor readings from ESP32 via BLE to C# (Visual Studio WPF)

Hello,

i have an ESP32 and here it get my data from some sensors. Not i want to send that data to a visual studio project in C# via BLE. Can someone help me with an good tutorial/tipp?

Regards

not sure about BLE but is simple with Bluetooth Classic
run File>Examples>BluetoothSerial>SerialToSerialBT
it creates a Bluetooth device ESP32test when when connected creates two COM ports
using SerialPort class a C# program can open and connect to the arduino (make sure the serial monitor is closed)
for BLE try File>Examples>ESP32 BLE Arduino>BLE_uart

1 Like

One suggestion would be to load up MQTT Broker onto a PC and have the ESP32 using WiFi send the stuff to the Broker. On the broker a C# program could access the broker and do the things.

Using MQTT Broker is very expandable,

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.