Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yoursunny/WifiEspNow
ESP-NOW Arduino library for ESP8266 and ESP32
https://github.com/yoursunny/WifiEspNow
arduino-library esp-now esp32 esp8266 hacktoberfest
Last synced: 2 months ago
JSON representation
ESP-NOW Arduino library for ESP8266 and ESP32
- Host: GitHub
- URL: https://github.com/yoursunny/WifiEspNow
- Owner: yoursunny
- License: other
- Created: 2017-12-30T19:25:43.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-01-11T04:06:43.000Z (6 months ago)
- Last Synced: 2024-01-29T23:35:56.175Z (5 months ago)
- Topics: arduino-library, esp-now, esp32, esp8266, hacktoberfest
- Language: C++
- Homepage: https://wifiespnow.yoursunny.dev
- Size: 61.5 KB
- Stars: 218
- Watchers: 12
- Forks: 42
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: COPYING
Lists
- awesome-esp - WifiEspNow - Arduino library for [ESP-NOW](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_now.html), a connectionless WiFi communication protocol defined by [Espressif](https://github.com/espressif). (Libraries / Others)
README
# ESP-NOW Arduino library for ESP8266 and ESP32
[![GitHub build status](https://img.shields.io/github/actions/workflow/status/yoursunny/WifiEspNow/build.yml?style=flat)](https://github.com/yoursunny/WifiEspNow/actions) [![GitHub code size](https://img.shields.io/github/languages/code-size/yoursunny/WifiEspNow?style=flat)](https://github.com/yoursunny/WifiEspNow)
**WifiEspNow** is an Arduino library for ESP-NOW, a connectionless WiFi communication protocol defined by Espressif.
Refer to [ESP-NOW reference](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_now.html) for more information about how ESP-NOW works and its limitations.* [Doxygen documentation](https://wifiespnow.yoursunny.dev/)
## Features
[`WifiEspNow`](src/WifiEspNow.h) 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`](src/WifiEspNowBroadcast.h) 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 ` or `#include ` to your sketch.
3. Check out the [examples](examples/) for how to use.