fix sha1 fingerprint for io.adafruit.com (#143)
* fix sha1 fingerprint for io.adafruit.com * bump library version * add terminating character
This commit is contained in:
parent
07c9ae7153
commit
12479b2592
@ -22,15 +22,18 @@
|
|||||||
|
|
||||||
/************************* WiFi Access Point *********************************/
|
/************************* WiFi Access Point *********************************/
|
||||||
|
|
||||||
#define WLAN_SSID "...your SSID..."
|
#define WLAN_SSID "WLAN_SSID"
|
||||||
#define WLAN_PASS "...your password..."
|
#define WLAN_PASS "WIFI_PASSWORD"
|
||||||
|
|
||||||
/************************* Adafruit.io Setup *********************************/
|
/************************* Adafruit.io Setup *********************************/
|
||||||
|
|
||||||
#define AIO_SERVER "io.adafruit.com"
|
#define AIO_SERVER "io.adafruit.com"
|
||||||
#define AIO_SERVERPORT 8883 // 8883 for MQTTS
|
// Using port 8883 for MQTTS
|
||||||
#define AIO_USERNAME "...your AIO username (see https://accounts.adafruit.com)..."
|
#define AIO_SERVERPORT 8883
|
||||||
#define AIO_KEY "...your AIO key..."
|
// Adafruit IO Account Configuration
|
||||||
|
// (to obtain these values, visit https://io.adafruit.com and click on Active Key)
|
||||||
|
#define AIO_USERNAME "YOUR_ADAFRUIT_IO_USERNAME"
|
||||||
|
#define AIO_KEY "YOUR_ADAFRUIT_IO_KEY"
|
||||||
|
|
||||||
/************ Global State (you don't need to change this!) ******************/
|
/************ Global State (you don't need to change this!) ******************/
|
||||||
|
|
||||||
@ -41,7 +44,7 @@ WiFiClientSecure client;
|
|||||||
Adafruit_MQTT_Client mqtt(&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);
|
Adafruit_MQTT_Client mqtt(&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);
|
||||||
|
|
||||||
// io.adafruit.com SHA1 fingerprint
|
// io.adafruit.com SHA1 fingerprint
|
||||||
const char* fingerprint = "AD 4B 64 B3 67 40 B5 FC 0E 51 9B BD 25 E9 7F 88 B6 2A A3 5B";
|
const char *fingerprint = "77 00 54 2D DA E7 D8 03 27 31 23 99 EB 27 DB CB A5 4C 57 18";
|
||||||
|
|
||||||
/****************************** Feeds ***************************************/
|
/****************************** Feeds ***************************************/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=Adafruit MQTT Library
|
name=Adafruit MQTT Library
|
||||||
version=0.20.3
|
version=0.20.4
|
||||||
author=Adafruit
|
author=Adafruit
|
||||||
maintainer=Adafruit <info@adafruit.com>
|
maintainer=Adafruit <info@adafruit.com>
|
||||||
sentence=MQTT library that supports the FONA, ESP8266, Yun, and generic Arduino Client hardware.
|
sentence=MQTT library that supports the FONA, ESP8266, Yun, and generic Arduino Client hardware.
|
||||||
|
Loading…
Reference in New Issue
Block a user