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

Commit

Permalink
v1.3.1 to fix NativeEthernet examples
Browse files Browse the repository at this point in the history
### Release v1.3.1

1. Remove unnecessary SPI-bus code in NativeEthernet examples
  • Loading branch information
khoih-prog committed Aug 31, 2021
1 parent 9d005fe commit 49b73bb
Show file tree
Hide file tree
Showing 16 changed files with 54 additions and 47 deletions.
56 changes: 25 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* [Currently supported WiFi shields/modules](#currently-supported-wifi-shieldsmodules)
* [Currently supported Ethernet shields/modules](#currently-supported-ethernet-shieldsmodules)
* [Changelog](#changelog)
* [Release v1.3.1](#release-v131)
* [Release v1.3.0](#release-v130)
* [Release v1.2.0](#release-v120)
* [Major Release v1.1.0](#major-release-v110)
Expand Down Expand Up @@ -251,6 +252,10 @@ This [**MySQL_MariaDB_Generic** library](https://github.com/khoih-prog/MySQL_Mar

## Changelog

### Release v1.3.1

1. Remove unnecessary SPI-bus code in NativeEthernet examples

### Release v1.3.0

1. Add support to **Teensy 4.1 using NativeEthernet**
Expand Down Expand Up @@ -1767,7 +1772,7 @@ This is terminal debug output when running [Query_Progmem](examples/Ethernet/Que

```
Starting Query_Progmem on NRF52840_FEATHER using W5x00/Ethernet3 Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Ethernet3 W5500 init, using SPI_CS = 10, number of sockets = 4
Using mac index = 10
Connected! IP address: 192.168.2.145
Expand Down Expand Up @@ -1806,7 +1811,7 @@ This is terminal debug output when running [Complex_Select](examples/Ethernet/Co

```
Starting Complex_Select on NUCLEO_F767ZI using LAN8742A/STM32Ethernet Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Using mac index = 0
Connected! IP address: 192.168.2.165
Connecting to SQL Server @ 192.168.2.112, Port = 5698
Expand Down Expand Up @@ -1873,7 +1878,7 @@ This is terminal debug output when running [Query_Results_WiFi](examples/WiFi/Qu

```
Starting Query_Results_WiFi on ITSYBITSY_M4
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Using WiFiEspAT Library
WiFi shield init done
Connecting to HueNet1
Expand Down Expand Up @@ -1912,7 +1917,7 @@ This is terminal debug output when running [Basic_Select_WiFi](examples/WiFi/Bas

```
Starting Basic_Select_WiFi on SEEED_XIAO_M0
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Using WiFiEspAT Library
WiFi shield init done
Connecting to HueNet1
Expand Down Expand Up @@ -1948,7 +1953,7 @@ This is terminal debug output when running [Query_Results_WiFiNINA](examples/WiF

```
Starting Query_Results_WiFiNINA on SAMD_NANO_33_IOT
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Attempting to connect to SSID: HueNet1
SSID: HueNet1
IP Address: 192.168.2.118
Expand Down Expand Up @@ -1994,7 +1999,7 @@ This is terminal debug output when running [Connect_By_Hostname](examples/Ethern

```
Starting Connect_By_Hostname on SAM DUE using W5x00/EthernetLarge Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
_pinCS = 0
W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10
W5100::init: W5100, SSIZE =4096
Expand All @@ -2020,7 +2025,7 @@ This is terminal debug output when running [Complex_Select](examples/Ethernet/Co

```
Starting Complex_Select on NRF52840_FEATHER using ENC28J60/UIPEthernet Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
ENC28J60_CONTROL_CS =10
SS =5
SPI_MOSI =25
Expand Down Expand Up @@ -2119,7 +2124,7 @@ This is terminal debug output when running [Complex_Select](examples/Ethernet/Co

```
Starting Complex_Select on NRF52840_FEATHER, with ENC28J60 using EthernetENC Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
[SQL] =========================================
[SQL] Default SPI pinout:
[SQL] MOSI: 25
Expand Down Expand Up @@ -2176,7 +2181,7 @@ This is terminal debug output when running [Query_Progmem](examples/Ethernet/Que

```
Starting Query_Progmem on NRF52840_FEATHER, with ENC28J60 using EthernetENC Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
[SQL] =========================================
[SQL] Default SPI pinout:
[SQL] MOSI: 25
Expand Down Expand Up @@ -2229,7 +2234,7 @@ This is terminal debug output when running [Basic_Insert_ESP](examples/WiFi/Basi

```
Starting Basic_Insert_ESP on ESP8266_NODEMCU_ESP12E
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Connecting to HueNet1
...........Connected to network. My IP address is: 192.168.2.135
Connecting to SQL Server @ 192.168.2.112 , Port = 5698
Expand Down Expand Up @@ -2258,7 +2263,7 @@ This is terminal debug output when running [Basic_Insert_ESP](examples/WiFi/Basi

```
Starting Basic_Insert_ESP on ESP32S2_DEV
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Connecting to HueNet1
.......Connected to network. My IP address is: 192.168.2.190
Connecting to SQL Server @ 192.168.2.112 , Port = 5698
Expand Down Expand Up @@ -2287,7 +2292,7 @@ This is terminal debug output when running [Basic_Select_WiFiNINA](examples/WiFi

```
Starting Basic_Select_WiFiNINA on MBED NANO_RP2040_CONNECT
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
Attempting to connect to SSID: HueNet1
SSID: HueNet1
IP Address: 192.168.2.153
Expand Down Expand Up @@ -2323,7 +2328,7 @@ This is terminal debug output when running [Complex_Select](examples/Ethernet/Co

```
Starting Complex_Select on MBED RASPBERRY_PI_PICO , with W5x00 using EthernetLarge Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
[SQL] =========================================
[SQL] Default SPI pinout:
[SQL] MOSI: 3
Expand Down Expand Up @@ -2411,7 +2416,7 @@ This is terminal debug output when running [Complex_Select](examples/Ethernet/Co

```
Starting Complex_Select on RASPBERRY_PI_PICO , with W5x00 using EthernetLarge Library
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
[SQL] =========================================
[SQL] Default SPI pinout:
[SQL] MOSI: 19
Expand Down Expand Up @@ -2472,7 +2477,7 @@ This is terminal debug output when running [Complex_Select_WT32_ETH01](examples/
```
Starting Complex_Select_WT32_ETH01 on WT32-ETH01
WebServer_WT32_ETH01 v1.2.0
MySQL_MariaDB_Generic v1.3.0
MySQL_MariaDB_Generic v1.3.1
ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232
FULL_DUPLEX, 100Mbps
Connected to network. My IP address is: 192.168.2.232
Expand Down Expand Up @@ -2531,22 +2536,7 @@ This is terminal debug output when running [Complex_Select](examples/NativeEther

```
Starting Complex_Select on Teensy 4.1 , with NativeEthernet
MySQL_MariaDB_Generic v1.3.0
[SQL] =========================================
[SQL] Default SPI pinout:
[SQL] MOSI: 11
[SQL] MISO: 12
[SQL] SCK: 13
[SQL] SS: 10
[SQL] =========================================
[SQL] Board : Teensy 4.1 , setCsPin: 10
[SQL] =========================================
[SQL] Currently Used SPI pinout:
[SQL] MOSI: 11
[SQL] MISO: 12
[SQL] SCK: 13
[SQL] SS: 10
[SQL] =========================================
MySQL_MariaDB_Generic v1.3.1
Using mac index = 2
Connected! IP address: 192.168.2.86
Connecting to SQL Server @ 192.168.2.112 , Port = 5698
Expand Down Expand Up @@ -2635,6 +2625,10 @@ Sometimes, the library will only work if you update the board core to the latest

## Releases

### Release v1.3.1

1. Remove unnecessary SPI-bus code in NativeEthernet examples

### Release v1.3.0

1. Add support to **Teensy 4.1 using NativeEthernet**
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MySQL_MariaDB_Generic",
"version": "1.3.0",
"version": "1.3.1",
"keywords": "Communication, Database, Storage, MySQL, MariaDB, wt32-eth01, Teensy, SAMD, SAM DUE, nRF52, W5x00, ENC28J60, Ethernet, wifi, wifinina, lan8720, rp2040, nano-33-iot, nano-rp2040-connect, native-ethernet, rpi-pico, Arduino, AVR",
"description": "Connects to MySQL or MariaDB using ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, etc. with W5x00, ENC28J60 Ethernet, Teensy 4.1 NativeEthernet or WiFiNINA modules/shields. W5x00 can use Ethernet, EthernetLarge, Ethernet2 or Ethernet3 library. ENC28J60 can use either EthernetENC or UIPEthernet Library",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=MySQL_MariaDB_Generic
version=1.3.0
version=1.3.1
author=Dr. Charles Bell <chuck.bell@oracle.com>, Khoi Hoang <khoih.prog@gmail.com>
maintainer=Khoi Hoang <khoih.prog@gmail.com>
sentence=Connects to MySQL or MariaDB using ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, etc. with W5x00 or ENC28J60 Ethernet or WiFiNINA modules/shields. W5x00 can use Ethernet, EthernetLarge, Ethernet2 or Ethernet3 library. ENC28J60 can use either EthernetENC or UIPEthernet Library
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_H
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Connection_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Encrypt_Sha1.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_ENCRYPT_SHA1_H
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Encrypt_Sha1_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_ENCRYPT_SHA1_IMPL_H
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -23,6 +23,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_ETHERNET_H
Expand Down
5 changes: 3 additions & 2 deletions src/MySQL_Generic_Packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand All @@ -48,7 +49,7 @@
#include <Arduino.h>
#include <Client.h>

#define MYSQL_GENERIC_VERSION "1.3.0"
#define MYSQL_GENERIC_VERSION "1.3.1"

#ifndef MYSQL_MARIADB_GENERIC_VERSION
#define MYSQL_MARIADB_GENERIC_VERSION ("MySQL_MariaDB_Generic v" MYSQL_GENERIC_VERSION)
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Packet_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Query.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Query_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.3.0
Version: 1.3.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@
1.1.0 K Hoang 08/06/2021 Add support to RP2040-based boards such as Nano_RP2040_Connect, RASPBERRY_PI_PICO. etc.
1.2.0 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
1.3.0 K Hoang 30/08/2021 Add support to Teensy 4.1 using NativeEthernet
1.3.1 K Hoang 31/08/2021 Remove unnecessary SPI-bus code in NativeEthernet examples
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
Loading

0 comments on commit 49b73bb

Please sign in to comment.