Mqttsamples

Expanded the equation in commit a57734216b00efcbc32776e4c36b2bcb5131ddf4.