Adafruit Library
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Wippersnapper Class Reference

Class that provides storage and functions for the Adafruit IO Wippersnapper interface. More...

#include <Wippersnapper.h>

Inheritance diagram for Wippersnapper:
Wippersnapper_AIRLIFT Wippersnapper_ESP32

Public Member Functions

virtual ~Wippersnapper ()
 Wippersnapper destructor.
 
void provision ()
 Provisions a WipperSnapper device with its network configuration and Adafruit IO credentials.
 
virtual void set_user_key ()
 Configures the device's Adafruit IO credentials. This method should be used only if filesystem-backed provisioning is not avaliable.
 
virtual void set_ssid_pass (const char *ssid, const char *ssidPassword)
 Sets the device's wireless network credentials. More...
 
virtual void set_ssid_pass ()
 Sets the device's wireless network credentials from the secrets.json configuration file.
 
virtual bool check_valid_ssid ()
 Performs a scan of local WiFi networks. More...
 
virtual void _connect ()
 Connects to wireless network.
 
virtual void _disconnect ()
 Disconnect Wippersnapper MQTT session and network.
 
void connect ()
 Connects to Adafruit IO+ Wippersnapper broker.
 
void disconnect ()
 Disconnects from Adafruit IO+ Wippersnapper.
 
virtual void getMacAddr ()
 Sets the network interface's unique identifer, typically the MAC address.
 
virtual int32_t getRSSI ()
 Gets the network's RSSI. More...
 
virtual void setupMQTTClient (const char *clientID)
 Sets up the MQTT client session. More...
 
virtual ws_status_t networkStatus ()
 Returns the network's connection status. More...
 
ws_board_status_t getBoardStatus ()
 Returns the board definition status. More...
 
bool generateDeviceUID ()
 Attempts to generate unique device identifier. More...
 
bool generateWSTopics ()
 Generates device-specific Wippersnapper control topics and subscribes to them. More...
 
bool generateWSErrorTopics ()
 Builds MQTT topics for handling errors returned from the Adafruit IO broker and subscribes to them. More...
 
bool registerBoard ()
 Attempts to register hardware with Adafruit.io WipperSnapper. More...
 
bool encodePubRegistrationReq ()
 Encodes hardware registration request message and publishes the message to the Adafruit IO broker. More...
 
void decodeRegistrationResp (char *data, uint16_t len)
 Decodes hardware registration response message from the Adafruit IO MQTT broker and initializes hardware components. More...
 
void pollRegistrationResp ()
 Polls the broker for the hardware registration response message. More...
 
void publishPinConfigComplete ()
 Publishes an ACK to the broker that the device has completed its hardware configuration.
 
ws_status_t run ()
 Processes incoming commands and handles network connection. More...
 
void processPackets ()
 Process all incoming packets from the Adafruit IO MQTT broker. Handles network connectivity.
 
void publish (const char *topic, uint8_t *payload, uint16_t bLen, uint8_t qos=0)
 Publishes a message to the Adafruit IO MQTT broker. Handles network connectivity. More...
 
void pingBroker ()
 Pings the MQTT broker within the keepalive interval to keep the connection alive. Blinks the keepalive LED every STATUS_LED_KAT_BLINK_TIME milliseconds.
 
void runNetFSM ()
 Checks network and MQTT connectivity. Handles network re-connection and mqtt re-establishment.
 
void enableWDT (int timeoutMS=0)
 Enables the watchdog timer. More...
 
void feedWDT ()
 Feeds the WDT to prevent hardware reset.
 
void haltError (String error, ws_led_status_t ledStatusColor=WS_LED_STATUS_ERROR_RUNTIME, uint8_t seconds_until_reboot=25)
 Prints an error to the serial and halts the hardware until the WDT bites. More...
 
void errorWriteHang (String error)
 Writes an error message to the serial and the filesystem, blinks WS_LED_STATUS_ERROR_RUNTIME pattern and hangs. More...
 
bool decodeSignalMsg (wippersnapper_signal_v1_CreateSignalRequest *encodedSignalMsg)
 Decodes a signal buffer protobuf message. NOTE: Should be executed in-order after a new _buffer is recieved. More...
 
bool encodePinEvent (wippersnapper_signal_v1_CreateSignalRequest *outgoingSignalMsg, uint8_t pinName, int pinVal)
 Handles MQTT messages on signal topic until timeout. More...
 
