support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
This commit is contained in:
23
components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/infra/infra_defs.c
vendored
Normal file
23
components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/infra/infra_defs.c
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
#include "infra_config.h"
|
||||
#include "infra_types.h"
|
||||
#include "infra_defs.h"
|
||||
|
||||
const char * g_infra_mqtt_domain[IOTX_MQTT_DOMAIN_NUMBER] = {
|
||||
"iot-as-mqtt.cn-shanghai.aliyuncs.com", /* Shanghai */
|
||||
"iot-as-mqtt.ap-southeast-1.aliyuncs.com", /* Singapore */
|
||||
"iot-as-mqtt.ap-northeast-1.aliyuncs.com", /* Japan */
|
||||
"iot-as-mqtt.us-west-1.aliyuncs.com", /* America */
|
||||
"iot-as-mqtt.eu-central-1.aliyuncs.com", /* Germany */
|
||||
NULL, /* Custom */
|
||||
};
|
||||
|
||||
const char *g_infra_http_domain[IOTX_HTTP_DOMAIN_NUMBER] = {
|
||||
"iot-auth.cn-shanghai.aliyuncs.com", /* Shanghai */
|
||||
"iot-auth.ap-southeast-1.aliyuncs.com", /* Singapore */
|
||||
"iot-auth.ap-northeast-1.aliyuncs.com", /* Japan */
|
||||
"iot-auth.us-west-1.aliyuncs.com", /* America */
|
||||
"iot-auth.eu-central-1.aliyuncs.com", /* Germany */
|
||||
NULL, /* Custom */
|
||||
};
|
||||
|
Reference in New Issue
Block a user