Lego EV3 - Get output device type, opOUTPUT_GET_TYPE I would like to know what kind of motor (XL, L) is connected to EV3 output port (A|B|C|D). I need to use direct command:

Instruction        opOutput_Get_Type (LAYER, NO, *TYPE)
Opcode             0xA0
Arguments          (Data8) LAYER – Specify chain layer number [0 - 3]
                   (Data8) NO – Port number [0 - 3]
                   (Data8) *TYPE


so request should looks like:

unsigned const char opOutput_Get_Type[] {
    0x09, 0x00, // bytes in message
    0x00, 0x00, // message counter
    0x00,       // DIRECT_COMMAND_REPLY
    0x01, 0x00, // 1 value will be returned
    0xA0,       // opOutput_Get_Type
    LC0(0),     // LAYER 0, first brick in chain
    LC0(0),     // port A
    GV0(0)      // returned value
};


When I send it to brick a get response:

04000000 0400
          ^-
          DIRECT_REPLY_ERROR


which stands that error occurred. Motor is connected to port A. What am I doing wrong?
Checking the source code, it appears that the opOutput_Get_Type command is not implemented. In both links, it is mentioned in the comments, but there is nothing in the actual code.

Unfortunately, I am not finding a different way to get this information.