inquiry | inq | inqj

inquiry or inq command identifies the device and returns the output in hexadecimal format. inqj command is similar to inquiry or inq command but generates the output in JSON format.

Parameters:
[Page code in Hex, 00-FF without leading x]
Following is an example of an output from inquiry or inq command:
[root@franc ITDT]# ./itdt -f 4 0 8 0 inq
Issuing std inquiry...
Inquiry Data,  Length 96
            0 1  2 3  4 5  6 7  8 9  A B  C D  E F   0123456789ABCDEF
    0000 - 0180 0602 3301 1002 4942 4D20 2020 2020  [....3...IBM     ]
    0010 - 3033 3539 3245 3037 2020 2020 2020 2020  [03592E07        ]
    0020 - 3343 3834 4A50 3030 3030 3133 4430 3031  [3C84JP000013D001]
    0030 - 3233 2031 8100 1181 0113 0008 0000 0000  [23 1............]
    0040 - 0080 0000 0114 0004 0000 0002 0123 0008  [.............#..]
    0050 - 0000 0000 0040 0000 0124 0004 0000 0001  [.....@...$......]
Exit with code: 0
Following is an example of an output from inqj command:
[root@franc ITDT]# ./itdt -f 4 0 8 0 inqj
{
  "command": "inquiry" ,
  "parameter": {
    "pageCode": 0 ,
    "evpd": false
  } ,
  "length": 96 ,
  "data": {
    "version": "06" ,
    "vendorIdentification": "IBM     " ,
    "productIdentification": "03592E07        " ,
    "productRevisionLevel": "3C84"
  }
}

Supported platforms: All