The MQTT Cloud module demonstrates how to replace the template's default nRF Cloud CoAP Cloud module with an MQTT-based implementation. It is not a fully featured solution and has the following limitations:
- Sensor and location support: The MQTT module does not encode or send sensor or location data to the broker. You can send test payloads using the
att_cloud_publish_mqttshell command. - FOTA support: The MQTT module does not support firmware over-the-air (FOTA) updates, because these rely on nRF Cloud CoAP functionality, which is a dependency of the FOTA module.
- Stub channel for FOTA: To prevent build errors, the MQTT module includes a placeholder channel declaration for FOTA. If your application needs FOTA, implement a custom module tailored to your chosen cloud and FOTA service.
For production use, Nordic Semiconductor recommends the default nRF Cloud CoAP Cloud module, which provides comprehensive support for FOTA and other advanced features.