Embedded Wireless Framework
Data Structures | Typedefs | Functions
ewf_adapter_api_mqtt_basic.h File Reference

The Embedded Wireless Framework adapter basic MQTT API. More...

#include "ewf.h"

Go to the source code of this file.

Data Structures

struct  _ewf_adapter_api_mqtt_basic
 

Typedefs

typedef ewf_result(* ewf_adapter_mqtt_basic_state_callback) (ewf_adapter *adapter_ptr, const char *state_cstr, const char *param_cstr)
 A function pointer type for MQTT basic API state callbacks. More...
 
typedef ewf_result(* ewf_adapter_mqtt_basic_message_callback) (ewf_adapter *adapter_ptr, const char *topic_cstr, const char *payload_cstr)
 A function pointer type for MQTT basic API message callbacks. More...
 
typedef struct _ewf_adapter_api_mqtt_basic ewf_adapter_api_mqtt_basic
 

Functions

ewf_result ewf_adapter_mqtt_basic_control (ewf_adapter *adapter_ptr, const char *command_cstr, uint8_t *buffer_ptr, uint32_t *buffer_length_ptr)
 
ewf_result ewf_adapter_mqtt_basic_connect (ewf_adapter *adapter_ptr, char const *server_cstr, uint32_t port, char const *clientid_cstrs, char const *username_cstr, char const *password_cstr)
 
ewf_result ewf_adapter_mqtt_basic_disconnect (ewf_adapter *adapter_ptr)
 
ewf_result ewf_adapter_mqtt_basic_subscribe (ewf_adapter *adapter_ptr, char const *topic_cstr)
 
ewf_result ewf_adapter_mqtt_basic_unsubscribe (ewf_adapter *adapter_ptr, char const *topic_cstr)
 
ewf_result ewf_adapter_mqtt_basic_publish (ewf_adapter *adapter_ptr, const char *topic_cstr, const char *message_cstr)
 
ewf_result ewf_adapter_mqtt_basic_message_get (ewf_adapter *adapter_ptr, const char *topic_cstr, char *message_buffer_ptr)
 
ewf_result ewf_adapter_mqtt_basic_state_callback_set (ewf_adapter *adapter_ptr, ewf_adapter_mqtt_basic_state_callback callback)
 
ewf_result ewf_adapter_mqtt_basic_message_callback_set (ewf_adapter *adapter_ptr, ewf_adapter_mqtt_basic_message_callback callback)
 

Detailed Description

The Embedded Wireless Framework adapter basic MQTT API.

Version
Preview