3.2.5.1.4 Client Buffer Info Parameter
To support the needs of small and large clients in a flexible way, clients are allowed to select the details of the buffers they implement. Clients must report these buffer details to the host including the maximum number of bytes of data that can be sent in a single command data payload and the number of command buffers that have been implemented in the client. The MDFU Protocol specification currently does not support more than one command buffer so clients must implement and report one command buffer.
Parameter Details
Client Buffer Info Parameter Details | |
---|---|
Parameter Type Code | 0x02 |
Parameter Length | 3 |
Parameter Value | <MaxCommandDataLength><NumCmdBuffers> |
MaxCommandDataLength | uint16_t: The maximum number of bytes of data that the client can support in the command data payload. |
NumCmdBuffers | uint8_t: The number of command buffers implemented on the client. Currently, this must be 1. |
Parameter Example
The following figure shows an example of the Client Buffer Info parameter.