bool configureDigitalPinReq (wippersnapper_pin_v1_ConfigurePinRequest *pinMsg)
 Configures a pin according to a wippersnapper_pin_v1_ConfigurePinRequest message. More...
 
bool configAnalogInPinReq (wippersnapper_pin_v1_ConfigurePinRequest *pinMsg)
 Configures an analog input pin according to a wippersnapper_pin_v1_ConfigurePinRequest message. More...
 

Public Attributes

bool lockStatusNeoPixel
 True if status LED is using the status neopixel.
 
bool lockStatusDotStar
 True if status LED is using the status dotstar.
 
bool lockStatusLED
 True if status LED is using the built-in LED.
 
float status_pixel_brightness
 
std::vector< WipperSnapper_Component_I2C * > i2cComponents
 Vector containing all I2C components.
 
WipperSnapper_Component_I2C_i2cPort0
 WipperSnapper I2C Component for I2C port #0. More...
 
WipperSnapper_Component_I2C_i2cPort1
 WipperSnapper I2C Component for I2C port #1. More...
 
bool _isI2CPort0Init
 True if I2C port 0 has been initialized, False otherwise. More...
 
bool _isI2CPort1Init
 True if I2C port 1 has been initialized, False otherwise. More...
 
uint8_t _buffer [WS_MQTT_MAX_PAYLOAD_SIZE]
 
uint8_t _buffer_outgoing [WS_MQTT_MAX_PAYLOAD_SIZE]
 
uint16_t bufSize
 
ws_board_status_t _boardStatus
 Hardware's registration status. More...
 
Wippersnapper_DigitalGPIO_digitalGPIO
 Instance of digital gpio class.
 
Wippersnapper_AnalogIO_analogIO
 Instance of analog io class.
 
Wippersnapper_FS * _fileSystem
 Instance of Filesystem (native USB)
 
WipperSnapper_LittleFS * _littleFS
 Instance of LittleFS Filesystem (non-native USB)
 
ws_display_driver_display = nullptr
 Instance of display driver class.
 
ws_display_ui_helper_ui_helper
 Instance of display UI helper class. More...
 
ws_pixels_ws_pixelsComponent
 ptr to instance of ws_pixels class
 
ws_pwm_pwmComponent
 Instance of pwm class.
 
ws_servo_servoComponent
 Instance of servo class.
 
ws_ds18x20_ds18x20Component
 Instance of DS18x20 class.
 
ws_uart_uartComponent
 Instance of UART class.
 
uint8_t _macAddr [6]
 
char sUID [13]
 
const char * _boardId
 
Adafruit_MQTT * _mqtt
 
secretsConfig _config
 
networkConfig _multiNetworks [3]
 
bool _isWiFiMulti = false
 
int32_t totalDigitalPins
 
char * _topic_description = NULL
 
char * _topic_signal_device = NULL
 
char * _topic_signal_i2c_brkr = NULL
 
char * _topic_signal_i2c_device = NULL
 
char * _topic_signal_servo_brkr = NULL
 
char * _topic_signal_servo_device = NULL
 
char * _topic_signal_pwm_brkr
 
char * _topic_signal_pwm_device
 
char * _topic_signal_ds18_brkr = NULL
 
char * _topic_signal_ds18_device = NULL
 
char * _topic_signal_pixels_brkr = NULL
 
char * _topic_signal_pixels_device = NULL
 
char * _topic_signal_uart_brkr = NULL
 
char * _topic_signal_uart_device = NULL
 
wippersnapper_signal_v1_CreateSignalRequest _incomingSignalMsg
 
wippersnapper_signal_v1_I2CRequest msgSignalI2C
 
wippersnapper_signal_v1_Ds18x20Request msgSignalDS
 
wippersnapper_signal_v1_ServoRequest msgServo
 ServoRequest wrapper message.
 
wippersnapper_signal_v1_PWMRequest msgPWM
 
wippersnapper_signal_v1_PixelsRequest msgPixels
 PixelsRequest wrapper message.
 
wippersnapper_signal_v1_UARTRequest msgSignalUART
 UARTReq wrapper message.
 
char * throttleMessage
 
int throttleTime
 
bool pinCfgCompleted = false
 
