Error Report services: Difference between revisions

fix new firleids
(5 intermediate revisions by one other user not shown)
Line 28: Line 28:
| 10 || [8.0.0+] [[#CreateReportWithAttachments]]
| 10 || [8.0.0+] [[#CreateReportWithAttachments]]
|-
|-
| 11 || [11.0.0+] CreateReport
| 11 || [17.0.0+] CreateReportV1 ([11.0.0-16.1.0] CreateReport)
|-
| 12 || [17.0.0+] CreateReport
|-
|-
| 20 || [12.0.0+] RegisterRunningApplet
| 20 || [12.0.0+] RegisterRunningApplet
Line 40: Line 42:


== SubmitContext ==
== SubmitContext ==
Takes 2 type-5 input buffers [[#ContextEntry]] and '''FieldList'''.
Takes two type-0x5 input buffers [[#ContextEntry]] and '''FieldList'''. No output.
 
=== ContextEntry ===
This is a 0x160 bytes structure used to encapsulate an error report context.
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Version
|-
| 0x4 || 0x4 || FieldCount
|-
| 0x8 || 0x4 || CategoryId
|-
| 0xC || 0x144 || Array of FieldEntry
|-
| 0x150 || 0x8 || Pointer to a FieldList object
|-
| 0x158 || 0x4 || FieldList free count
|-
| 0x15C || 0x4 || FieldList total size
|}


== CreateReportV0 ==
== CreateReportV0 ==
Takes an u32 '''ReportType''' and 3 type-5 input buffers [[#ContextEntry]], '''ReportList''' and '''ReportMetaData'''.
Takes an u32 '''ReportType''' and 3 type-0x5 input buffers [[#ContextEntry]], '''ReportList''' and '''ReportMetaData'''. No output.


== CreateReportWithAttachments ==
== CreateReportWithAttachments ==
Takes 4-bytes of input and 3 type-0x5 input buffers, no output.
Takes an u32 '''ReportType''' and 3 type-0x5 input buffers. No output.


[11.0.0+] Now takes an additional 4-bytes of input.
[11.0.0+] Now takes an additional u32.
 
[17.0.0+] Now takes an additional [[#CreateReportOptionFlag]].


= erpt:r =
= erpt:r =
Line 272: Line 254:
|}
|}


= Reports =
= ContextEntry =
== Fields ==
This is "nn::erpt::ContextEntry". This is a 0x160-byte struct.
{| class=wikitable
 
! Id || Name || Category || FieldType || FieldFlag
{| class="wikitable" border="1"
|-
|-
| 0x0 || TestU64 || Test || NumericU64 || None
! Offset || Size || Description
|-
| 0x0 || 0x4 || Version
|-
| 0x4 || 0x4 || FieldCount
|-
| 0x8 || 0x4 || CategoryId
|-
| 0xC || 0x144 || Array of FieldEntry
|-
| 0x150 || 0x8 || Pointer to a FieldList object
|-
| 0x158 || 0x4 || FieldList free count
|-
| 0x15C || 0x4 || FieldList total size
|}
 
= CreateReportOptionFlag =
This is "nn::erpt::CreateReportOptionFlag". This is a 32-bit flag.
 
= FieldId =
This is "nn::erpt::FieldId".
 
{| class=wikitable
|-
! Value || Name || Category || FieldType || FieldFlag
|-
| 0x0 || TestU64 || Test || NumericU64 || None
|-
|-
| 0x1 || TestU32 || Test || NumericU32 || None
| 0x1 || TestU32 || Test || NumericU32 || None
Line 1,604: Line 1,613:
|-
|-
| 0x297 || [15.0.0+] FatFsSdCardUniqueDirectoryEntryPeakOpenCount || FsProxyErrorInfo || NumericU16 || None
| 0x297 || [15.0.0+] FatFsSdCardUniqueDirectoryEntryPeakOpenCount || FsProxyErrorInfo || NumericU16 || None
|-
| 0x298 || [16.0.0+] ServerErrorIsRetryable || ErrorInfo || Bool || None
|-
| 0x299 || [16.0.0+] FsDeepRetryStartCount || FsProxyErrorInfo2 || NumericU32 || None
|-
| 0x29A || [16.0.0+] FsUnrecoverableByGameCardAccessFailedCount || FsProxyErrorInfo2 || NumericU32 || None
|-
| 0x29B || [16.0.0+] BuiltInWirelessOUI || BuiltInWirelessOUIInfo || String || None
|-
| 0x29C || [16.0.0+] WirelessAPOUI || WirelessAPOUIInfo || String || None
|-
| 0x29D || [16.0.0+] EthernetAdapterOUI || EthernetAdapterOUIInfo || String || None
|-
| 0x29E || [17.0.0+] FatFsBisSystemFatSafeControlResult || FsProxyErrorInfo2 || NumericU8 || None
|-
| 0x29F || [17.0.0+] FatFsBisSystemFatErrorNumber || FsProxyErrorInfo2 || NumericI32 || None
|-
| 0x2A0 || [17.0.0+] FatFsBisSystemFatSafeErrorNumber || FsProxyErrorInfo2 || NumericI32 || None
|-
| 0x2A1 || [17.0.0+] FatFsBisUserFatSafeControlResult || FsProxyErrorInfo2 || NumericU8 || None
|-
| 0x2A2 || [17.0.0+] FatFsBisUserFatErrorNumber || FsProxyErrorInfo2 || NumericI32 || None
|-
| 0x2A3 || [17.0.0+] FatFsBisUserFatSafeErrorNumber || FsProxyErrorInfo2 || NumericI32 || None
|-
| 0x2A4 || [17.0.0+] GpuCrashDump2 || GpuCrashInfo || U8Array || None
|-
| 0x2A5 || [17.0.0+] NANDType || NANDTypeInfo || U8Array || None
|-
| 0x2A6 || [17.0.0+] MicroSDType || MicroSDTypeInfo || U8Array || None
|-
| 0x2A7 || [17.0.0+] GameCardLastDeactivateReasonResult || GameCardErrorInfo || NumericU32 || None
|-
| 0x2A8 || [17.0.0+] GameCardLastDeactivateReason || GameCardErrorInfo || NumericU8 || None
|-
| 0x2A9 || [18.0.0+] InvalidErrorCode || ErrorInfo || String || None
|-
| 0x3E8|| [18.0.0+] TestStringNx || TestNx || String || None
|-
| 0x3E9 || [18.0.0+] BoostModeCurrentLimit || BatteryChargeInfo || NumericI32 || None
|-
| 0x3EA || [18.0.0+] ChargeConfiguration || BatteryChargeInfo || NumericI32 || None
|-
| 0x3EB || [18.0.0+] HizMode || BatteryChargeInfo || Bool || None
|-
| 0x3EC || [18.0.0+] PowerSupplyPath || BatteryChargeInfo || NumericI32 || None
|-
| 0x3ED || [18.0.0+] ControllerPowerSupplyAcquired || BatteryChargeInfo || Bool || None
|-
| 0x3EE || [18.0.0+] OtgRequested || BatteryChargeInfo || Bool || None
|-
| 0x3EF || [18.0.0+] AdspExceptionRegisters || AdspErrorInfo || U32Array || None
|-
| 0x3F0 || [18.0.0+] AdspExceptionSpsr || AdspErrorInfo || NumericU32 || None
|-
| 0x3F1 || [18.0.0+] AdspExceptionArmModeRegisters || AdspErrorInfo || U32Array || None
|-
| 0x3F2 || [18.0.0+] AdspExceptionStackAddress || AdspErrorInfo || NumericU32 || None
|-
| 0x3F3 || [18.0.0+] AdspExceptionStackDump || AdspErrorInfo || U32Array || None
|-
| 0x3F4 || [18.0.0+] AdspExceptionReason || AdspErrorInfo || NumericU32 || None
|}
|}


[[Category:Services]]
[[Category:Services]]