Skip to content

Implement HTTP file server for SD card access over WiFi#746

Open
DFlak wants to merge 1 commit into
FOME-Tech:masterfrom
DFlak:http-server
Open

Implement HTTP file server for SD card access over WiFi#746
DFlak wants to merge 1 commit into
FOME-Tech:masterfrom
DFlak:http-server

Conversation

@DFlak
Copy link
Copy Markdown

@DFlak DFlak commented Apr 16, 2026

No description provided.

chThdCreateStatic(sdCardLoggerStack, sizeof(sdCardLoggerStack), SD_CARD_LOGGER, sdCardLoggerThread, nullptr);
}

const char* getActiveLogFileName() {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this function used?

};

static NO_CACHE ServerSocket tsServer;
static NO_CACHE ServerSocket tsServer("TS");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTTP server is unrelated to this file and independent to the wifi TS channel - please put it elsewhere

/*static*/ ServerSocket* ServerSocket::s_serverList = nullptr;

ServerSocket::ServerSocket() {
ServerSocket::ServerSocket(const char* name) : m_name(name) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please split the generic ServerSocket changes to their own PR

@mck1117
Copy link
Copy Markdown
Collaborator

mck1117 commented Apr 16, 2026

had claude do a review, it found lots of issues: https://gist.github.com/mck1117/c68b41029c4ad75203086b0aa8a0ea5a

I'm not really worried about 5 or 8, but the rest are worthy.

The stuff in "things done well" for ServerSocket seem good, we should split that to its own PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants