Skip to content

Commit 2cdffaf

Browse files
committed
Updated ESP8266AT example. Updated SSL Fingerprint with the latest certificate.
1 parent 21df5e4 commit 2cdffaf

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

examples/ESP8266AT/ESP8266AT.ino

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ ThingerESP8266AT thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
1616
void setup() {
1717
pinMode(ARDUINO_LED, OUTPUT);
1818

19+
// init ESP8266 in the connected serial port
20+
WiFi.init(&Serial);
21+
if(WiFi.status() == WL_NO_SHIELD){
22+
// don't continue
23+
while (true);
24+
}
25+
1926
thing.add_wifi(SSID, SSID_PASSWORD);
2027

2128
// digital pin control example (i.e. turning on/off a light, a relay, configuring a parameter, etc)

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=thinger.io
2-
version=2.5.3
2+
version=2.5.4
33
author=Alvaro Luis Bustamante <[email protected]>
44
maintainer=Thinger.io <[email protected]>
55
sentence=Arduino library for the Thinger.io Internet of Things Platform.

src/ThingerClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ memory_allocator& protoson::pool = alloc;
4545
#endif
4646

4747
#ifndef THINGER_TLS_FINGERPRINT
48-
#define THINGER_TLS_FINGERPRINT "50 1E ED 5D F3 E1 94 EC 2D 43 1E 22 4E 1D 5E 8B EB 66 8D EA"
48+
#define THINGER_TLS_FINGERPRINT "C3 90 0E 8B CB 2D 7A 32 1B 55 5C 00 FA 7B 39 5E 53 BC D2 8F"
4949
#endif
5050

5151
#ifndef THINGER_TLS_HOST

0 commit comments

Comments
 (0)