ws_ledc_ledc = nullptr
 Pointer to LEDC object.
 

Protected Attributes

ws_status_t _status = WS_IDLE
 
uint32_t _last_mqtt_connect = 0
 
uint32_t _prv_ping = 0
 
uint32_t _prvKATBlink = 0
 
const char * _deviceId
 
char * _device_uid
 
char * _topic_description_status
 
char * _topic_description_status_complete = NULL
 
char * _topic_device_pin_config_complete
 
char * _topic_signal_brkr = NULL
 
char * _err_topic = NULL
 
char * _throttle_topic = NULL
 
Adafruit_MQTT_Subscribe * _topic_description_sub
 
Adafruit_MQTT_Publish * _topic_signal_device_pub
 
Adafruit_MQTT_Subscribe * _topic_signal_brkr_sub
 
Adafruit_MQTT_Subscribe * _topic_signal_i2c_sub
 
Adafruit_MQTT_Subscribe * _topic_signal_servo_sub
 
Adafruit_MQTT_Subscribe * _topic_signal_pwm_sub
 
Adafruit_MQTT_Subscribe * _topic_signal_ds18_sub
 
Adafruit_MQTT_Subscribe * _topic_signal_pixels_sub
 
Adafruit_MQTT_Subscribe * _topic_signal_uart_sub
 
Adafruit_MQTT_Subscribe * _err_sub
 
Adafruit_MQTT_Subscribe * _throttle_sub
 
wippersnapper_signal_v1_CreateSignalRequest _outgoingSignalMsg
 

Detailed Description

Class that provides storage and functions for the Adafruit IO Wippersnapper interface.

Member Function Documentation

◆ set_ssid_pass()

void Wippersnapper::set_ssid_pass ( const char *  ssid,
const char *  ssidPassword 
)
virtual

Sets the device's wireless network credentials.

Parameters
ssidYour wireless network's SSID
ssidPasswordYour wireless network's password.

Reimplemented in Wippersnapper_AIRLIFT, and Wippersnapper_ESP32.

◆ check_valid_ssid()

bool Wippersnapper::check_valid_ssid ( )
virtual

Performs a scan of local WiFi networks.

Returns
True if _network_ssid is found, False otherwise.

Reimplemented in Wippersnapper_AIRLIFT, and Wippersnapper_ESP32.

◆ getRSSI()

int32_t Wippersnapper::getRSSI ( )
virtual

Gets the network's RSSI.

Returns
int32_t RSSI value, 0 to 255, in dB

Reimplemented in Wippersnapper_AIRLIFT, and Wippersnapper_ESP32.

◆ setupMQTTClient()

void Wippersnapper::setupMQTTClient ( const char *  clientID)
virtual

Sets up the MQTT client session.

Parameters
clientIDA unique client identifier string.

Reimplemented in Wippersnapper_AIRLIFT, and Wippersnapper_ESP32.

◆ networkStatus()

ws_status_t Wippersnapper::networkStatus ( )
virtual

Returns the network's connection status.

Returns
Network status as ws_status_t.

Reimplemented in Wippersnapper_AIRLIFT, and Wippersnapper_ESP32.

◆ getBoardStatus()

ws_board_status_t Wippersnapper::getBoardStatus ( )

Returns the board definition status.

Returns
Wippersnapper board definition status

◆ generateDeviceUID()

bool Wippersnapper::generateDeviceUID ( )

Attempts to generate unique device identifier.

Returns
True if device identifier generated successfully, False otherwise.

◆ generateWSTopics()

bool Wippersnapper::generateWSTopics ( )

Generates device-specific Wippersnapper control topics and subscribes to them.

Returns
True if memory for control topics allocated successfully, False otherwise.

◆ generateWSErrorTopics()

bool Wippersnapper::generateWSErrorTopics ( )

Builds MQTT topics for handling errors returned from the Adafruit IO broker and subscribes to them.

Returns
True if memory for error topics allocated successfully, False otherwise.

◆ registerBoard()

bool Wippersnapper::registerBoard ( )

Attempts to register hardware with Adafruit.io WipperSnapper.

Returns
True if successful, False otherwise.

◆ encodePubRegistrationReq()

bool Wippersnapper::encodePubRegistrationReq ( )

Encodes hardware registration request message and publishes the message to the Adafruit IO broker.

