-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaws_iot_config.h
35 lines (32 loc) · 1.74 KB
/
aws_iot_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#ifndef config_usr_h
#define config_usr_h
// Copy and paste your configuration into this file
//===============================================================
#define AWS_IOT_MQTT_HOST "a1b71mlxknck3o.iot.us-east-1.amazonaws.com" // your endpoint
#define AWS_IOT_MQTT_PORT 443 // your port
#define AWS_IOT_CLIENT_ID "ArduinoYun" // your client ID
#define AWS_IOT_MY_THING_NAME "amzn1-ask-skill-0284eae8-a8b4-4a68-9965-2ee5ae52f910" // your thing name
#define AWS_IOT_ROOT_CA_FILENAME "root-certificate.pem" // your root-CA filename
#define AWS_IOT_CERTIFICATE_FILENAME "" // your certificate filename
#define AWS_IOT_PRIVATE_KEY_FILENAME "" // your private key filename
//===============================================================
// SDK config, DO NOT modify it
#define AWS_IOT_PATH_PREFIX "../certs/"
#define AWS_IOT_ROOT_CA_PATH AWS_IOT_PATH_PREFIX AWS_IOT_ROOT_CA_FILENAME // use this in config call
#define AWS_IOT_CERTIFICATE_PATH AWS_IOT_PATH_PREFIX AWS_IOT_CERTIFICATE_FILENAME // use this in config call
#define AWS_IOT_PRIVATE_KEY_PATH AWS_IOT_PATH_PREFIX AWS_IOT_PRIVATE_KEY_FILENAME // use this in config call
#endif