Skip to content

📦 .NET nanoFramework class library for the ESP-NOW (connectionless Wi-Fi communication protocol) for ESP32 targets

License

Notifications You must be signed in to change notification settings

SandorDobos/nanoFramework.Espnow

 
 

Repository files navigation

nanoFramework.Espnow

📦 .NET nanoFramework class library for the ESP-NOW (connectionless Wi-Fi communication protocol) for ESP32 targets

Example usage:

var controller =  new EspNowController();
controller.DataReceived += (s, ea) =>
{
    Debug.WriteLine($"Received from {BitConverter.ToString(ea.PeerMac)} {ea.DataLen} bytes: {BitConverter.ToString(ea.Data)}");
};
controller.DataSent += (s, ea) =>
{
    Debug.WriteLine($"Status of sending to {BitConverter.ToString(ea.PeerMac)}: {ea.Status}");
};

controller.AddPeer(EspNowController.BROADCASTMAC, 0);
controller.Send(EspNowController.BROADCASTMAC, new byte[] { 1, 2, 3}, 3);

About

📦 .NET nanoFramework class library for the ESP-NOW (connectionless Wi-Fi communication protocol) for ESP32 targets

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%