3DM
®
-GX5-35
DCP Manual
4.1.7
Get Extended Device Descriptor Sets (0x01, 0x07)
Description
Get the extended set of descriptors that this device supports (descriptors in addition to the
set returned by the
command)
Reply has two fields: “ACK/NACK” and “Descriptors”. The “Descriptors” field is an array
of 16 bit values. The MSB specifies the descriptor set and the LSB specifies the
descriptor.
Notes
The
command is present on all devices supporting the
MIP protocol. Extended descriptors are only supported on some devices. You may check
for extended descriptors by searching for the 0x0107 descriptor in the list returned by the
command.
Field Format
Field Length
Field
Descriptor
Field Data
Command
0x02
0x07
N/A
Reply Field 1:
ACK/ NACK
0x04
0xF1
U8 - echo the command byte
U8 - error code (0: ACK, non-zero: NACK)
Reply Field 2:
Array of
Descriptors
4 x <Number of
descriptors> + 2
0x86
Binary
Offset
Description
Data Type
0
MSB: Descriptor Set
LSB: Descriptor
U16
1
MSB: Descriptor Set
LSB: Descriptor
U16
...
etc.
...
Example
MIP Packet Header
Command/Reply Fields
Checksum
Sync1
Sync2
Desc.
Set
Payload
Length
Field
Length
Field
Desc.
Field Data
MSB
LSB
Command:
Get Device Info
0x75
0x65
0x01
0x02
0x02
0x04
0xE6
0xCC
Reply Field 1:
ACK/NACK
0x75
0x65
0x01
0x04
0x04
0xF1
Command echo: 0x07
Error code: 0x00
Reply Field 2:
Array of
Descriptors
<n*2>
0x86
0x0D27
0x0D28
…
0x822B
0x822C
…
first extended
descriptor
...
0x##
0x##
31