Embedded Wireless Framework
Data Fields
_ewf_adapter_api_mqtt Struct Reference

#include <ewf_adapter_api_mqtt.h>

Data Fields

ewf_result(* control )(ewf_socket_mqtt *socket_ptr, const char *command_cstr, const char *param_cstr)
 
ewf_result(* query )(ewf_socket_mqtt *socket_ptr, const char *command_cstr, uint8_t *buffer_ptr, uint32_t *buffer_length_ptr)
 
ewf_result(* open )(ewf_adapter *adapter_ptr, ewf_socket_mqtt *socket_ptr)
 
ewf_result(* close )(ewf_socket_mqtt *socket_ptr)
 
ewf_result(* set_tls_configuration )(ewf_socket_mqtt *socket_ptr, uint32_t tls_configuration_id)
 
ewf_result(* connect )(ewf_socket_mqtt *socket_ptr, const char *server_str, uint32_t port, const char *clientid_str, const char *username_str, const char *password_str)
 
ewf_result(* disconnect )(ewf_socket_mqtt *socket_ptr)
 
ewf_result(* publish_string )(ewf_socket_mqtt *socket_ptr, const char *topic_str, const char *message_str)
 
ewf_result(* publish_buffer )(ewf_socket_mqtt *socket_ptr, const char *topic_str, const uint8_t *message_ptr, uint32_t message_size)
 
ewf_result(* publish_message )(ewf_socket_mqtt *socket_ptr, const char *topic_str, const ewf_adapter_mqtt_message *message_ptr)
 
ewf_result(* subscribe )(ewf_socket_mqtt *socket_ptr, const char *topic)
 
ewf_result(* unsubscribe )(ewf_socket_mqtt *socket_ptr, const char *topic)
 
ewf_result(* set_message_state )(ewf_socket_mqtt *socket_ptr, ewf_adapter_mqtt_state_callback callback)
 
ewf_result(* set_message_callback )(ewf_socket_mqtt *socket_ptr, ewf_adapter_mqtt_message_callback callback)
 

Detailed Description

@breif the MQTT API type


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