|
ewf_result | ewf_adapter_mqtt_open (ewf_adapter *adapter_ptr, ewf_socket_mqtt *socket_ptr) |
| Open an MQTT socket. More...
|
|
ewf_result | ewf_adapter_mqtt_close (ewf_socket_mqtt *socket_ptr) |
| Close an MQTT socket. More...
|
|
ewf_result | ewf_adapter_mqtt_set_tls_configuration (ewf_socket_mqtt *socket_ptr, uint32_t tls_configuration_id) |
| Set the TLS context for the socket. More...
|
|
ewf_result | ewf_adapter_mqtt_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) |
| Connect to an MQTT server. More...
|
|
ewf_result | ewf_adapter_mqtt_disconnect (ewf_socket_mqtt *socket_ptr) |
| Disconnect from an MQTT server. More...
|
|
ewf_result | ewf_adapter_mqtt_publish_string (ewf_socket_mqtt *socket_ptr, const char *topic_str, const char *message_str) |
| Publish a message to to a topic. More...
|
|
ewf_result | ewf_adapter_mqtt_publish_buffer (ewf_socket_mqtt *socket_ptr, const char *topic_str, const uint8_t *message_ptr, uint32_t message_size) |
| Publish a message to to a topic. More...
|
|
ewf_result | ewf_adapter_mqtt_publish_message (ewf_socket_mqtt *socket_ptr, const char *topic_str, const ewf_adapter_mqtt_message *message_ptr) |
| Publish a message to to a topic. More...
|
|
ewf_result | ewf_adapter_mqtt_subscribe (ewf_socket_mqtt *socket_ptr, const char *topic_str, ewf_adapter_mqtt_qos qos) |
| Subscribe to a topic. More...
|
|
ewf_result | ewf_adapter_mqtt_subscribe_with_result (ewf_socket_mqtt *socket_ptr, const char *topic_str, ewf_adapter_mqtt_qos *qos_ptr) |
| Subscribe to a topic. More...
|
|
ewf_result | ewf_adapter_mqtt_unsubscribe (ewf_socket_mqtt *socket_ptr, const char *topic_str) |
| Unsubscribe from a topic. More...
|
|
ewf_result | ewf_adapter_mqtt_state_callback_set (ewf_socket_mqtt *socket_ptr, ewf_adapter_mqtt_state_callback callback) |
| Register a callback for state changes. More...
|
|
ewf_result | ewf_adapter_mqtt_message_callback_set (ewf_socket_mqtt *socket_ptr, ewf_adapter_mqtt_message_callback callback) |
| Register a callback for subscribed messages. More...
|
|
The Embedded Wireless Framework adapter MQTT API.
- Version
- Preview
- Copyright
- Copyright (c) Microsoft Corporation. All rights reserved. SPDX-License-Identifier: MIT