That is not how you compare strings in C++
if ( strcmp(topic, "Pylon/SMA") == 0 ) {
strcpy( messageSMA, payload); // or whatever variables you are using
}
That is not how you compare strings in C++
if ( strcmp(topic, "Pylon/SMA") == 0 ) {
strcpy( messageSMA, payload); // or whatever variables you are using
}