Skip to content

Commit b3ec783

Browse files
committed
add adafruit message to headers
1 parent 1718b70 commit b3ec783

19 files changed

+74
-8
lines changed

AdafruitIO.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO_Data.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
16
// Copyright (c) 2015-2016 Adafruit Industries
27
// Authors: Tony DiCola, Todd Treece
38
// Licensed under the MIT license.

AdafruitIO_Data.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO_Definitions.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO_ESP8266.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO_ESP8266.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO_FONA.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

AdafruitIO_FONA.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.
@@ -13,9 +17,8 @@
1317
#include "Arduino.h"
1418
#include <SoftwareSerial.h>
1519
#include "Adafruit_MQTT.h"
16-
#include "Adafruit_FONA.h"
1720
#include "AdafruitIO.h"
18-
#include "Adafruit_MQTT_FONA.h"
21+
#include "Adafruit_MQTT_Client.h"
1922

2023
#define FONA_RX 9
2124
#define FONA_TX 8
@@ -36,10 +39,6 @@ class AdafruitIO_FONA : public AdafruitIO {
3639
protected:
3740
void _connect();
3841

39-
const char *_apn;
40-
const char *_apn_user;
41-
const char *_apn_pass;
42-
4342
uint16_t _port = 1883;
4443

4544
SoftwareSerial *_serial;

AdafruitIO_Feed.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
2+
// Adafruit invests time and resources providing this open source code.
3+
// Please support Adafruit and open source hardware by purchasing
4+
// products from Adafruit!
5+
//
26
// Copyright (c) 2015-2016 Adafruit Industries
37
// Authors: Tony DiCola, Todd Treece
48
// Licensed under the MIT license.

0 commit comments

Comments
 (0)