C2NOTIFY
Options
C2NOTIFY INFO some message
C2NOTIFY ERROR some more severe messageExperimenting

Examples
Last updated
#!/bin/bash
# Title: Cloud C2 Button
#
# Description: A simple payload that notifies Cloud C2 when a button is pressed
# Set the netmode to NAT, otherwise there is no connectivity at all
NETMODE NAT
# Set the LED to blinking cyan
LED C SINGLE
# Wait forever until the button is tapped
BUTTON
# Notify Cloud C2
C2NOTIFY INFO "The button was pressed!"
# Set the LED to blink blue in a triple pattern
LED B TRIPLE#!/bin/bash
# Title: More advanced Cloud C2 button
#
# Description: React differently if the button was pressed or not
# Set the netmode to NAT, otherwise there is no connectivity at all
NETMODE NAT
# Set the LED to blinking cyan
LED C SINGLE
# Wait 3 seconds, set the LED depending on if the user presses the button
BUTTON 3 && {
C2NOTIFY INFO "The button was pressed!"
LED W SOLID
} || {
C2NOTIFY ERROR "The button was not pressed!"
LED R DOUBLE
}