what is topic in mqtt protocol being used in wiced?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

in mqtt what is exactly topic  and why we use "#" and "+" in topic,i have read somewhere that topic is like massage Que but am not getting how?

0 Likes
1 Solution
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

ineev_teksun wrote:

in mqtt what is exactly topic  and why we use "#" and "+" in topic,i have read somewhere that topic is like massage Que but am not getting how?

"#" and "+" are defined in MQTT protocol as "multi-level wildcard" and "single level wildcard":

MQTT Version 3.1.1

View solution in original post

3 Replies
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

ineev_teksun wrote:

in mqtt what is exactly topic  and why we use "#" and "+" in topic,i have read somewhere that topic is like massage Que but am not getting how?

"#" and "+" are defined in MQTT protocol as "multi-level wildcard" and "single level wildcard":

MQTT Version 3.1.1

Anonymous
Not applicable

but what topic is exactly ?

0 Likes
Anonymous
Not applicable

You can think of topic as a channel.

Typically the server would support many topics (channels), and a client can publish/subscribe to a few topics (channels) of interest.