1. 12 Apr, 2024 1 commit
    • Sly Gryphon's avatar
      fix(dns): Fix IPv6-only network, by checking IPv6 first if you have public address (#9443) · 3a0dd1cb
      Sly Gryphon authored
      Work around because AF_UNSPEC does not check available addresses when
      determining result.
      
      If you have a global scope IPv6 address, then first check for IPv6 DNS result;
      if you don't have an IPv6, or there is no IPv6 result, then check IPv4.
      
      This allows IPv6-only networks to connect to dual-stack destinations, as they
      will get the IPv6 address (rather than the unusable IPv4).
      
      It also means a dual-stack host to a dual-stack destination will preference
      IPv6.
      
      There is no effect if you are on an IPv4-only network, or it is an IPv4-only
      destination.
      3a0dd1cb
  2. 11 Apr, 2024 2 commits
  3. 10 Apr, 2024 4 commits
  4. 09 Apr, 2024 2 commits
  5. 08 Apr, 2024 2 commits
  6. 06 Apr, 2024 1 commit
  7. 05 Apr, 2024 2 commits
  8. 04 Apr, 2024 2 commits
  9. 03 Apr, 2024 4 commits
  10. 02 Apr, 2024 6 commits
  11. 29 Mar, 2024 2 commits
  12. 27 Mar, 2024 2 commits
  13. 26 Mar, 2024 5 commits
    • Me No Dev's avatar
      3.0.0 Network Refactoring (#8760) · f2026f1e
      Me No Dev authored
      * Create ESP_NetworkInterface class and have Ethernet extending it
      
      * Update CMakeLists.txt
      
      * Split networking from WiFi (H2 can now use Ethernet)
      
      Now all libs have been checked yet. More to do on WiFi side
      
      * Fix build errors
      
      * Guard WiFi classes and fix RMII ETH examples
      
      * Decouple network related libraries from WiFi
      
      * Fix examples and WiFiUpdate
      
      * Guard WiFiProv lib to compile only on WiFi chips
      
      * Add periman string for network and "fix" mdns on the first ETH
      
      * Revert back location of Client/Server/Udp in order to accept some PRs
      
      * Fix periman
      
      * Some fixes from merging master
      
      * Fix web server missing fs.h
      
      * Move Client, Server and Udp out of WiFi
      
      * More fixes
      
      * more fixes
      
      * Fix CMakekLists and rework lib menu dependencies
      
      * Fix CMake issues
      
      * move back WiFiClient to rebase with master
      
      * Update ETH_TLK110.ino
      
      * Move back WiFiClient
      
      * Update progress
      
      * Update WiFiGeneric.cpp
      
      * More fixes
      
      * Switch AP to the new interface
      
      * Cleanup
      
      * Rename AP methods
      
      * Add extra interface info for Printable
      
      * Rename IPv6 getters to clarify that they are returning LinkLocal address
      
      cc @sgryphon
      
      * Rename network classes
      
      cc @sgryphon
      
      * Update NetworkManager.h
      
      * Rename WiFi Server and UDP
      
      * Rename WiFiClient and WiFiClientSecure
      
      * Update CMakeLists.txt
      
      * Update on-push.sh
      
      * Rename Network library
      
      * Remove unnecessary guard
      
      * Get the correct interface MAC address for mDND Workstation service
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      
      ---------
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      f2026f1e
    • Holger Lembke's avatar
      Add: make digitalRead() for RGB_BUILTIN work (#9419) · e92b4ca6
      Holger Lembke authored
      * make digitalRead() for RGB_BUILTIN work
      
      Standard Arduino-Way of blinking a LED can be the shortest with:
      
      void loop() {
        static uint32_t ledticker = 0;
        if (millis() - ledticker > 1000) {
          ledticker = millis();
          digitalWrite(RGB_BUILTIN, !digitalRead(RGB_BUILTIN));
        }
      }
      
      Worked with the old LED_BUILTIN on Pin 2, now even works with Pin 48/neopixel.
      
      * Add: make digitalRead() for RGB_BUILTIN work
      
      Standard Arduino-Way of blinking a LED can be the shortest with:
      
      void loop() {
        static uint32_t ledticker = 0;
        if (millis() - ledticker > 1000) {
          ledticker = millis();
          digitalWrite(RGB_BUILTIN, !digitalRead(RGB_BUILTIN));
        }
      }
      
      Worked with the old LED_BUILTIN on Pin 2, now even works with Pin 48/neopixel.
      
      (Retry. Didn't sync my local sources. Sorry.)
      e92b4ca6
    • Rodrigo Garcia's avatar
      Adds a new example: onReceiveExample.ino (#9415) · 63453505
      Rodrigo Garcia authored
      * feat: onReceiveExample.ino
      
      Adds a new example that uses HardwareSerial::onReceive(). The example demosntrates how to read all the data sent to UART0, considering that the end of transmission is defined by a period of time with UART in idle state.
      
      * fix: onReceiveExample.ino
      
      Fixes typos
      
      * feat: add explanation header
      
      * fix: mutex release
      
      * fix: add Mutex verification
      
      * feat: Mutex error message
      
      * feat: Mutex NULL testing
      63453505
    • Lucas Saavedra Vaz's avatar
      Add method to set the WiFi radio channel (#9405) · 9c0d59f9
      Lucas Saavedra Vaz authored
      * Add method to set the WiFi radio channel
      
      * Fix Tab
      
      * Add check
      
      * Change name
      
      * Fix description
      
      * Add check
      
      * Add error return
      
      * Improve error message
      9c0d59f9
    • Daniel Eisterhold's avatar
      Add variant for Waveshare ESP32-S3-Touch-LCD-1.28 (#9386) · 75f7b330
      Daniel Eisterhold authored
      * feat(esp32): Add variant for Waveshare ESP32 board
      
      Variant for https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-1.28
      
      * feat(esp32): Add Waveshare ESP32 board variant to boards.txt
      
      * fix(esp32): Update bootloader address and remove PSRAM flags
      
      * fix(esp32): Updated boards.txt for Waveshare based on suggestions
      
      * fix(esp32): Specify PSRAM type and remove unused board options
      
      ---------
      Co-authored-by: default avatarJan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
      Co-authored-by: default avatarme-no-dev <hristo@espressif.com>
      75f7b330
  14. 22 Mar, 2024 1 commit
  15. 21 Mar, 2024 1 commit
  16. 20 Mar, 2024 2 commits
  17. 18 Mar, 2024 1 commit
    • Jan Procházka's avatar
      Feature: New Class MacAddress similar to IPAddress (#9304) · c17a688b
      Jan Procházka authored
      * Added new classes MacAddress and MacAddress8
      
      In the same style as class IPAddress.
      Based on Apache License.
      
      * Update MacAddress8.h
      
      * Added Printable, constructor and extra operators
      
      Added a few changes to make it closer to IPAddress Class implementation.
      
      * Added construtor and Printable
      
      Makes it closer to IPAddress Class implementation
      
      * Fixes include Printable
      
      * Update MacAddress.cpp
      
      * Update MacAddress.h
      
      * Update MacAddress.cpp
      
      * Added Printable
      
      * Added Printble and some more operators
      
      * Cleanup and bounds checking
      
      Moved implementation details .h->.cpp.  Added bounds checking on index operators.  Added constructor to MacAddress8 to match MacAddress.
      
      * Fixed printTo
      
      Chars must be uppercase to match toString() and pass test
      
      * feat(MAC): Rework API to support both 6+8 bytes MacAddress
      
      * feat(MAC): Remove MacAddress8.h file
      
      * fix(MAC): Remove comment + reorder lines
      
      * Update toString function with single buf and return
      
      * Fix buffer size for toString
      
      ---------
      Co-authored-by: default avatarDavid McCurley <44048235+mrengineer7777@users.noreply.github.com>
      Co-authored-by: default avatarDavid McCurley <mrengineer02@gmail.com>
      Co-authored-by: default avatarRodrigo Garcia <rodrigo.garcia@espressif.com>
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      c17a688b