Share via

How to connect ESPnow to C#

YigalB 1 Reputation point
Jan 13, 2021, 10:50 AM

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?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,352 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
36 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Abdulhakim M. Elrhumi 356 Reputation points
    Jan 17, 2021, 5:57 PM

  2. José Simões 0 Reputation points MVP
    Mar 25, 2025, 11:52 PM

    Suggest you visit www.github.com/nanoframework and find everything about coding with C# for ESP32 and other MCUs.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.