USB services: Difference between revisions
No edit summary |
|||
Line 761: | Line 761: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[# | | 0 || [[#SetCradleVdo]] | ||
|- | |- | ||
| 1 || [[# | | 1 || [[#GetCradleVdo]] | ||
|- | |- | ||
| 2 || | | 2 || [[#ResetCradleUsbHub]] | ||
|- | |- | ||
| 3 || [2.0.0+] | | 3 || [2.0.0+] [[#GetHostPdcFirmwareType]] | ||
|- | |- | ||
| 4 || [2.0.0+] | | 4 || [2.0.0+] [[#GetHostPdcFirmwareRevision]] | ||
|- | |- | ||
| 5 || [2.0.0+] | | 5 || [2.0.0+] [[#GetHostPdcManufactureId]] | ||
|- | |- | ||
| 6 || [2.0.0+] | | 6 || [2.0.0+] [[#GetHostPdcDeviceId]] | ||
|- | |- | ||
| 7 || [3.0.0+] | | 7 || [3.0.0+] | ||
Line 780: | Line 780: | ||
|} | |} | ||
=== | === SetCradleVdo === | ||
Takes two input u32s '''Value''' and '''UserId'''. No output. | Takes two input u32s '''Value''' and '''UserId'''. No output. | ||
'''UserId''' is translated to the actual [[#VdmCommand]] to send. | '''UserId''' is translated to the actual [[#VdmCommand]] to send. | ||
=== | === GetCradleVdo === | ||
Takes an input u32 '''UserId'''. Returns an u32 '''Value'''. | Takes an input u32 '''UserId'''. Returns an u32 '''Value'''. | ||
'''UserId''' is translated to the actual [[#VdmCommand]] to send. | '''UserId''' is translated to the actual [[#VdmCommand]] to send. | ||
=== | === ResetCradleUsbHub === | ||
No input/output. | No input/output. | ||
Sends [[#VdmCommand|VdmCommands]] 32 and 30. | Sends [[#VdmCommand|VdmCommands]] 32 and 30. | ||
=== | === GetHostPdcFirmwareType === | ||
No input. Returns an output u16. | No input. Returns an output u16. | ||
=== | === GetHostPdcFirmwareRevision === | ||
No input. Returns an output u16. | No input. Returns an output u16. | ||
=== | === GetHostPdcManufactureId === | ||
No input. Returns an output u16. | No input. Returns an output u16. | ||
=== | === GetHostPdcDeviceId === | ||
No input. Returns an output u16. | No input. Returns an output u16. | ||
Line 835: | Line 835: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || | | 0 || [[#GetHostPdcFirmwareType]] | ||
|- | |- | ||
| 1 || | | 1 || [[#GetHostPdcFirmwareRevision]] | ||
|- | |- | ||
| 2 || | | 2 || [[#GetHostPdcManufactureId]] | ||
|- | |- | ||
| 3 || | | 3 || [[#GetHostPdcDeviceId]] | ||
|} | |} | ||