Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleTable of Contents
Table of Contents
minLevel1
maxLevel4

...

gumbandPublish()
Status
colourYellow
titleUNFINISHED

TBD on the implementation of this, but the intent is to be a type agnostic way to publish.

Syntax:

void gumbandPublish();

...

Functions to send informational messages to the Gumband Cloud dashboard. Insert excerptHardware Logging & EventsHardware Logging & EventsnameLog limitnopaneltrue'

gumbandDebug()

https://deeplocal.atlassian.net/wiki/spaces/GS/pages/

...

52822092#Debug-Logs

Insert excerpt
Hardware Logging & Events
Hardware Logging & Events
nameLog limit
nopaneltrue

Syntax:

void gumbandDebug(const char* text, ...);

...

Code Block
languagecpp
uint8_t test_data = 100;
gumbandDebug("Sending data value of %d...", test_data);

gumbandError()

https://deeplocal.atlassian.net/wiki/spaces/GS/pages/

...

52822092#Error-Logs
Syntax:

void gumbandError(const char* text, ...);

...

Code Block
languagecpp
const char* error_string = "Example Error";
gumbandError("Warning! Encountered an error with message: %s", error_string);

gumbandNotify()

https://deeplocal.atlassian.net/wiki/spaces/GS/pages/

...

52822092#Notify

Send a notification message to the Cloud. Anyone who is subscribed to notification messages for this hardware will immediately receive an email notification with the message.

...

Code Block
languagecpp
gumbandNotify("Hello Gumband! I am a notification in your e-mail that something happened.");

gumbandEvent()

https://deeplocal.atlassian.net/wiki/spaces/GS/pages/

...

52822092#Event-Logs

Send an “Event” to the Cloud. These Events are plotted on a graph and can be viewed in real time on the dashboard. The data can be viewed either as frequency of named Events over time or Event values over time.

...

Note

In most cases it is not recommended to use any of the following 4 functions to configure the hardware, these changes should be made via the configuration interface (link)

gumbandSetAuthToken()

Syntax:

...