|
espnowSimple 1
|
#include <espnowsimple.h>
Go to the source code of this file.
Functions | |
| void | espSimpleNowCallbackDataSent (const bool success) |
| void | espSimpleNowCallbackBinRcvd (const uint8_t *data, int len) |
| void | setup () |
| void | txTest () |
| void | loop () |
Variables | |
| int | testI = 0 |
| void espSimpleNowCallbackBinRcvd | ( | const uint8_t * | data, |
| int | len ) |
The callback you shall implement as to get data
void espSimpleNowCallbackBinRcvd(const uint8_t *data, int len) { your code }
Definition at line 18 of file simplewrite01.ino.
| void espSimpleNowCallbackDataSent | ( | const bool | success | ) |
The callback you shall implement as to check if data has been send NB esp now do not guarantee if data is received in same order as you did tx - ifff you are heavily loading the system
void espSimpleNowCallbackDataSent(const bool success) { }
to check if data has been send to get data
Definition at line 8 of file simplewrite01.ino.
| void loop | ( | ) |
Definition at line 45 of file simplewrite01.ino.
| void setup | ( | ) |
Definition at line 27 of file simplewrite01.ino.
References espSimpleNowInit().

| void txTest | ( | ) |
Definition at line 36 of file simplewrite01.ino.
References espSimpleNowBroadcastData(), and testI.

| int testI = 0 |
Definition at line 24 of file simplewrite01.ino.
Referenced by txTest().