Skip to content

Conversation

@Paciente8159
Copy link
Owner

This introduces some basic generic network module implementation based on BSD Sockets.
This abstracts some network functionalities that are available to all existing boards and modules. These include:

  • a generic raw socket server
  • a telnet server
  • a websocket server
  • a http server

- migrated wifi interface to telnet
- added generic telnet stream functionalities
- added new C core for virtual mcu
- several modifications to the logic of the telnet interface
- telnet sockets implementation working on windows
commit b193737
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Wed Sep 3 23:03:25 2025 +0100

    Updated code

commit 759118e
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Wed Sep 3 22:57:28 2025 +0100

    socket updating correctly

commit cdb6777
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Wed Sep 3 19:31:52 2025 +0100

    proper multiclient http handling

commit f9c0dd4
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Wed Sep 3 18:28:19 2025 +0100

    refresh needs fix

commit 8b282e7
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Tue Sep 2 23:17:20 2025 +0100

    websockets working

commit 8153225
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Tue Sep 2 22:29:23 2025 +0100

    http working

commit 449e852
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Tue Sep 2 18:01:57 2025 +0100

    http request parser modifications

commit 3129186
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Mon Sep 1 10:05:14 2025 +0100

    new http request parser

commit 9c3b826
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Fri Aug 29 17:56:39 2025 +0100

    websocket handshake need refactoring

commit f3c438e
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Fri Aug 29 11:39:57 2025 +0100

    modified websockets to allow multiple ports

commit 2a6b077
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Fri Aug 29 00:43:05 2025 +0100

    modifications to socket based protocols

commit df2e91c
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Thu Aug 28 18:11:53 2025 +0100

    updated telnet stream protocol

commit c0a0025
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Thu Aug 28 18:07:09 2025 +0100

    code cleaning

commit b62bd32
Author: Paciente8159 <Paciente8159@users.noreply.github.com>
Date:   Thu Aug 28 17:51:21 2025 +0100

    more flexible design

    - redesign sockets to give more flexibility for future uses
    - full C shim for ESP8266 (for tests)
modified socket loop to update only one socket per loop
@Paciente8159 Paciente8159 added the needs: testing needs: testing label Sep 10, 2025
@Paciente8159 Paciente8159 added new feature: module new feature: module needs: improvements needs: some feature needs improvements needs: awaiting review Awaiting review labels Sep 10, 2025
@Paciente8159 Paciente8159 marked this pull request as ready for review December 2, 2025 16:04
Paciente8159 and others added 9 commits January 20, 2026 14:44
- added information of file size on file upload start event in http server
- updated OTA methods for all WiFi chips (needs testing)
 - correct application of the OTA_URI macro
 - fix rp2350 typos
- ENABLE_WIFI enables ENABLE_SOCKETS
- socket capable devices can now be registered /overriden. Only a single device will remain active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs: awaiting review Awaiting review needs: improvements needs: some feature needs improvements needs: testing needs: testing new feature: module new feature: module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant