mqtt.c changes for EInk and switches.