Communicating with mqtt broker through wireless modem

Asked by Venkates Velayutham

Hi,
We are using wireless modem to communicate with MQTT broker running on the internet. Since there is no WiFi stack in mbed controller, we need to use modem AT commands to connect to MQTT broker and also use modem AT commands to send data to MQTT broker. We were able to connect to MQTT broker using modem AT commands, but we are experiencing difficulty in sending data to MQTT broker using AT commands. We would like to see if it is feasible to send data to MQTT broker using modem AT commands? Any help on this is appreciated.

Regards,

Venkatesh

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Roger Light
Solved:
Last query:
Last reply:
Revision history for this message
Best Roger Light (roger.light) said :
#1

Absolutely it's possible. In essence, this is no different to talking to a broker via, for example, twitter. What you could do is write an MQTT client that also talks AT commands. The mbed controller would talk to this client via AT and transfer the messages to and from the broker.

Revision history for this message
Venkates Velayutham (venky) said :
#2

Thanks Roger Light, that solved my question.