![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
V.06 11/3
Dependencies: FT6206 SDFileSystem SPI_TFT_ILI9341 TFT_fonts
Fork of ATT_AWS_IoT_demo by
Diff: AWS_openssl/aws_iot_config.h
- Revision:
- 28:54d9a550adf1
- Parent:
- 24:224c07ec3bd0
- Child:
- 29:f71a0be59b99
diff -r 2f486c766854 -r 54d9a550adf1 AWS_openssl/aws_iot_config.h --- a/AWS_openssl/aws_iot_config.h Tue Feb 07 16:18:57 2017 +0000 +++ b/AWS_openssl/aws_iot_config.h Mon Oct 09 21:13:49 2017 +0000 @@ -28,16 +28,16 @@ // b) Pull certs and MQTT information from SD card. // // Pull information from SD card -#define USING_SD_CARD +//#define USING_SD_CARD //===================================================================================================================== // ================================================= // USER ENTERED VALUES (only used when not using SD card) -#define AWS_IOT_MQTT_HOST "TODO" ///< Customer specific MQTT HOST. The same will be used for Thing Shadow +#define AWS_IOT_MQTT_HOST "a1y8cz14q0xuey.iot.us-west-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 "TODO" ///< MQTT client ID should be unique for every device -#define AWS_IOT_MY_THING_NAME "TODO" ///< Thing Name of the Shadow this device is associated with -#define AWS_IOT_MY_TOPIC "TODO/%s" ///< Topic name to publish to (used with alternate demo) +#define AWS_IOT_MQTT_CLIENT_ID "ATT_IoT_Kit" ///< MQTT client ID should be unique for every device +#define AWS_IOT_MY_THING_NAME "ATT_IoT_Kit" ///< Thing Name of the Shadow this device is associated with +#define AWS_IOT_MY_TOPIC "ExampleTopic/%s" ///< Topic name to publish to (used with alternate demo) //#ifdef USING_SD_CARD // These files are only valid when SD card is being used // Example format for mqtt_config.txt: @@ -76,9 +76,17 @@ #define AWS_IOT_MQTT_MAX_RECONNECT_WAIT_INTERVAL 8000 ///< Maximum time interval after which exponential back-off will stop attempting to reconnect. // Links to our certs from certs.cpp -extern const unsigned char AWS_IOT_ROOT_CA[]; -extern const unsigned char AWS_IOT_CERTIFICATE[]; -extern const unsigned char AWS_IOT_PRIVATE_KEY[]; +//extern const unsigned char AWS_IOT_ROOT_CA[]; +//extern const unsigned char AWS_IOT_CERTIFICATE[]; +//extern const unsigned char AWS_IOT_PRIVATE_KEY[]; + +extern unsigned char AWS_IOT_ROOT_CA[]; +extern unsigned char AWS_IOT_CERTIFICATE[]; +extern unsigned char AWS_IOT_PRIVATE_KEY[]; + +extern int AWS_IOT_ROOT_CA_LENGTH; +extern int AWS_IOT_CERTIFICATE_LENGTH; +extern int AWS_IOT_PRIVATE_KEY_LENGTH; #endif /* SRC_SHADOW_IOT_SHADOW_CONFIG_H_ */