I am sending a message from one device to another using MQTT client/broker. The message is exchanged (sent and received) between the two devices as String succesfully.
However, on the MQTT-Broker (i.e.: the server) the message characters are received as ASCII numbers within a string.
For example if I send:
"This is a test"
On the broker it show:
"84,104,105,115,32,105,115,32,97,32,116,101,115,116,10"
Using Java, I need a way to convert this string of ASCII back to string on the server for further process.
How to do that ? thanks