espnowSimple 1
Loading...
Searching...
No Matches
simplewrite01.ino File Reference
#include <espnowsimple.h>
Include dependency graph for simplewrite01.ino:

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

Function Documentation

◆ espSimpleNowCallbackBinRcvd()

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.

◆ espSimpleNowCallbackDataSent()

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.

◆ loop()

void loop ( )

Definition at line 45 of file simplewrite01.ino.

◆ setup()

void setup ( )

Definition at line 27 of file simplewrite01.ino.

References espSimpleNowInit().

Here is the call graph for this function:

◆ txTest()

void txTest ( )

Definition at line 36 of file simplewrite01.ino.

References espSimpleNowBroadcastData(), and testI.

Here is the call graph for this function:

Variable Documentation

◆ testI

int testI = 0

Definition at line 24 of file simplewrite01.ino.

Referenced by txTest().