I’d received the following files from our FAE example_mqtt.c, ril_system.c, ril_urc.c using which we can add MQTT support to M66_OpenCPU_GS3_SDK_V2.4_Eclipse. I want to use it to connect to Google IoT Cloud.
I have 2 questions:
- Whether quectel mqtt uses SSL.
- How do I provide the private_key.pem in order to make secure connection.
According to what you mean, you should link to an MQTT security server. Our module supports both MQTT and SSL，You can refer to the related function documentation and package it into a ril library.
Thanks for your response. In the file example_mqtt.c, we have following functions to make mqtt connection.
My question is whether the above functions handle ssl automatically or we have to do it ourselves.