|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
SMB2 client dialogue engine (DETWS_ENABLE_SMB) - drives the smb2 / ntlm / spnego wire codecs through a real session to open a file on a Windows share. More...
#include "ServerConfig.h"Go to the source code of this file.
SMB2 client dialogue engine (DETWS_ENABLE_SMB) - drives the smb2 / ntlm / spnego wire codecs through a real session to open a file on a Windows share.
The wire codecs (smb2.h, ntlm.h, ntlmssp.h, spnego.h) are pure builders/parsers; this ties them into the actual exchange: NEGOTIATE, the two-round NTLMv2 SESSION_SETUP (SPNEGO-wrapped), TREE_CONNECT to \\server\share, and CREATE to open the file - handing back a handle that smb_read / smb_write / smb_close use. Like the SMTP engine it is written against a send/recv seam, so the whole exchange is host-tested with a scripted mock SMB2 server (no lwIP / real share).
Direct-TCP framing (the 4-byte length prefix) is handled here: each request is framed before send, each response is de-framed after recv (accumulating until a full message arrives).
Definition in file smb_client.h.