|
Swadge ESP32-S2/S3
APIs to develop for the Magfest Swadge
|
A SwadgePass packet which is transmitted over ESP NOW.
#include <swadgePass.h>
Data Fields | |
| uint16_t | preamble |
| Two bytes that specifically begin a SwadgePass packet. | |
| uint8_t | version |
| A version byte to differentiate packets per-year. | |
| int32_t | username |
| struct { | |
| fairy_t | fairy |
| profileCard_t | card |
| } | fairyCol |
| struct { | |
| int8_t | maxLevels |
| int16_t | accuracy |
| int32_t | totalScore |
| int32_t | adjScore |
| } | gottaGo |
| struct { | |
| uint16_t | highScore |
| } | roboRunner |
| uint16_t preamble |
Two bytes that specifically begin a SwadgePass packet.
| uint8_t version |
A version byte to differentiate packets per-year.
| int32_t username |
Username associated with the swadge FIXME: Need to save during tutorial
| struct { ... } fairyCol |
| struct { ... } gottaGo |
| struct { ... } roboRunner |