8 years ago.

How to use MQTTSocket

Hi,

I have reviewed the Cellular Hello MQTT library https://developer.mbed.org/teams/ublox/code/Cellular_HelloMQTT/ but am having trouble understanding how the modem driver hooks into MQTTSocket in order to write my own modem driver.

All I see is MQTTSocket ipstack = MQTTSocket(); Is this somehow linked to TCPSocketConnection calling on the modem driver socket.... functions inside https://developer.mbed.org/teams/ublox/code/C027_Support/file/dafbbf31bf76/MDM.h

So if I want to use the same code, I would supply my modem class that also implements these functions? Where is this documented.

Thanks for any help, Evan

Be the first to answer this question.