Arduino WolkConnect library  3.1.4
Data Fields
_wolk_ctx_t Struct Reference

Data Fields

int sock
 
PubSubClient * mqtt_client
 
actuation_handler_t actuation_handler
 
actuator_status_provider_t actuator_status_provider
 
configuration_handler_t configuration_handler
 
configuration_provider_t configuration_provider
 
char device_key [DEVICE_KEY_SIZE]
 
char device_password [DEVICE_PASSWORD_SIZE]
 
protocol_t protocol
 
parser_t parser
 
const char ** actuator_references
 
uint32_t num_actuator_references
 
bool is_keep_alive_enabled
 
unsigned long millis_last_ping
 
bool is_initialized
 
bool is_connected
 
bool pong_received
 
persistence_t persistence
 
unsigned long epoch_time
 

Field Documentation

◆ actuation_handler

actuation_handler_t _wolk_ctx_t::actuation_handler

Callback for handling received actuation from WolkAbout IoT Platform.

See also
actuation_handler_t

◆ actuator_status_provider

actuator_status_provider_t _wolk_ctx_t::actuator_status_provider

Callback for providing the current actuator status to WolkAbout IoT Platform.

See also
actuator_status_provider_t

◆ configuration_handler

configuration_handler_t _wolk_ctx_t::configuration_handler

Callback for handling received configuration from WolkAbout IoT Platform.

See also
configuration_handler_t

◆ configuration_provider

configuration_provider_t _wolk_ctx_t::configuration_provider

Callback for providing the current configuration status to WolkAbout IoT Platform.

See also
configuration_provider_t

◆ device_key

char _wolk_ctx_t::device_key[DEVICE_KEY_SIZE]

Authentication parameters for WolkAbout IoT Platform. Obtained as a result of device creation on the platform.

◆ device_password

char _wolk_ctx_t::device_password[DEVICE_PASSWORD_SIZE]

Authentication parameters for WolkAbout IoT Platform. Obtained as a result of device creation on the platform.

◆ epoch_time

unsigned long _wolk_ctx_t::epoch_time

Epoch time in milliseconds, is updated on every ping but can be updated manually by calling wolk_update_epoch() Since this is updated by receiving the value from the platform, wolk_process must also be called

◆ protocol

protocol_t _wolk_ctx_t::protocol

Used protocol for communication with WolkAbout IoT Platform.

See also
protocol_type_t

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