1 - Short description
Implement and verify MQTT publisher and subscriber functionality on the MXChip IoT DevKit. This issue focuses on utilizing the device's integrated Wi-Fi and existing SDKs to interact with the Mosquitto broker, establishing a baseline for device-to-cloud telemetry.
2 - Tasks
3 - Acceptance Criteria
4 - Notes / Implementation details
- Use the
PubSubClient library for MQTT support.
- Ensure the code includes logic to handle reconnects if the Wi-Fi or MQTT connection drops.
- Code Reference: Provide snippets for
mqtt_connect(), publish_data(), and callback() (for subscription).
1 - Short description
Implement and verify MQTT publisher and subscriber functionality on the MXChip IoT DevKit. This issue focuses on utilizing the device's integrated Wi-Fi and existing SDKs to interact with the Mosquitto broker, establishing a baseline for device-to-cloud telemetry.
2 - Tasks
3 - Acceptance Criteria
4 - Notes / Implementation details
PubSubClientlibrary for MQTT support.mqtt_connect(),publish_data(), andcallback()(for subscription).