Unify Framework Lib
1.7.0
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
g
i
l
m
n
o
p
q
r
s
u
v
Functions
a
c
g
i
l
m
o
p
r
s
u
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Enumerations
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Enumerator
a
b
c
d
e
f
i
j
m
r
s
u
z
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
mqtt_client_id.h
Go to the documentation of this file.
1
/******************************************************************************
2
* # License
3
* <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
4
******************************************************************************
5
* The licensor of this software is Silicon Laboratories Inc. Your use of this
6
* software is governed by the terms of Silicon Labs Master Software License
7
* Agreement (MSLA) available at
8
* www.silabs.com/about-us/legal/master-software-license-agreement. This
9
* software is distributed to you in Source Code format and is governed by the
10
* sections of the MSLA applicable to Source Code.
11
*
12
*****************************************************************************/
13
26
#ifndef MQTT_CLIENT_ID_H
27
#define MQTT_CLIENT_ID_H
28
29
// Key used to store/fetch the MQTT Client ID used by the application.
30
#define DATASTORE_MQTT_CLIENT_ID_KEY "mqtt_client_client_id"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
41
const
char
*
mqtt_client_id_get_from_config
();
42
52
void
mqtt_client_store_client_id_to_datastore
(
const
char
*client_id_in_use);
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
//MQTT_CLIENT_ID_H
mqtt_client_id_get_from_config
const char * mqtt_client_id_get_from_config()
Reads the configuration and determines which MQTT Client ID we should use.
mqtt_client_store_client_id_to_datastore
void mqtt_client_store_client_id_to_datastore(const char *client_id_in_use)
Stores the MQTT Client ID we used in the datastore, if any datastore is active with the current appli...
components
uic_mqtt
src
mqtt_client_id.h
Generated on Thu Feb 13 2025 07:20:09 for Unify Framework Lib by
1.9.4