dorkhub

esp-now

A connectionless Wi-Fi communication protocol

espressif
C773126 forksApache-2.0updated 2 weeks ago
git clone https://github.com/espressif/esp-now.gitespressif/esp-now

ESP-NOW Component

Component Registry

esp-now supports one-to-many and many-to-many device connection and control which can be used for the mass data transmission, like network config, firmware upgrade and debugging etc.

Add component to your project

Please use the component manager command add-dependency to add the esp-now to your project's dependency, during the CMake step the component will be downloaded automatically.

idf.py add-dependency "espressif/esp-now=*"

Example

Please use the component manager command create-project-from-example to create the project from example template.

idf.py create-project-from-example "espressif/esp-now=*:coin_cell_demo/bulb"

Then the example will be downloaded in current folder, you can check into it for build and flash.

You can use this command to download other examples. Or you can download examples from esp-now repository:

  1. coin_cell_demo/bulb
  2. coin_cell_demo/switch
  3. control
  4. get-started
  5. ota
  6. security
  7. solution
  8. wireless_debug

Q&A

Q1. I encountered the following problems when using the package manager

Executing action: create-project-from-example
CMakeLists.txt not found in project directory /home/username

A1. This is because an older version package manager was used, please run pip install -U idf-component-manager in ESP-IDF environment to update.

more like this

vim-dap

Vim/Neovim debugger plugin providing a terminal interface to the Debug Adapter Protocol

Vim Script50

AutomationShield

Arduino library and MATLAB/Simulink API for the AutomationShield Arduino expansion boards for control engineering educa…

C51

yaos

An embedded operating system for ARM Cortex-M based microcontrollers

C51

search

search projects, people, and tags