diff --git a/docs/wireless_adapter.md b/docs/wireless_adapter.md index 6ae12a8..0b282e6 100644 --- a/docs/wireless_adapter.md +++ b/docs/wireless_adapter.md @@ -651,19 +651,23 @@ enum CommState : unsigned int { - Server: ACKs the packet - Client: sends `0x424D08A6`, `0x004C442D` - Header: `0x08A6` (`size=6, n=1, ph=1, ack=0, commState=2`) - - Payload: `MB-DL` + - Payload: `0x4D`, `0x42`, `0x2D`, `0x44`, `0x4C`, `0x00` + - => `MB-DL` - Server: ACKs the packet - Client: sends `0x000008C6`, `0x50000000` - Header: `0x08C6` (`size=6, n=1, ph=2, ack=0, commState=2`) - - Payload: `P` + - Payload: `0x00`, `0x00`, `0x00`, `0x00`, `0x00`, `0x00`, `0x50` + - => `P` - Server: ACKs the packet - Client: sends `0x414C08E6`, `0x20524559` - Header: `0x08E6` (`size=6, n=1, ph=3, ack=0, commState=2`) - - Payload: `LAYER` + - Payload: `0x4C`, `0x41`, `0x59`, `0x45`, `0x52`, `0x20` + - => `LAYER ` - Server: ACKs the packet - Client: sends `0x00410902` - Header: `0x0902` (`size=2, n=2, ph=0, ack=0, commState=2`) - - Payload: `A` + - Payload: `0x41`, `0x00` + - => `A` - Server: ACKs the packet - Client: sends `0x00000C00` - Header: `0x0C00` (`size=0, n=0, ph=0, ack=0, commState=3`) (`3 = ENDING`) @@ -672,7 +676,7 @@ enum CommState : unsigned int { - Client: sends `0x00000080` - Header: `0x0080` (`size=0, n=1, ph=0, ack=0, commState=0`) (`0 = OFF`) - No payload -- Server: ACKs the packet +- Server: Ghost send _(OFF state doesn't expect an ack!)_ ## (2) ROM start command @@ -694,7 +698,7 @@ After all ROM chunks are ACK'd, the last transfers are: - `size=0, n=0, ph=0, ack=0, commState=3` (`3 = ENDING`) - `size=0, n=1, ph=0, ack=0, commState=0` (`0 = OFF`) - - this one is not acknowledged by the clients! + - _OFF state, so this one is not acknowledged by the clients!_ ## SPI config diff --git a/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp b/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp index 5ec3137..b2db0b9 100644 --- a/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp +++ b/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp @@ -137,7 +137,7 @@ void DebugScene::load() { }; log("---"); - log("LinkRawWireless demo"); + log("LinkRawWireless_demo"); log(" (v8.0.0)"); log(""); log("START: reset wireless adapter"); diff --git a/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp b/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp index 2f9f481..a3b965f 100644 --- a/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp +++ b/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp @@ -190,7 +190,7 @@ void MultibootScene::load() { #endif log("---"); - log("LinkWirelessMultiboot demo"); + log("LinkWirelessMultiboot_demo"); log(" (v8.0.0)"); log(""); if (fs == NULL) {