Changed MQTT and PHY API