AWS IoT SDK - main L#206 Error subscribing : -28 (C code)
问题 I am trying to run the example in this tutorial from AWS IoT (AWS IoT Embedded C SDK). My aws_iot_config.h file has the following configuration: #define AWS_IOT_MQTT_HOST "XXXXXXX.iot.us-east-2.amazonaws.com" ///< Customer specific MQTT HOST. The same will be used for Thing Shadow #define AWS_IOT_MQTT_PORT 8883 ///< default port for MQTT/S #define AWS_IOT_MQTT_CLIENT_ID "c-sdk-client-id" ///< MQTT client ID should be unique for every device #define AWS_IOT_MY_THING_NAME "SM1" ///< Thing Name