Skip to content

Commit

Permalink
Update FirebaseESP8266.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt authored Apr 23, 2019
1 parent 7a237dd commit 1955b9b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/FirebaseESP8266.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@
#define FirebaseESP8266_H

#include <Arduino.h>
#include <core_version.h>

//ARDUINO_ESP8266_GIT_VER
//2.5.0 0x951aeffa
//2.5.0-beta3 0x21db8fc9
//2.5.0-beta2 0x0fd86a07
//2.5.0-beta1 0x9c1e03a1
//2.4.2 0x4ceabea9
//2.4.2 0xbb28d4a3
//2.4.1 0x614f7c32
//2.4.0 0xbb28d4a3
//2.4.0 0x4ceabea9
//2.4.0-rc2 0x0c897c37
//2.4.0-rc1 0xf6d232f1

#ifndef ARDUINO_ESP8266_GIT_VER
#error Your ESP8266 Arduino Core SDK is outdated, please update. From Arduino IDE go to Boards Manager and search 'esp8266' then select version 2.4.0 or above.
#endif

#if ARDUINO_ESP8266_GIT_VER != 0xf6d232f1 && ARDUINO_ESP8266_GIT_VER != 0x0c897c37 && ARDUINO_ESP8266_GIT_VER != 0xbb28d4a3 && ARDUINO_ESP8266_GIT_VER != 0x614f7c32 && ARDUINO_ESP8266_GIT_VER != 0x4ceabea9
#if ARDUINO_ESP8266_GIT_VER != 0xf6d232f1 && ARDUINO_ESP8266_GIT_VER != 0x0c897c37 && ARDUINO_ESP8266_GIT_VER != 0x4ceabea9 && ARDUINO_ESP8266_GIT_VER != 0x614f7c32 && ARDUINO_ESP8266_GIT_VER != 0xbb28d4a3
#define USING_AXTLS
#endif



#include <ESP8266WiFi.h>
#include "FirebaseESP8266HTTPClient.h"
#include <SPI.h>
Expand All @@ -79,7 +79,8 @@
#define DEF_ESP8266_FIREBASE_STR_92 "\"blob,base64,"
#define DEF_ESP8266_FIREBASE_STR_93 "\"file,base64,"
#define DEF_ESP8266_FIREBASE_STR_4 "."

#define DEF_ESP8266_FIREBASE_STR_106 "false"
#define DEF_ESP8266_FIREBASE_STR_107 "true"

static const char ESP8266_FIREBASE_STR_1[] PROGMEM = "/";
static const char ESP8266_FIREBASE_STR_2[] PROGMEM = ".json?auth=";
Expand Down Expand Up @@ -1190,4 +1191,4 @@ class StreamData

extern FirebaseESP8266 Firebase;

#endif
#endif

0 comments on commit 1955b9b

Please sign in to comment.