GSM board (A6 from AI Thinker) is connected to a ESP8266 (also from AI Thinker) and to a MQTT system. So I can read from modem and send commands to it using MQTT topics.