Go Down

Topic: PubSubClient raw data from ESP8266? (Read 259 times) previous topic - next topic

jontitus

Can Arduino software get the raw buffer of received data received from an ESP8266 via the PubSubClient API?  I have searched and cannot find a function that gives me direct access to the bytes.  Perhaps there is another way to access the buffer.  I DO NOT want the separate topic, payload, and byte info returned by the void callback (char8... function.  Just the raw buffered data, please.  Thank you --Jon

Whandall

I DO NOT want the separate topic, payload, and byte info returned by the void callback (char8... function.
Just the raw buffered data
Why?

The whole idea behind an API is shielding you from that representation IMHO.
Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of. (D.Adams)

Go Up