Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mqtt_V1 cc3100_Test_mqtt_CM3
mqtt_client_lib_cfg Struct Reference
[The Client Library API(s)]
Contruct / Data to initialize MQTT Client Library. More...
#include <mqtt_client.h>
Data Fields | |
| uint16_t | loopback_port |
| If an application has more than one contexts (i.e. | |
| bool | grp_uses_cbfn |
| Assert if grouped contexts use call-backs. | |
| void * | mutex |
| For a multi-task environment, provide a handle to platform mutex. | |
| void(* | mutex_lockin )(void *mutex) |
| Take platform mutex function. | |
| void(* | mutex_unlock )(void *mutex) |
| Give platform mutex function. | |
| int32_t(* | debug_printf )(const char *format,...) |
| Debug, mandatory. | |
| bool | aux_debug_en |
| Assert to indicate additional debug info. | |
Detailed Description
Contruct / Data to initialize MQTT Client Library.
Definition at line 886 of file mqtt_client.h.
Field Documentation
| bool aux_debug_en |
Assert to indicate additional debug info.
Definition at line 901 of file mqtt_client.h.
| int32_t(* debug_printf)(const char *format,...) |
Debug, mandatory.
Definition at line 900 of file mqtt_client.h.
| bool grp_uses_cbfn |
Assert if grouped contexts use call-backs.
Definition at line 893 of file mqtt_client.h.
| uint16_t loopback_port |
If an application has more than one contexts (i.e.
grouped contexts) to manage in a single task, then a non-zero value must be provided. Otherwise, this parameter must be set to zero.
Definition at line 892 of file mqtt_client.h.
| void* mutex |
For a multi-task environment, provide a handle to platform mutex.
Definition at line 896 of file mqtt_client.h.
| void(* mutex_lockin)(void *mutex) |
Take platform mutex function.
Definition at line 897 of file mqtt_client.h.
| void(* mutex_unlock)(void *mutex) |
Give platform mutex function.
Definition at line 898 of file mqtt_client.h.
Generated on Fri Jul 15 2022 07:38:03 by
1.7.2