forked from espressif/arduino-esp32
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'espressif:master' into main
- Loading branch information
Showing
54 changed files
with
466 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=ArduinoOTA | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Ivan Grokhotkov and Hristo Gochkov | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=Enables Over The Air upgrades, via wifi and espota.py UDP request/TCP download. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=BLE | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Neil Kolban <[email protected]> | ||
maintainer=Dariusz Krempa <[email protected]> | ||
sentence=BLE functions for ESP32 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=DNSServer | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Kristijan Novoselić | ||
maintainer=Kristijan Novoselić, <[email protected]> | ||
sentence=A simple DNS server for ESP32. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=EEPROM | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Ivan Grokhotkov | ||
maintainer=Paolo Becchi <[email protected]> | ||
sentence=Enables reading and writing data a sequential, addressable FLASH storage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=ESP32 | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Hristo Gochkov, Ivan Grokhtkov | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=ESP32 sketches examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=ESP_NOW | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=me-no-dev | ||
maintainer=P-R-O-C-H-Y | ||
sentence=Library for ESP_NOW | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=ESPmDNS | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Hristo Gochkov, Ivan Grokhtkov | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=ESP32 mDNS Library | ||
|
78 changes: 78 additions & 0 deletions
78
libraries/Ethernet/examples/ETH_WIFI_BRIDGE/ETH_WIFI_BRIDGE.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#include <WiFi.h> | ||
#include <ETH.h> | ||
#include <SPI.h> | ||
|
||
#define ETH_TYPE ETH_PHY_W5500 | ||
#define ETH_ADDR 1 | ||
#define ETH_CS 15 | ||
#define ETH_IRQ 4 | ||
#define ETH_RST 5 | ||
#define ETH_SPI_SCK 14 | ||
#define ETH_SPI_MISO 12 | ||
#define ETH_SPI_MOSI 13 | ||
|
||
#define AP_SSID "ESP32-ETH-WIFI-BRIDGE" | ||
#define AP_PASS "password" | ||
|
||
IPAddress ap_ip(192, 168, 4, 1); | ||
IPAddress ap_mask(255, 255, 255, 0); | ||
IPAddress ap_leaseStart(192, 168, 4, 2); | ||
IPAddress ap_dns(8, 8, 4, 4); | ||
|
||
void setup() { | ||
Serial.begin(115200); | ||
Serial.setDebugOutput(true); | ||
Network.onEvent(onEvent); | ||
|
||
WiFi.AP.begin(); | ||
WiFi.AP.config(ap_ip, ap_ip, ap_mask, ap_leaseStart, ap_dns); | ||
WiFi.AP.create(AP_SSID, AP_PASS); | ||
if (!WiFi.AP.waitStatusBits(ESP_NETIF_STARTED_BIT, 1000)) { | ||
Serial.println("Failed to start AP!"); | ||
return; | ||
} | ||
delay(100); | ||
|
||
SPI.begin(ETH_SPI_SCK, ETH_SPI_MISO, ETH_SPI_MOSI); | ||
ETH.begin(ETH_TYPE, ETH_ADDR, ETH_CS, ETH_IRQ, ETH_RST, SPI); | ||
} | ||
|
||
void loop() { | ||
delay(20000); | ||
} | ||
|
||
void onEvent(arduino_event_id_t event, arduino_event_info_t info) { | ||
switch (event) { | ||
case ARDUINO_EVENT_ETH_START: Serial.println("ETH Started"); break; | ||
case ARDUINO_EVENT_ETH_CONNECTED: Serial.println("ETH Connected"); break; | ||
case ARDUINO_EVENT_ETH_GOT_IP: | ||
Serial.println("ETH Got IP"); | ||
Serial.println(ETH); | ||
WiFi.AP.enableNAPT(true); | ||
break; | ||
case ARDUINO_EVENT_ETH_LOST_IP: | ||
Serial.println("ETH Lost IP"); | ||
WiFi.AP.enableNAPT(false); | ||
break; | ||
case ARDUINO_EVENT_ETH_DISCONNECTED: | ||
Serial.println("ETH Disconnected"); | ||
WiFi.AP.enableNAPT(false); | ||
break; | ||
case ARDUINO_EVENT_ETH_STOP: Serial.println("ETH Stopped"); break; | ||
|
||
case ARDUINO_EVENT_WIFI_AP_START: | ||
Serial.println("AP Started"); | ||
Serial.println(WiFi.AP); | ||
break; | ||
case ARDUINO_EVENT_WIFI_AP_STACONNECTED: Serial.println("AP STA Connected"); break; | ||
case ARDUINO_EVENT_WIFI_AP_STADISCONNECTED: Serial.println("AP STA Disconnected"); break; | ||
case ARDUINO_EVENT_WIFI_AP_STAIPASSIGNED: | ||
Serial.print("AP STA IP Assigned: "); | ||
Serial.println(IPAddress(info.wifi_ap_staipassigned.ip.addr)); | ||
break; | ||
case ARDUINO_EVENT_WIFI_AP_PROBEREQRECVED: Serial.println("AP Probe Request Received"); break; | ||
case ARDUINO_EVENT_WIFI_AP_STOP: Serial.println("AP Stopped"); break; | ||
|
||
default: break; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"targets": { | ||
"esp32h2": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=Ethernet | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Hristo Gochkov | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=Enables network connection (local and Internet) using the ESP32 Ethernet. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=FFat | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Hristo Gochkov, Ivan Grokhtkov, Larry Bernstone | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=ESP32 FAT on Flash File System | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=FS | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Hristo Gochkov, Ivan Grokhtkov | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=ESP32 File System | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=ESP Insights | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Sanket Wadekar <[email protected]> | ||
maintainer=Sanket Wadekar <[email protected]> | ||
sentence=ESP Insights | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=LittleFS | ||
version=3.0.3 | ||
version=3.0.4 | ||
author= | ||
maintainer= | ||
sentence=LittleFS for esp32 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=NetBIOS | ||
version=3.0.3 | ||
version=3.0.4 | ||
author[email protected] | ||
maintainer=Hristo Gochkov<[email protected]> | ||
sentence=Enables NBNS (NetBIOS) name resolution. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=Networking | ||
version=3.0.3 | ||
version=3.0.4 | ||
author=Hristo Gochkov | ||
maintainer=Hristo Gochkov <[email protected]> | ||
sentence=General network management library. | ||
|
Oops, something went wrong.