Mqttsamples

Agree for all the constants except for scanner and writer which are not constants.