Riva said: All topics are dealt with using the same callback so you will need to determine what topic the data is for in the callback to know what to do with it.
So that would be by looking at the topic of the message - yes?
Or something like that.
I remember seeing code and it had something like a message topic scanner and acted on that.
Thanks to both for the reply.
When I next get the time to look at the code I will see if I can work out how to do the multiple subscriptions.