http://3wymlmcsvxiaqzmbepsdawqpk6o2qsk65jhms72qqjulk5u4bgmvs3qd.onion/fuss/arduino
Given the published payload: { " action " : " subscribed " } handled by the PubSub callback: void mqttCallback ( char * topic, byte * payload, unsigned int length ) { String msgTopic = String ( topic ) ; String msgPayload = ( const char * ) payload ; //... will result in the msgPayload string containing garbage: { " action " : " subscribed " }d} " Perhaps a simpler way of dealing with the payload parameter, in case the expected content is a string, would be to create a...