Swadge ESP32-S2/S3
APIs to develop for the Magfest Swadge
Loading...
Searching...
No Matches
swadgePassPacket Struct Reference

Detailed Description

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

Field Documentation

◆ preamble

uint16_t preamble

Two bytes that specifically begin a SwadgePass packet.

◆ version

uint8_t version

A version byte to differentiate packets per-year.

◆ username

int32_t username

Username associated with the swadge FIXME: Need to save during tutorial

◆ [struct]

struct { ... } fairyCol

◆ [struct]

struct { ... } gottaGo

◆ [struct]

struct { ... } roboRunner

The documentation for this struct was generated from the following file: