A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.
ret = mqtt_subscribe(g_mqttClient, g_mqttTopicSub, QOS2, auto_test_mqtt_msg_handle); 目前g_mqttClient客户端可以正常订阅一个主题,想要再额外订阅一个主题,应该怎么调整相关代码,有参考思路或者demo code吗?