STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.cpp File Reference
#include "main.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static const char * currentMessage ()
 The message this build prints.
void setup ()
void loop ()

Variables

byte mac [] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0x05}
StarOTA::Server otaServer (OTA_TCP_PORT)
unsigned long lastPrintMillis = 0
unsigned long bootTime = 0

Function Documentation

◆ currentMessage()

const char * currentMessage ( )
static

The message this build prints.

Prefer STAR_OTA_TEST_MESSAGE — the library-wide flag that firmware/tools/ota_upload.py --message and the Test-GUI's OTA tab both set — and fall back to this project's older -DOTA_MESSAGE so the local ota_upload.py keeps working.

Definition at line 14 of file main.cpp.

References OTA_MESSAGE, and StarOTA::testMessage().

Referenced by loop(), and setup().

◆ loop()

void loop ( )

◆ setup()

Variable Documentation

◆ bootTime

unsigned long bootTime = 0

Definition at line 19 of file main.cpp.

Referenced by loop(), and setup().

◆ lastPrintMillis

unsigned long lastPrintMillis = 0

Definition at line 18 of file main.cpp.

Referenced by loop(), and setup().

◆ mac

byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0x05}

Definition at line 4 of file main.cpp.

◆ otaServer