Skip to content

Commit 9ba2fcd

Browse files
committed
More license headers
1 parent b22a803 commit 9ba2fcd

12 files changed

Lines changed: 122 additions & 550 deletions

File tree

libraries/ESP8266WiFi/src/ESP8266WiFi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
ESP8266WiFi.h - WiFi library for esp8266
2+
ESP8266WiFi.cpp - WiFi library for esp8266
33
44
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
55
This file is part of the esp8266 core for Arduino environment.

libraries/ESP8266WiFi/src/ESP8266WiFi.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ class ESP8266WiFiClass
187187
*/
188188
int hostByName(const char* aHostname, IPAddress& aResult);
189189

190-
190+
/*
191+
* Output WiFi settings to an object derived from Print interface (like Serial).
192+
*
193+
*/
191194
void printDiag(Print& dest);
192195

193196
friend class WiFiClient;

libraries/ESP8266WiFi/src/WiFiClient.cpp

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
/*
2-
WiFiClient.cpp - Library for Arduino Wifi shield.
3-
Copyright (c) 2011-2014 Arduino. All right reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1+
/*
2+
WiFiClient.cpp - TCP/IP client for esp8266, mostly compatible
3+
with Arduino WiFi shield library
4+
5+
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
6+
This file is part of the esp8266 core for Arduino environment.
7+
8+
This library is free software; you can redistribute it and/or
9+
modify it under the terms of the GNU Lesser General Public
10+
License as published by the Free Software Foundation; either
11+
version 2.1 of the License, or (at your option) any later version.
12+
13+
This library is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16+
Lesser General Public License for more details.
17+
18+
You should have received a copy of the GNU Lesser General Public
19+
License along with this library; if not, write to the Free Software
20+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1821
*/
1922

2023
#define LWIP_INTERNAL

libraries/ESP8266WiFi/src/WiFiClient.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
WiFiClient.cpp - Library for Arduino Wifi shield.
2+
WiFiClient.h - Library for Arduino Wifi shield.
33
Copyright (c) 2011-2014 Arduino. All right reserved.
44
55
This library is free software; you can redistribute it and/or
@@ -15,6 +15,8 @@
1515
You should have received a copy of the GNU Lesser General Public
1616
License along with this library; if not, write to the Free Software
1717
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18+
19+
Modified by Ivan Grokhotkov, December 2014 - esp8266 support
1820
*/
1921

2022
#ifndef wificlient_h

libraries/ESP8266WiFi/src/WiFiServer.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
/*
2-
WiFiServer.cpp - Library for Arduino Wifi shield.
3-
Copyright (c) 2011-2014 Arduino. All right reserved.
1+
/*
2+
WiFiServer.cpp - TCP/IP server for esp8266, mostly compatible
3+
with Arduino WiFi shield library
44
5+
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
6+
This file is part of the esp8266 core for Arduino environment.
7+
58
This library is free software; you can redistribute it and/or
69
modify it under the terms of the GNU Lesser General Public
710
License as published by the Free Software Foundation; either
@@ -17,6 +20,7 @@
1720
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1821
*/
1922

23+
2024
#define LWIP_INTERNAL
2125

2226
extern "C" {

libraries/ESP8266WiFi/src/WiFiServer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
You should have received a copy of the GNU Lesser General Public
1616
License along with this library; if not, write to the Free Software
1717
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18+
19+
Modified by Ivan Grokhotkov, December 2014 - esp8266 support
1820
*/
1921

2022
#ifndef wifiserver_h

libraries/Ticker/Ticker.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
Ticker.cpp - esp8266 library that calls functions periodically
3+
4+
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
5+
This file is part of the esp8266 core for Arduino environment.
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20+
*/
21+
122
#include <stddef.h>
223
#include <stdint.h>
324

libraries/Ticker/Ticker.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
Ticker.h - esp8266 library that calls functions periodically
3+
4+
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
5+
This file is part of the esp8266 core for Arduino environment.
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20+
*/
21+
122
#ifndef TICKER_H
223
#define TICKER_H
324

libraries/Wire/Wire.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1818
1919
Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts
20+
Modified December 2014 by Ivan Grokhotkov - esp8266 support
2021
*/
2122

2223
extern "C" {

libraries/Wire/utility/i2c.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
i2c.cpp - esp8266 i2c bit-banging library
3+
4+
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
5+
This file is part of the esp8266 core for Arduino environment.
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20+
*/
21+
122
#include <Arduino.h>
223
#include "i2c.h"
324

0 commit comments

Comments
 (0)