Poll Data (0x0C,0x0D)

Description

Poll the device for a message with the specified descriptor set and format.

Notes

This function polls for a message using the provided format. The resulting message will maintain the order of descriptors sent in the command and any unrecognized descriptors are ignored. If the format is not provided, the device will attempt to use the stored format (set with the Set Message Format command.) If no format is provided and there is no stored format, the device will respond with a NACK. The reply packet contains an ACK/NACK field. The polled data packet is sent separately as a normal Data packet.

Parameter Name Data Type Description
Field Length u8 5 + 1*num_descriptors
Descriptor u8 0x0D
Desc Set u8 Data descriptor set. Must be supported.
Suppress Ack bool Suppress the usual ACK/NACK reply.
Num Descriptors u8 Number of descriptors in the format list.
Descriptors u8[num_descriptors] Descriptor format list.
Ack/Nack Reply See standard MIP ack/nack reply format.