arttupii / espnowfloodingmeshlibrary Goto Github PK
View Code? Open in Web Editor NEWESPNOW flooding mesh library with AES
License: Mozilla Public License 2.0
ESPNOW flooding mesh library with AES
License: Mozilla Public License 2.0
Master example:
void setup() {
Serial.begin(115200);
espNowFloodingMesh_RecvCB(espNowFloodingMeshRecv); <----- red higlighted line
.....
Compiling for ESP32 producing compiler error:
Using library espNowFloodingMeshLibrary at version 0.0.1 in folder: D:\Users\Pierre\Documents\Arduino\libraries\espNowFloodingMeshLibrary
Using library WiFi at version 1.0 in folder: C:\Users\Pierre\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Using library arduino-esp8266-aes-lib in folder: D:\Users\Pierre\Documents\Arduino\libraries\arduino-esp8266-aes-lib (legacy)
exit status 1
invalid conversion from 'void ()(const uint8_t, int) {aka void ()(const unsigned char, int)}' to 'void ()(const uint8_t, int, uint32_t) {aka void ()(const unsigned char, int, unsigned int)}' [-fpermissive]
Can someone help me understand when to set the flag USE_RAW_801_11? Did you ever use this or was it just something to play around with action frames?
Thanks
Joel
My Arduino IDE 1.8.10 on Windows complains about paragraph line missing in library.properties when opening the BoardManager
aftter adding:
paragraph=some paragraph description
it did not complain anymore
Solution Add the line paragraph=some paragraph description in file library.properties
It looks like that you lose the function:espNowFloodingMesh_isSyncedWithMaster()
i'm trying to compile example in platformio
i get this errors:
src/main.cpp: In function 'void setup()':
src/main.cpp:20:43: error: too few arguments to function 'void espNowFloodingMesh_begin(int, int)'
espNowFloodingMesh_begin(ESP_NOW_CHANNEL);
^
In file included from src/main.cpp:3:
.pio/libdeps/esp32doit-devkit-v1_COM4/EspNowFloodingMesh/EspNowFloodingMesh.h:19:10: note: declared here
void espNowFloodingMesh_begin(int channel, int bsid);
and:
.pio/libdeps/esp32doit-devkit-v1_COM4/EspNowFloodingMesh/wifi802_11.cpp: In function 'void wifi_802_11_send(const uint8_t*, int)':
.pio/libdeps/esp32doit-devkit-v1_COM4/EspNowFloodingMesh/wifi802_11.cpp:125:78: error: cannot convert 'esp_interface_t' to 'wifi_interface_t'
esp_wifi_80211_tx(ESP_IF_WIFI_STA, buf, sizeof(raw_HEADER) + len+ 2, true);
^
In file included from .pio/libdeps/esp32doit-devkit-v1_COM4/EspNowFloodingMesh/wifi802_11.cpp:4:
C:/Users/marco/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_wifi/include/esp_wifi.h:984:46: note: initializing argument 1 of 'esp_err_t esp_wifi_80211_tx(wifi_interface_t, const void*, int, bool)'
esp_err_t esp_wifi_80211_tx(wifi_interface_t ifx, const void *buffer, int len, bool en_sys_seq);
can anyone help me?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.