Especially with MQTT making messages compact is helpful in keeping bandwidth low. Simple equations and bitwise math would be very helpful.
For example I often pack 8 digital states in a single byte instead of having 8 boolean values.
Basic equations and unpacking
Re: Basic equations and unpacking
I have the code to publish data using MQTT, but cannot publish to asksensors.com. Anyone can help me?
My code is:
client.publish("publish/kabiroo/xxxGqQf7LxxxL3lZeM4M90UaxxxtExxx", "m1=57");
My code is:
client.publish("publish/kabiroo/xxxGqQf7LxxxL3lZeM4M90UaxxxtExxx", "m1=57");