Skip to content

ESP_NOW Network client server library for Arduino-ESP32 >= 3.02

License

Notifications You must be signed in to change notification settings

vvs551/ESP_NOW_Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP_NOW_Network

An easy-to-use library for creating ESP-NOW networks with ESP32 devices for Arduino-ESP32 >= 3.02

Installation

You can install this library through the Arduino Library Manager or by downloading it from GitHub and placing it in the libraries folder of your Arduino sketchbook.

Usage

Include the library in your sketch and use the provided classes to set up an ESP-NOW network.

#include "ESP_NOW_NETWORK.h"

ESP_NOW_Network_Node *node;

void recv(const uint8_t *addr, const uint8_t pos, const uint8_t *data, int len){
  // Your code here
}

void setup() {
  Serial.begin(115200);
  node = new ESP_NOW_Network_Node(EPSERVER);  // Change to EPCLIENT on clients
  node->onNewRecv(recv, NULL);
}

void loop() {
  // Your code here
}

Example

See the examples/BasicNetwork/BasicNetwork.ino file for a basic example of how to use this library.

About

ESP_NOW Network client server library for Arduino-ESP32 >= 3.02

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages