ESP32
Link github: https://github.com/innoway-vht/SDK_INNOWAY_ESP
wifi_config_t wifi_config = {
.sta = {
.ssid = EXAMPLE_ESP_WIFI_SSID,
.password = EXAMPLE_ESP_WIFI_PASS,
.threshold.authmode = WIFI_AUTH_WPA2_PSK,
},
};esp_mqtt_client_handle_t mqtt_innoway_start(char *client_id, char *passowrd, mqtt_innoway_callback user_callback)esp_mqtt_client_handle_t Innoway_Mqtt_client;
Innoway_Mqtt_client = mqtt_innoway_start(deviceID, deviceToken, Innoway_MQTT_event_callback);Last updated