Adding Doxygen-style docs for IDE autocompletion in LinkRawWireless

This commit is contained in:
Rodrigo Alfonso
2024-08-07 10:11:46 -03:00
parent 21bb2cc250
commit c8e5a4745d
8 changed files with 274 additions and 31 deletions

View File

@@ -290,7 +290,7 @@ Both Pokemon games and the multiboot ROM that the adapter sends when no cartridg
* The number of available slots depends on `maxPlayers` (see [Setup](#setup---0x17)) and/or [EndHost](#endhost---0x1b).
* 4th byte: Zero.
🆔 IDs are randomly generated. Each time you broadcast or connect, the adapter assigns you a new id.
🆔 IDs are randomly generated. Each time you broadcast or connect, the adapter assigns you a new ID.
✅ Reading broadcasts is a three-step process: First, you send `0x1c` (you will get an ACK instantly), and start waiting until the adapter retrieves data (games usually wait 1 full second). Then, send a `0x1d` and it will return what's described above. Lastly, send a `0x1e` to finish the process (you can ignore what the adapter returns here). If you don't send that last `0x1e`, the next command will fail.