BOSS Services: Difference between revisions
DaniElectra (talk | contribs) m →CfgInfoType: Format update |
DaniElectra (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 514: | Line 514: | ||
==NsDataHeaderInfo== | ==NsDataHeaderInfo== | ||
When the input type is not one of the below or when the specified output size doesn't match the expected size for this type, an error is returned | This type contains information about an NsData, the fields match exactly with the [[SpotPass#Payload_Content_Header|Payload Content Header]] without the hash and signature. When the input type is not one of the below or when the specified output size doesn't match the expected size for this type, an error is returned. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Type !! Size !! Description | |||
|- | |- | ||
| 0x0 || 0x8 || Program ID | |||
|- | |- | ||
| | | 0x1 || 0x4 || Unknown field | ||
| | |||
| | |||
| | |||
|- | |- | ||
| 0x2 || 0x4 || Content datatype | |||
|- | |- | ||
| | | 0x3 || 0x4 || Payload size | ||
| 0x4 | |||
| | |||
| | |||
|- | |- | ||
| 0x4 || 0x4 || NS Data ID | |||
|- | |- | ||
| | | 0x5 || 0x4 || Version | ||
| 0x4 | |||
| | |||
|- | |- | ||
| 0x6 || 0x20 || Everything: | |||
| | |||
| | |||
| | |||
| | |||
| | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Offset !! Size !! Description | |||
|- | |- | ||
| 0x0 || 0x8 || Program ID | |||
|- | |- | ||
| | | 0x8 || 0x4 || Unknown field | ||
| 0x4 | |||
| | |||
|- | |- | ||
| 0xC || 0x4 || Content datatype | |||
|- | |- | ||
| | | 0x10 || 0x4 || Payload size | ||
| | |||
| | |||
|- | |- | ||
| | | 0x14 || 0x4 || NS Data ID | ||
| 0x4 | |||
| | |||
|- | |- | ||
| | | 0x18 || 0x4 || Version | ||
| 0x4 | |||
| | |||
|- | |- | ||
| | | 0x1C || 0x4 || Padding? | ||
| 0x4 | |} | ||
| | |||
| | |||
| | |||
|} | |} | ||
Line 700: | Line 621: | ||
| 0x1C || 0x4 || || Yes || Yes || No || ? | | 0x1C || 0x4 || || Yes || Yes || No || ? | ||
|- | |- | ||
| 0x1D || 0x1 || u8 || Yes || No || No || [[#TaskStateCode|TaskStateCode]] | | 0x1D || 0x1 || u8 || Yes || No || No || [[#TaskStateCode|TaskStateCode]] | ||
|- | |- | ||
| 0x1E || 0x1 || || Yes || No || No || ? | | 0x1E || 0x1 || || Yes || No || No || ? | ||
Line 712: | Line 633: | ||
| 0x22 || 0x1 || || Yes || No || No || ? | | 0x22 || 0x1 || || Yes || No || No || ? | ||
|- | |- | ||
| 0x23 || 0x4 || u32 || Yes || No || No || CommErrorCode. | | 0x23 || 0x4 || u32 || Yes || No || No || CommErrorCode. Received HTTP status code when performing the task. Set to 0 for successful codes | ||
|- | |- | ||
| 0x24 || 0x1 || || Yes || No || No || ? | | 0x24 || 0x1 || || Yes || No || No || ? | ||
Line 899: | Line 820: | ||
==CfgInfoType== | ==CfgInfoType== | ||
{| class="wikitable | {| class="wikitable" border="1" | ||
! Flag !! Description | ! Flag !! Description | ||
|- | |- |