安信可 MQTT_WSS示例¶
MQTT_WSS Example¶
Configure WiFi Connected¶
Please configure the ssid and password that need to be connected to WiFi in advance,in main.c.
Configure mqttt server¶
Please configure the server url in demo.c.
axk_mqtt_client_config_t mqtt_cfg = {
.uri="wss://mqtt.eclipseprojects.io:443/mqtt",
.cert_pem=CA_CRT,
.event_handle = event_cb,
};
Troubleshooting¶
For any technical queries, please open an [issue](https://github.com/Ai-Thinker-Open/Ai-Thinker-WB2/issues) on GitHub. We will get back to you soon.