Returns
True if encoded and/or published successfully, False otherwise.

◆ decodeRegistrationResp()

void Wippersnapper::decodeRegistrationResp ( char *  data,
uint16_t  len 
)

Decodes hardware registration response message from the Adafruit IO MQTT broker and initializes hardware components.

Parameters
dataMQTT message from the Adafruit IO MQTT broker.
lenLength of data from the Adafruit IO MQTT broker.

◆ pollRegistrationResp()

void Wippersnapper::pollRegistrationResp ( )

Polls the broker for the hardware registration response message.

NOTE: This function is BLOCKING and will trigger a WDT reset if the message has not arrived.

NOTE: The registration response msg will arrive async. at the cbRegistrationStatus function and set the boardStatus

◆ run()

ws_status_t Wippersnapper::run ( )

Processes incoming commands and handles network connection.

Returns
Network status, as ws_status_t.

◆ publish()

void Wippersnapper::publish ( const char *  topic,
uint8_t *  payload,
uint16_t  bLen,
uint8_t  qos = 0 
)

Publishes a message to the Adafruit IO MQTT broker. Handles network connectivity.

Parameters
topicThe MQTT topic to publish to.
payloadThe payload to publish.
bLenThe length of the payload.
qosThe Quality of Service to publish with.

◆ enableWDT()

void Wippersnapper::enableWDT ( int  timeoutMS = 0)

Enables the watchdog timer.

Parameters
timeoutMSThe desired amount of time to elapse before the WDT executes.

◆ haltError()

void Wippersnapper::haltError ( String  error,
ws_led_status_t  ledStatusColor = WS_LED_STATUS_ERROR_RUNTIME,
uint8_t  seconds_until_reboot = 25 
)

Prints an error to the serial and halts the hardware until the WDT bites.

Parameters
errorThe error to print to serial.
ledStatusColorThe color to blink.
seconds_until_rebootThe amount of time to wait before rebooting.

◆ errorWriteHang()

void Wippersnapper::errorWriteHang ( String  error)

Writes an error message to the serial and the filesystem, blinks WS_LED_STATUS_ERROR_RUNTIME pattern and hangs.

Parameters
errorThe error message to write to the serial and filesystem.

◆ decodeSignalMsg()

bool Wippersnapper::decodeSignalMsg ( wippersnapper_signal_v1_CreateSignalRequest *  encodedSignalMsg)

Decodes a signal buffer protobuf message. NOTE: Should be executed in-order after a new _buffer is recieved.

Parameters
encodedSignalMsgEncoded signal message.
Returns
true if successfully decoded signal message, false otherwise.

◆ encodePinEvent()

bool Wippersnapper::encodePinEvent ( wippersnapper_signal_v1_CreateSignalRequest *  outgoingSignalMsg,
uint8_t  pinName,
int  pinVal 
)

Handles MQTT messages on signal topic until timeout.

Parameters
outgoingSignalMsgEmpty signal message struct.
pinNameName of pin.
pinValValue of pin.
Returns
True if pinEvent message encoded successfully, false otherwise.

◆ configureDigitalPinReq()

bool Wippersnapper::configureDigitalPinReq ( wippersnapper_pin_v1_ConfigurePinRequest *  pinMsg)

Configures a pin according to a wippersnapper_pin_v1_ConfigurePinRequest message.

Parameters
pinMsgPointer to a wippersnapper_pin_v1_ConfigurePinRequest message.
Returns
True if pin configured successfully, False otherwise.

◆ configAnalogInPinReq()

bool Wippersnapper::configAnalogInPinReq ( wippersnapper_pin_v1_ConfigurePinRequest *  pinMsg)

Configures an analog input pin according to a wippersnapper_pin_v1_ConfigurePinRequest message.

Parameters
pinMsgPointer to a wippersnapper_pin_v1_ConfigurePinRequest message.
Returns
True if analog pin configured successfully, False otherwise.

Member Data Documentation

◆ status_pixel_brightness

float Wippersnapper::status_pixel_brightness
Initial value:

Global status pixel's brightness (from 0.0 to 1.0)

◆ _i2cPort0

WipperSnapper_Component_I2C* Wippersnapper::_i2cPort0
Initial value:
=
NULL

WipperSnapper I2C Component for I2C port #0.

◆ _i2cPort1

