Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 4d54139

Browse files
authoredJan 18, 2023
v1.4.0 for WizNet WizFi360
### Release v1.4.0 1. Add support to WizNet `WizFi360`, such as `WIZNET_WIZFI360_EVB_PICO` using `arduino-pico` core
1 parent 6639a51 commit 4d54139

23 files changed

+1969
-1739
lines changed
 

‎CONTRIBUTING.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,32 @@ However, before reporting a bug please check through the following:
1010

1111
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/ESP_AT_WiFiManager/issues/new).
1212

13+
---
14+
1315
### How to submit a bug report
1416

1517
Please ensure to specify the following:
1618

1719
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP32 core v2.0.5, ESP8266 core v3.0.2, ArduinoCore-mbed v3.4.1, etc.)
20+
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP32 core v2.0.6, ESP8266 core v3.1.1, ArduinoCore-mbed v3.5.4, etc.)
1921
* Contextual information (e.g. what you were trying to achieve)
2022
* Simplest possible steps to reproduce
2123
* Anything that might be relevant in your opinion, such as:
2224
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
2325
* Network configuration
2426

27+
Please be educated, civilized and constructive as you've always been. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
28+
29+
---
2530

2631
### Example
2732

2833
```
2934
Arduino IDE version: 1.8.19
3035
RASPBERRY_PI_PICO board
31-
ArduinoCore-mbed v3.4.1
36+
ArduinoCore-mbed v3.5.4
3237
OS: Ubuntu 20.04 LTS
33-
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
38+
Linux xy-Inspiron-3593 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3439
3540
Context:
3641
I encountered a crash while trying to use the library

‎Images/WIZNET_WIZFI360_EVB_PICO.png

246 KB
Loading

‎Images/wizfi360-pa.png

781 KB
Loading

‎changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## Table of Contents
1616

1717
* [Changelog](#changelog)
18+
* [Release v1.4.0](#release-v140)
1819
* [Release v1.3.1](#release-v131)
1920
* [Major Release v1.3.0](#major-release-v130)
2021
* [Major Release v1.2.0](#major-release-v120)
@@ -28,6 +29,10 @@
2829

2930
## Changelog
3031

32+
### Release v1.4.0
33+
34+
1. Add support to WizNet `WizFi360`, such as `WIZNET_WIZFI360_EVB_PICO` using `arduino-pico` core
35+
3136
### Release v1.3.1
3237

3338
1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix

‎examples/AutoConnect/AutoConnect.ino

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/****************************************************************************************************************************
22
AutoConnect.ino
33
WiFi/Credentials Manager for SAM DUE, SAMD, nRF52, STM32F/L/H/G/WB/MP1, etc. boards running `ESP8266/ESP32-AT-command` shields
4-
4+
55
ESP_AT_WiFiManager is a library for the Teensy, SAM DUE, SAMD, nRF52, STM32F/L/H/G/WB/MP1, etc. boards running `ESP8266/ESP32-AT-command` shields
66
(https://github.com/esp8266/Arduino) to enable easy configuration and reconfiguration of WiFi, etc. credentials using a Captive Portal
7-
7+
88
Based on and modified from Tzapu https://github.com/tzapu/WiFiManager
99
and from Ken Taylor https://github.com/kentaylor
10-
10+
1111
Built by Khoi Hoang https://github.com/khoih-prog/ESP_AT_WiFiManager
1212
Licensed under MIT license
1313
*****************************************************************************************************************************/
@@ -59,6 +59,7 @@ void check_status()
5959
static ulong checkstatus_timeout = 0;
6060

6161
#define HEARTBEAT_INTERVAL 10000L
62+
6263
// Print hearbeat every HEARTBEAT_INTERVAL (10) seconds.
6364
if ((millis() > checkstatus_timeout) || (checkstatus_timeout == 0))
6465
{
@@ -76,6 +77,8 @@ void enterConfigPortal()
7677

7778
ESP_AT_wiFiManager.setMinimumSignalQuality(-1);
7879

80+
// 0 for random channel
81+
//ESP_AT_wiFiManager.setAPChannel(0);
7982
ESP_AT_wiFiManager.setAPChannel(1);
8083

8184
// Default AP IP is 192.168.4.1. Uncomment to use different AP IP
@@ -92,14 +95,14 @@ void enterConfigPortal()
9295
Router_Pass = ESP_AT_wiFiManager.WiFi_Pass();
9396

9497
if ( (Router_SSID != "") && ESP_AT_wiFiManager.isWiFiConfigValid() )
95-
{
98+
{
9699
if (ESP_AT_wiFiManager.connectWifi(Router_SSID, Router_Pass) == WL_CONNECTED)
97100
{
98101
Serial.println(F("Got stored Credentials. Try to connect first"));
99-
102+
100103
return;
101104
}
102-
105+
103106
ESP_AT_wiFiManager.setConfigPortalTimeout(60); //If no access point name has been previously entered disable timeout.
104107
Serial.println(F("Got stored Credentials but can't connect. Timeout 60s"));
105108
}
@@ -136,19 +139,22 @@ void setup()
136139
// put your setup code here, to run once:
137140
// initialize the LED digital pin as an output.
138141
pinMode(LOCAL_PIN_LED, OUTPUT);
139-
digitalWrite(LOCAL_PIN_LED, LED_ON); // turn the LED on by making the voltage LOW to tell us we are in configuration mode.
142+
143+
// turn the LED on by making the voltage LOW to tell us we are in configuration mode.
144+
digitalWrite(LOCAL_PIN_LED, LED_ON);
140145

141146
Serial.begin(115200);
142-
while (!Serial);
147+
148+
while (!Serial && millis() < 5000);
143149

144150
#if USE_ESP32_AT
145151
Serial.println("\nStart AutoConnect with ESP32-AT WiFi module on " + String(BOARD_NAME));
146152
#else
147153
Serial.println("\nStart AutoConnect with ESP8266-AT WiFi module on " + String(BOARD_NAME));
148154
#endif
149-
155+
150156
Serial.println(ESP_AT_WIFIMANAGER_VERSION);
151-
157+
152158
// initialize serial for ESP module
153159
EspSerial.begin(115200);
154160

@@ -159,6 +165,7 @@ void setup()
159165
if (WiFi.status() == WL_NO_SHIELD)
160166
{
161167
Serial.println(F("WiFi shield not present"));
168+
162169
// don't continue
163170
while (true);
164171
}

0 commit comments

Comments
 (0)
This repository has been archived.