Implement logic session handshake

This commit is contained in:
2026-04-11 09:38:07 +08:00
parent 42fe9df338
commit 96d862ec56
3 changed files with 117 additions and 10 deletions

View File

@@ -47,16 +47,19 @@ Design notes:
### Node 3: session handshake path
Files planned next:
Files completed in this step:
- `KeyBorad/KeyBorad/LOGIC/Lgc_Session.h`
- `KeyBorad/KeyBorad/LOGIC/Lgc_Session.cpp`
Target behavior:
Implemented behavior:
- try CDC handshake
- send `HelloReq`
- wait for `HelloRsp`
- store the active transport
- read next parsed packet
- keep a stream buffer for CDC bytes
- return the next parsed packet to upper layers
### Node 4: core facade