like the topic mention.... for example
int[10] msg;
msg[0] = 1;
msg[1] = 2;
const char* a = (const char*)msg[0];
const char* b = (const char*)msg[1];
It seem there is no value when I test by printf
I'm going to use it this way
char test[20];
strcpy(test, a);
strcat(test, ",");
strcat(test, b);
strcat(test, "\0");
mclient.publish("topic1/sensorAck",test);
The result show only comma