Migration services: Difference between revisions

No edit summary
Line 633: Line 633:


Besides other functionality, this async task may call the same network-request func as [[#Cmd500_2|Cmd500]].
Besides other functionality, this async task may call the same network-request func as [[#Cmd500_2|Cmd500]].
= ServerProfile =
This is a 0x100-byte struct.


= AdvertiseData =
= AdvertiseData =
Line 652: Line 655:
| 0x8 || 0x58 || Unused
| 0x8 || 0x58 || Unused
|-
|-
| 0x60 || 0x100 ||  
| 0x60 || 0x100 || [[#ServerProfile|ServerProfile]]
|-
|-
| 0x160 || 0x20 || SHA256 hash
| 0x160 || 0x20 || SHA256 hash
Line 659: Line 662:
The hash is calculated by using SHA256-update with each field separately, followed by global constant:
The hash is calculated by using SHA256-update with each field separately, followed by global constant:
* AccountId
* AccountId
* +0x60 size 0x100-bytes
* ServerProfile
* 0x100-byte global constant
* 0x100-byte global constant


Line 675: Line 678:
| 0x10 || 0x50 || Unused
| 0x10 || 0x50 || Unused
|-
|-
| 0x60 || 0x100 ||  
| 0x60 || 0x100 || [[#ServerProfile|ServerProfile]]
|-
|-
| 0x160 || 0x20 || SHA256 hash
| 0x160 || 0x20 || SHA256 hash
Line 683: Line 686:
* AccountId
* AccountId
* ApplicationId
* ApplicationId
* +0x60 size 0x100-bytes
* ServerProfile
* 0x100-bytes global constant
* 0x100-bytes global constant


Line 702: Line 705:
| 0x24 || 0x4 || Padding
| 0x24 || 0x4 || Padding
|-
|-
| 0x28 || 0x100 ||  
| 0x28 || 0x100 || [[#ServerProfile|ServerProfile]]
|-
|-
| 0x128 || 0x20 || SHA256 hash
| 0x128 || 0x20 || SHA256 hash
Line 712: Line 715:
* ApplicationId
* ApplicationId
* ProductModel
* ProductModel
* +0x28 size 0x100
* ServerProfile
* 0x100-bytes global constant
* 0x100-bytes global constant


Line 730: Line 733:
| 0x54 || 0xC || Unused
| 0x54 || 0xC || Unused
|-
|-
| 0x60 || 0x100 ||  
| 0x60 || 0x100 || [[#ServerProfile|ServerProfile]]
|-
|-
| 0x160 || 0x20 || SHA256 hash
| 0x160 || 0x20 || SHA256 hash
Line 739: Line 742:
* +0x10 size 0x40-bytes
* +0x10 size 0x40-bytes
* +0x50 size 0x4-bytes
* +0x50 size 0x4-bytes
* +0x60 size 0x100-bytes
* ServerProfile
* 0x100-bytes global constant
* 0x100-bytes global constant