¿ªÔÆÌåÓý

Re: Add custom items to mqtt topic #mqtt


 

Hi - you could just explicitly subscribe to the topics you want to subscribe to anyway - probably the quickest way to achieve it.
?
Something like
?
? ? ? client.subscribe("track/turnout/T101");
? ? ? client.subscribe("track/turnout/T102");

etc.
?
Or a loop that will insert the relevant ID on the end for you.
?
Chris

Join [email protected] to automatically receive all group messages.