diff --git a/client/client/lib/espnow/src/espnow.hpp b/client/client/lib/espnow/src/espnow.hpp new file mode 100644 index 0000000000000000000000000000000000000000..536fba1c2ce9287ed273035aab922baeaeed1d0f --- /dev/null +++ b/client/client/lib/espnow/src/espnow.hpp @@ -0,0 +1,13 @@ + +#include <string> +#define NUM_SENSORS 10 + +// I originally wanted to define the mac addresses here, but i got a "multiple definition" error? +typedef struct dataMessage{ + std::string identifiers[NUM_SENSORS]; + float values[NUM_SENSORS]; +}dataMessage; + +int send_data(dataMessage data); + +int espnow_setup(); \ No newline at end of file