Search found 1 match

by ElonStark
Thu Oct 29, 2020 6:53 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32MQTT连接如何配置为TLS1.2安全协议?
Replies: 0
Views: 1895

ESP32MQTT连接如何配置为TLS1.2安全协议?

esp_mqtt_client_config_t mqtt_test_cfg = { .host = CONFIG_ETH_MQTT_TEST_HOST, .port = CONFIG_ETH_MQTT_TEST_PORT, .client_id = CHNT_CODE.ctrl_code, .username = CHNT_CODE.ctrl_code, .password = CHNT_CODE.brk_code, .cert_pem = (const char *)mqtt_esp32_pem, .keepalive = 120, .lwt_qos = 0, .lwt_retain = ...