yoursunny / WifiEspNow

ESP-NOW Arduino library for ESP8266 and ESP32

Home Page:https://wifiespnow.yoursunny.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP-NOW Arduino library for ESP8266 and ESP32

GitHub build status GitHub code size

WifiEspNow is an Arduino library for ESP-NOW, a connectionless WiFi communication protocol defined by Espressif. Refer to ESP-NOW reference for more information about how ESP-NOW works and its limitations.

Features

WifiEspNow is a simple wrapper of ESP-NOW functions in ESP-IDF. On ESP8266, it supports unicast only. On ESP32, it supports both unicast and multicast.

WifiEspNowBroadcast implements pseudo broadcast over ESP-NOW. Each device advertises a specific WiFi SSID, and discovers each other through BSSID scanning. Then, messages are transmitted separately toward every peer via ESP-NOW unicast. This is my custom protocol, which differs from WifiEspNow multicast.

Installation

  1. Clone this repository under $HOME/Arduino/libraries directory.
  2. Add #include <WifiEspNow.h> or #include <WifiEspNowBroadcast.h> to your sketch.
  3. Check out the examples for how to use.

About

ESP-NOW Arduino library for ESP8266 and ESP32

https://wifiespnow.yoursunny.dev

License:Other


Languages

Language:C++ 99.2%Language:Shell 0.8%