Maybe you should check if your BG96 firmware version supports MQTT.