WipperSnapper_Component_I2C* Wippersnapper::_i2cPort1
Initial value:
=
NULL

WipperSnapper I2C Component for I2C port #1.

◆ _isI2CPort0Init

bool Wippersnapper::_isI2CPort0Init
Initial value:
=
false

True if I2C port 0 has been initialized, False otherwise.

◆ _isI2CPort1Init

bool Wippersnapper::_isI2CPort1Init
Initial value:
=
false

True if I2C port 1 has been initialized, False otherwise.

◆ _buffer

uint8_t Wippersnapper::_buffer[WS_MQTT_MAX_PAYLOAD_SIZE]

Shared buffer to save callback payload

◆ _buffer_outgoing

uint8_t Wippersnapper::_buffer_outgoing[WS_MQTT_MAX_PAYLOAD_SIZE]

buffer which contains outgoing payload data

◆ bufSize

uint16_t Wippersnapper::bufSize

Length of data inside buffer

◆ _boardStatus

ws_board_status_t Wippersnapper::_boardStatus
Initial value:
=
WS_BOARD_DEF_IDLE

Hardware's registration status.

◆ _ui_helper

ws_display_ui_helper* Wippersnapper::_ui_helper
Initial value:
=
nullptr

Instance of display UI helper class.

◆ _macAddr

uint8_t Wippersnapper::_macAddr[6]

Unique network iface identifier

◆ sUID

char Wippersnapper::sUID[13]

Unique network iface identifier

◆ _boardId

const char* Wippersnapper::_boardId

Adafruit IO+ board string

◆ _mqtt

Adafruit_MQTT* Wippersnapper::_mqtt

Reference to Adafruit_MQTT, _mqtt.

◆ _config

secretsConfig Wippersnapper::_config

Wippersnapper secrets.json as a struct.

◆ _multiNetworks

networkConfig Wippersnapper::_multiNetworks[3]

Wippersnapper networks as structs.

◆ _isWiFiMulti

bool Wippersnapper::_isWiFiMulti = false

True if multiple networks are defined.

◆ totalDigitalPins

int32_t Wippersnapper::totalDigitalPins

Total number of digital-input capable pins

◆ _topic_description

char* Wippersnapper::_topic_description = NULL

MQTT topic for the device description

◆ _topic_signal_device

char* Wippersnapper::_topic_signal_device = NULL

Device->Wprsnpr messages

◆ _topic_signal_i2c_brkr

char* Wippersnapper::_topic_signal_i2c_brkr = NULL

Topic carries messages from a device to a broker.

◆ _topic_signal_i2c_device

char* Wippersnapper::_topic_signal_i2c_device = NULL

Topic carries messages from a broker to a device.

◆ _topic_signal_servo_brkr

char* Wippersnapper::_topic_signal_servo_brkr = NULL

Topic carries messages from a device to a broker.

◆ _topic_signal_servo_device

char* Wippersnapper::_topic_signal_servo_device = NULL

Topic carries messages from a broker to a device.

◆ _topic_signal_pwm_brkr

char* Wippersnapper::_topic_signal_pwm_brkr
Initial value:
=
NULL

Topic carries PWM messages from a device to a broker.

◆ _topic_signal_pwm_device

char* Wippersnapper::_topic_signal_pwm_device
Initial value:
=
NULL

Topic carries PWM messages from a broker to a device.

◆ _topic_signal_ds18_brkr

char* Wippersnapper::_topic_signal_ds18_brkr = NULL

Topic carries ds18x20 messages from a device to a broker.

◆ _topic_signal_ds18_device

char* Wippersnapper::_topic_signal_ds18_device = NULL

Topic carries ds18x20 messages from a broker to a device.

◆ _topic_signal_pixels_brkr

char* Wippersnapper::_topic_signal_pixels_brkr = NULL

Topic carries pixel messages

◆ _topic_signal_pixels_device

char* Wippersnapper::_topic_signal_pixels_device = NULL

Topic carries pixel messages

◆ _topic_signal_uart_brkr

char* Wippersnapper::_topic_signal_uart_brkr = NULL

Topic carries UART messages

◆ _topic_signal_uart_device

char* Wippersnapper::_topic_signal_uart_device = NULL

Topic carries UART messages

◆ _incomingSignalMsg

wippersnapper_signal_v1_CreateSignalRequest Wippersnapper::_incomingSignalMsg

