Skip to content

Commit

Permalink
Update license and versions
Browse files Browse the repository at this point in the history
xoseperez committed Jun 11, 2018
1 parent 7297d77 commit fdf4804
Showing 17 changed files with 260 additions and 769 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,9 +3,16 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.0] 2018-05-22
## [2.0.0] 2018-06-11
### Added
- SmartConfig (a.k.a. ESP Touch) support
- WPS Support
- TravisCI build tests
- Codacy code test

### Changed
- Complete refactor
- Complete refactor (check examples to adapt your code)
- Changed license to LGPL-3.0

## [1.2.0] 2018-05-20
### Changed
828 changes: 159 additions & 669 deletions LICENSE

Large diffs are not rendered by default.

42 changes: 18 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -10,34 +10,14 @@ JustWifi is a WIFI Manager library for the [Arduino Core for ESP8266][2]. The go
[![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=xose%2eperez%40gmail%2ecom&lc=US&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest)
[![twitter](https://img.shields.io/twitter/follow/xoseperez.svg?style=social)](https://twitter.com/intent/follow?screen_name=xoseperez)

There are other WIFI managers available. So how does JustWifi compare to them:

* [WiFiManager][1] is a connection manager with fallback web configuration portal.
* [WiFiMulti][2] is the default multi-network manager that comes with Arduino Core for ESP8266

The table below summarizes the main differences between WiFiManager, WifiMulti and JustWifi:

||WiFiManager|JustWifi|WifiMulti|
|-|-|-|-|
| AP fallback | YES | YES | NO |
| AP+STA mode | NO | YES | NO |
| Configuration portal | YES | NO | NO |
| Configure networks from code | NO | YES | YES
| Custom parameters | YES | NO | NO |
| Persist confguration | YES | NO | NO |
| Allow multiple networks | NO | YES | YES |
| Check the signal strength | YES* | YES | YES |
| Support static IPs | YES | YES | NO |

* WifiManager filters networks by RSSI, but does not try to connect in order of signal strength


## Features

The main features of the JustWifi library are:

* Configure multiple possible networks
* Scan wifi networks so it can try to connect to only those available, in order of signal strength
* Smart Config support (when built with -DJUSTWIFI_ENABLE_SMARTCONFIG, tested with ESP8266 SmartConfig or IoT SmartConfig apps)
* WPS support (when built with -DJUSTWIFI_ENABLE_WPS)
* Fallback to AP mode
* Configurable timeout to try to reconnect after AP fallback
* AP+STA mode
@@ -48,5 +28,19 @@ The main features of the JustWifi library are:

See examples.

[1]:https://github.com/tzapu/WiFiManager
[2]:https://github.com/esp8266/Arduino
## License

Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>

The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
12 changes: 6 additions & 6 deletions examples/advanced/advanced.ino
Original file line number Diff line number Diff line change
@@ -7,18 +7,18 @@ a captive portal (when in AP mode only)
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/advanced/utils.ino
Original file line number Diff line number Diff line change
@@ -4,18 +4,18 @@ JustWifi - Basic debugging callback utils
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/ap/ap.ino
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@ This example creates an access point.
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/ap/utils.ino
Original file line number Diff line number Diff line change
@@ -4,18 +4,18 @@ JustWifi - Basic debugging callback utils
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/basic/basic.ino
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@ This example shows how to define different networks and enable network scanning
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/basic/utils.ino
Original file line number Diff line number Diff line change
@@ -4,18 +4,18 @@ JustWifi - Basic debugging callback utils
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/smartconfig/smartconfig.ino
Original file line number Diff line number Diff line change
@@ -12,18 +12,18 @@ Compatible apps:
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/smartconfig/utils.ino
Original file line number Diff line number Diff line change
@@ -4,18 +4,18 @@ JustWifi - Basic debugging callback utils
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/wps/utils.ino
Original file line number Diff line number Diff line change
@@ -4,18 +4,18 @@ JustWifi - Basic debugging callback utils
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions examples/wps/wps.ino
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@ This example shows how to use connect to a WiFi using WPS.
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <JustWifi.h>
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"url": "https://github.com/xoseperez/justwifi.git"
},
"version": "2.0.0",
"license": "GPL-3.0",
"license": "LGPL-3.0",
"exclude": "tests",
"frameworks": "arduino",
"platforms": "espressif8266",
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ version=2.0.0
author=Xose Pérez <xose.perez@gmail.com>
maintainer=Xose Pérez <xose.perez@gmail.com>
sentence=Wifi Manager for ESP8266
paragraph=Wifi Manager for ESP8266
paragraph=
category=Other
url=https://github.com/xoseperez/justwifi.git
architectures=*
12 changes: 6 additions & 6 deletions src/JustWifi.cpp
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@ Wifi Manager for ESP8266
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

12 changes: 6 additions & 6 deletions src/JustWifi.h
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@ Wifi Manager for ESP8266
Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
The JustWifi library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
The JustWifi library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Lesser General Public License
along with the JustWifi library. If not, see <http://www.gnu.org/licenses/>.
*/

0 comments on commit fdf4804

Please sign in to comment.