question

Yigalb avatar image
0 Votes"
Yigalb asked ·

How to connect ESPnow to C#

ESPnow is a protocol to connect one Espressif device to another over WiFi , such as ESP32 or ESP8266, WEMOS etc. the advantage is that it is not relying on local WiFi network, so no need to select a WiFi Network and register to it with a password.

I have several small devices based on ESP8266 (and ESP32), which are supposed to send information t a laptop that is running a C# program, which collects the data, display it accordingly, and send back some instructions to the ESP devices. Later on the C# program will send the data to the Azure cloud.

The problem I am facing: I would like this environment to work at different locations, some without local WiFi at all. I didn't find a solution how to make the C# program to communicate with the ESP devices directly.

Any idea how can this be done?

dotnet-csharpdotnet-iot
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Yigalb,
For your question, I suggest you ask the question on ESP-NOW forum.
Thank you for your understanding.
Best Regards,
Daniel Zhang


0 Votes 0 ·
Yigalb avatar image Yigalb DanielZhang-MSFT ·

Hi Daniel
Thanks, but ESPnow is a protocol from one ESP to another, not allowing ESPnow between ESP and a device like a laptop.
I use ESPnow a lot, but it is not suitable here.

So I would kindly ask to ask for help here.
Perhaps direct WIFI would be helpful, yet I have no idea how to access it from C#.

Yigal

0 Votes 0 ·

1 Answer

AbdulhakimMElrhumi-5836 avatar image
0 Votes"
AbdulhakimMElrhumi-5836 answered ·
· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.