Incoming signal message from broker

◆ msgSignalI2C

wippersnapper_signal_v1_I2CRequest Wippersnapper::msgSignalI2C
Initial value:
=
wippersnapper_signal_v1_I2CRequest_init_zero

I2C request wrapper message

◆ msgSignalDS

wippersnapper_signal_v1_Ds18x20Request Wippersnapper::msgSignalDS
Initial value:
=
wippersnapper_signal_v1_Ds18x20Request_init_zero

DS request message wrapper

◆ msgPWM

wippersnapper_signal_v1_PWMRequest Wippersnapper::msgPWM
Initial value:
=
wippersnapper_signal_v1_PWMRequest_init_zero

PWM request wrapper message.

◆ throttleMessage

char* Wippersnapper::throttleMessage

Pointer to throttle message data.

◆ throttleTime

int Wippersnapper::throttleTime

Total amount of time to throttle the device, in milliseconds.

◆ pinCfgCompleted

bool Wippersnapper::pinCfgCompleted = false

Did initial pin sync complete?

◆ _status

ws_status_t Wippersnapper::_status = WS_IDLE
protected

Adafruit IO connection status

◆ _last_mqtt_connect

uint32_t Wippersnapper::_last_mqtt_connect = 0
protected

Previous time when client connected to Adafruit IO, in milliseconds.

◆ _prv_ping

uint32_t Wippersnapper::_prv_ping = 0
protected

Previous time when client pinged Adafruit IO's MQTT broker, in milliseconds.

◆ _prvKATBlink

uint32_t Wippersnapper::_prvKATBlink = 0
protected

Previous time when client pinged Adafruit IO's MQTT broker, in milliseconds.

◆ _deviceId

const char* Wippersnapper::_deviceId
protected

Adafruit IO+ device identifier string

◆ _device_uid

char* Wippersnapper::_device_uid
protected

Unique device identifier

◆ _topic_description_status

char* Wippersnapper::_topic_description_status
protected
Initial value:
=
NULL

MQTT subtopic carrying the description status resp. from the broker

◆ _topic_description_status_complete

char* Wippersnapper::_topic_description_status_complete = NULL
protected

MQTT topic carrying the ACK signal from the device to the broker after registration

◆ _topic_device_pin_config_complete

char* Wippersnapper::_topic_device_pin_config_complete
protected
Initial value:
=
NULL

MQTT topic carrying the ACK signal from the device to the broker after hardware configuration

◆ _topic_signal_brkr

char* Wippersnapper::_topic_signal_brkr = NULL
protected

Wprsnpr->Device messages

◆ _err_topic

char* Wippersnapper::_err_topic = NULL
protected

Adafruit IO MQTT error message topic.

◆ _throttle_topic

char* Wippersnapper::_throttle_topic = NULL
protected

Adafruit IO MQTT throttle message topic.

◆ _topic_description_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_description_sub
protected

Subscription callback for registration topic.

◆ _topic_signal_device_pub

Adafruit_MQTT_Publish* Wippersnapper::_topic_signal_device_pub
protected

Subscription callback for D2C signal topic.

◆ _topic_signal_brkr_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_brkr_sub
protected

Subscription callback for C2D signal topic.

◆ _topic_signal_i2c_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_i2c_sub
protected

Subscription callback for I2C topic.

◆ _topic_signal_servo_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_servo_sub
protected

Subscription callback for servo topic.

◆ _topic_signal_pwm_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_pwm_sub
protected

Subscription callback for pwm topic.

◆ _topic_signal_ds18_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_ds18_sub
protected

Subscribes to signal's ds18x20 topic.

◆ _topic_signal_pixels_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_pixels_sub
protected

Subscribes to pixel device topic.

◆ _topic_signal_uart_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_topic_signal_uart_sub
protected

Subscribes to signal's UART topic.

◆ _err_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_err_sub
protected

Subscription to Adafruit IO Error topic.

◆ _throttle_sub

Adafruit_MQTT_Subscribe* Wippersnapper::_throttle_sub
protected

Subscription to Adafruit IO Throttle topic.

◆ _outgoingSignalMsg

wippersnapper_signal_v1_CreateSignalRequest Wippersnapper::_outgoingSignalMsg
protected

Outgoing signal message from device


The documentation for this class was generated from the following files: