NIM services: Difference between revisions
→SystemUpdateTaskInfo: throughput calc |
|||
Line 800: | Line 800: | ||
| 0x5 || 0x1 || Padding | | 0x5 || 0x1 || Padding | ||
|- | |- | ||
| 0x6 || 0x2 || u16 | | 0x6 || 0x2 || u16 meta_size. Must be <=0x1000. | ||
|- | |- | ||
| 0x8 || 0x8 || s64 | | 0x8 || 0x8 || s64 data_size. Must not be negative. During message-specific handling with request/reply this must also match the expected value (except for ID 0x0 which is ignored in this case). | ||
|} | |} | ||
After the header is the associated data for | After the header is the associated data for meta_size and data_size. The functions which generate the header always leave meta_size at value 0, when receiving the data for meta_size the received data is unused. | ||
The first message used by the client with SystemUpdate is ID 0x1. | The first message used by the client with SystemUpdate is ID 0x1. | ||
Line 815: | Line 815: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! ID || Request | ! ID || Request data_size / data || Reply data_size / data || Description | ||
|- | |- | ||
| 0x0 || 0x0 || 0x0 || Tells the server to exit. When handling this the handler func will immediately return 0, without sending a reply. | | 0x0 || 0x0 || 0x0 || Tells the server to exit. When handling this the handler func will immediately return 0, without sending a reply. |