Striven
2025-09-09 2c2c4da5e2014e8145f3268e60ac0cd18dff48e7
Add prologue notes for response packet
1 files modified
4 ■■■ changed files
04_rendezvous/05_rmc_protocol.md 4 ●●● patch | view | raw | blame | history
04_rendezvous/05_rmc_protocol.md
@@ -85,6 +85,7 @@
| Name          | Description                                                                                                                                | Type                                            |
|---------------|--------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|
| ...           | See [Response Packet Format](#response-packet-format) for parsing the prologue of a successful response packet.                            | ...                                             |
| Call ID       | The nonce token for the call to associate the response to the request.                                                                     | `u32`                                           |
| Method Name   | The method that was called by the client.                                                                                                  | [`String`](./03_rendezvous_structure.md#string) |
| Response Data | Raw data to pass to the response handler, see the respective [protocol and method specification](#known-protocols) to write and read this. | `<remaining bytes>`                             |
@@ -92,7 +93,8 @@
### Unsuccessful Response Format
| Name            | Description                                                            | Type                                            |
|-----------------|------------------------------------------------------------------------|-------------------------------------------------|
|-----------------|--------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|
| ...             | See [Response Packet Format](#response-packet-format) for parsing the prologue of an unsuccessful response packet. | ...                                             |
| Error Namespace | The category of error that occurred.                                   | [`String`](./03_rendezvous_structure.md#string) |
| Error Code      | The code of the error in the specified namespace                       | `u16`                                           |
| Call ID         | The nonce token for the call to associate the response to the request. | `u32`                                           |