Changes

217 bytes added ,  04:29, 27 June 2017
no edit summary
Line 22: Line 22:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| ? || GetDeviceId (Returns the 64bit DeviceId)
+
| 14 || GetDeviceCert
 
|-
 
|-
| GetDeviceId_cmd+1 presumably? || GetDeviceCert (Returns the 0x240-byte DeviceCert)
+
| 15 || GetDeviceCert2
 
|-
 
|-
 
| 16 || GetTLSClientPrivk
 
| 16 || GetTLSClientPrivk
Line 32: Line 32:     
Used for accessing data calibrated at the factory.
 
Used for accessing data calibrated at the factory.
 +
 +
== GetDeviceCert ==
 +
Takes a type-0x16 output buffer with fixed size 0x180.
 +
 +
Returns the DeviceCert.
 +
 +
== GetDeviceCert2 ==
 +
Takes a type-0x16 output buffer with fixed size 0x240.
 +
 +
Same as GetDeviceCert, except this returns more data and the data starts differing at offset 0x108 compared to GetDeviceCert.
    
== GetTLSClientPrivk ==
 
== GetTLSClientPrivk ==