Skip to content

Commit

Permalink
Updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
coogle committed Jul 24, 2017
1 parent ace60c9 commit c36ca62
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=CoogleIOT
version=0.2
version=1.0.0
author=John Coggeshall <john@coggeshall.org>
maintainer=John Coggeshall <john@coggeshall.org>
sentence=An IOT library for ESP8266-12 to provide WiFi Configuration, MQTT Client, OTA updates and more.
Expand Down
43 changes: 42 additions & 1 deletion src/CoogleIOTConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,74 @@

//#define COOGLEIOT_DEBUG

#define COOGLEIOT_VERSION "0.2b"
#define COOGLEIOT_VERSION "1.0.0"

#ifndef COOGLEIOT_STATUS_INIT
#define COOGLEIOT_STATUS_INIT 500
#endif

#ifndef COOGLEIOT_STATUS_WIFI_INIT
#define COOGLEIOT_STATUS_WIFI_INIT 250
#endif

#ifndef COOGLEIOT_STATUS_MQTT_INIT
#define COOGLEIOT_STATUS_MQTT_INIT 100
#endif

#define COOGLEIOT_MAGIC_BYTES "ciot"

#ifndef COOGLEIOT_AP
#define COOGLEIOT_AP "COOGLEIOT_"
#endif

#ifndef COOGLEIOT_AP_DEFAULT_PASSWORD
#define COOGLEIOT_AP_DEFAULT_PASSWORD "coogleiot"
#endif

#ifndef COOGLEIOT_DEFAULT_MQTT_CLIENT_ID
#define COOGLEIOT_DEFAULT_MQTT_CLIENT_ID "coogleIoT"
#endif

#ifndef COOGLEIOT_DEFAULT_MQTT_PORT
#define COOGLEIOT_DEFAULT_MQTT_PORT 1883
#endif

#ifndef COOGLEIOT_TIMEZONE_OFFSET
#define COOGLEIOT_TIMEZONE_OFFSET ((3600 * 5) * -1) // Default Timezone is -5 UTC (America/New York)
#endif

#ifndef COOGLEIOT_DAYLIGHT_OFFSET
#define COOGLEIOT_DAYLIGHT_OFFSET 0 // seconds
#endif

#ifndef COOGLEIOT_NTP_SERVER_1
#define COOGLEIOT_NTP_SERVER_1 "pool.ntp.org"
#endif

#ifndef COOGLEIOT_NTP_SERVER_2
#define COOGLEIOT_NTP_SERVER_2 "time.nist.gov"
#endif

#ifndef COOGLEIOT_NTP_SERVER_3
#define COOGLEIOT_NTP_SERVER_3 "time.google.com"
#endif


#ifndef COOGLEIOT_FIRMWARE_UPDATE_CHECK_MS
#define COOGLEIOT_FIRMWARE_UPDATE_CHECK_MS 54000000 // 15 Minutes in Milliseconds
#endif

#ifndef COOGLEIOT_DNS_PORT
#define COOGLEIOT_DNS_PORT 53
#endif

#ifndef COOGLEIOT_EEPROM_EEPROM_SIZE
#define COOGLE_EEPROM_EEPROM_SIZE 1024
#endif

#ifndef COOGLEIOT_WEBSERVER_PORT
#define COOGLEIOT_WEBSERVER_PORT 80
#endif

#ifdef COOGLEIOT_DEBUG
#define COOGLEEEPROM_DEBUG
Expand Down

0 comments on commit c36ca62

Please sign in to comment.