https://switchbrew.org/w/api.php?action=feedcontributions&user=Cai+miao&feedformat=atom
Nintendo Switch Brew - User contributions [en]
2024-03-28T15:33:21Z
User contributions
MediaWiki 1.35.8
https://switchbrew.org/w/index.php?title=Calibration&diff=10628
Calibration
2021-01-30T09:45:16Z
<p>Cai miao: </p>
<hr />
<div>During [[Factory_Setup|factory setup]], the Switch goes through calibration and the generated data from this process is written to two [[Flash_Filesystem|NAND user partitions]] ('''PRODINFO''' and '''PRODINFOF''').<br />
<br />
'''PRODINFOF''' is a FAT12 compliant filesystem and it's structure can be found [[Flash_Filesystem#PRODINFOF|here]]. It's mainly used to keep calibration logs and other assorted files.<br />
<br />
'''PRODINFO''' is a raw binary blob containing the main calibration data, which ranges from hardware IDs to system keys.<br />
<br />
= CAL0 =<br />
This is the raw data stored under the PRODINFO partition.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Field<br />
! Description<br />
|-<br />
| 0x0000<br />
| 0x04<br />
| MagicNumber<br />
| "CAL0" header magic.<br />
|-<br />
| 0x0004<br />
| 0x04<br />
| Version<br />
| <br />
|-<br />
| 0x0008<br />
| 0x04<br />
| BodySize<br />
| Total size of calibration data starting at offset 0x40.<br />
|-<br />
| 0x000C<br />
| 0x02<br />
| Model<br />
| <br />
|-<br />
| 0x000E<br />
| 0x02<br />
| UpdateCount<br />
| Increases each time calibration data is installed.<br />
|-<br />
| 0x0020<br />
| 0x20<br />
| BodyHash<br />
| SHA256 hash calculated over calibration data.<br />
|-<br />
| 0x0040<br />
| 0x1E<br />
| ConfigurationId1<br />
| Configuration ID string.<br />
|-<br />
| 0x0060<br />
| 0x20<br />
| Reserved<br />
| Empty.<br />
|-<br />
| 0x0080<br />
| 0x04<br />
| WlanCountryCodesNum<br />
| Number of elements in the WlanCountryCodes array.<br />
|-<br />
| 0x0084<br />
| 0x04<br />
| WlanCountryCodesLastIndex<br />
| Index of the last element in the WlanCountryCodes array.<br />
|-<br />
| 0x0088<br />
| 0x180<br />
| WlanCountryCodes<br />
| Array of WLAN country code strings. Each element is 3 bytes (code + NULL terminator).<br />
|-<br />
| 0x0210<br />
| 0x06<br />
| WlanMacAddress<br />
| <br />
|-<br />
| 0x0220<br />
| 0x06<br />
| BdAddress<br />
| <br />
|-<br />
| 0x0230<br />
| 0x06<br />
| AccelerometerOffset<br />
| <br />
|-<br />
| 0x0238<br />
| 0x06<br />
| AccelerometerScale<br />
| <br />
|-<br />
| 0x0240<br />
| 0x06<br />
| GyroscopeOffset<br />
| <br />
|-<br />
| 0x0248<br />
| 0x06<br />
| GyroscopeScale<br />
| <br />
|-<br />
| 0x0250<br />
| 0x18<br />
| SerialNumber<br />
| <br />
|-<br />
| 0x0270<br />
| 0x30<br />
| EccP256DeviceKey<br />
| Device key (ECC-P256 version; empty and unused).<br />
|-<br />
| 0x02B0<br />
| 0x180<br />
| EccP256DeviceCertificate<br />
| Device certificate (ECC-P256 version; empty and unused).<br />
|-<br />
| 0x0440<br />
| 0x30<br />
| EccB233DeviceKey<br />
| Device key (ECC-B233 version; empty and unused).<br />
|-<br />
| 0x0480<br />
| 0x180<br />
| EccB233DeviceCertificate<br />
| Device certificate (ECC-B233 version; active).<br />
|-<br />
| 0x0610<br />
| 0x30<br />
| EccP256ETicketKey<br />
| ETicket key (ECC-P256 version; empty and unused).<br />
|-<br />
| 0x0650<br />
| 0x180<br />
| EccP256ETicketCertificate<br />
| ETicket certificate (ECC-P256 version; empty and unused).<br />
|-<br />
| 0x07E0<br />
| 0x30<br />
| EccB233ETicketKey<br />
| ETicket key (ECC-B233 version; empty and unused).<br />
|-<br />
| 0x0820<br />
| 0x180<br />
| EccB233ETicketCertificate<br />
| ETicket certificate (ECC-B233 version; empty and unused).<br />
|-<br />
| 0x09B0<br />
| 0x110<br />
| SslKey<br />
| SSL key (empty and unused).<br />
|-<br />
| 0x0AD0<br />
| 0x04<br />
| SslCertificateSize<br />
| Total size of the SSL certificate.<br />
|-<br />
| 0x0AE0<br />
| 0x800<br />
| SslCertificate<br />
| SSL certificate. Only SslCertificateSize bytes are used.<br />
|-<br />
| 0x12E0<br />
| 0x20<br />
| SslCertificateHash<br />
| SHA256 over the SSL certificate.<br />
|-<br />
| 0x1300<br />
| 0x1000<br />
| RandomNumber<br />
| Random generated data.<br />
|-<br />
| 0x2300<br />
| 0x20<br />
| RandomNumberHash<br />
| SHA256 over the random data block.<br />
|-<br />
| 0x2320<br />
| 0x110<br />
| GameCardKey<br />
| Gamecard key (empty and unused).<br />
|-<br />
| 0x2440<br />
| 0x400<br />
| GameCardCertificate<br />
| Gamecard certificate.<br />
|-<br />
| 0x2840<br />
| 0x20<br />
| GameCardCertificateHash<br />
| SHA256 over the Gamecard certificate.<br />
|-<br />
| 0x2860<br />
| 0x220<br />
| Rsa2048ETicketKey<br />
| ETicket key (RSA-2048 version; empty and unused).<br />
|-<br />
| 0x2A90<br />
| 0x240<br />
| Rsa2048ETicketCertificate<br />
| ETicket certificate (RSA-2048 version; active).<br />
|-<br />
| 0x2CE0<br />
| 0x18<br />
| BatteryLot<br />
| Battery lot string ID.<br />
|-<br />
| 0x2D00<br />
| 0x800<br />
| SpeakerCalibrationValue<br />
| Speaker calibration values. Only 0x5A bytes are used.<br />
|-<br />
| 0x3510<br />
| 0x04<br />
| RegionCode<br />
| 0=JPN 1=USA 2=EUR 3=AUS 4=CHN 5=KOR 6=HKG<br />
|-<br />
| 0x3520<br />
| 0x50<br />
| AmiiboKey<br />
| Amiibo key (ECQV and ECDSA versions).<br />
|-<br />
| 0x3580<br />
| 0x14<br />
| AmiiboEcqvCertificate<br />
| Amiibo certificate (ECQV version).<br />
|-<br />
| 0x35A0<br />
| 0x70<br />
| AmiiboEcdsaCertificate<br />
| Amiibo certificate (ECDSA version).<br />
|-<br />
| 0x3620<br />
| 0x40<br />
| AmiiboEcqvBlsKey<br />
| Amiibo key (ECQV-BLS version).<br />
|-<br />
| 0x3670<br />
| 0x20<br />
| AmiiboEcqvBlsCertificate<br />
| Amiibo certificate (ECQV-BLS version).<br />
|-<br />
| 0x36A0<br />
| 0x90<br />
| AmiiboEcqvBlsRootCertificate<br />
| Amiibo root certificate (ECQV-BLS version).<br />
|-<br />
| 0x3740<br />
| 0x04<br />
| ProductModel<br />
| 0 = Invalid, 1 = Nx, 2 = Copper, 3 = Iowa, 4 = Hoag, 5 = Calcio, 6 = Aula<br />
|-<br />
| 0x3750<br />
| 0x06<br />
| ColorVariation<br />
| <br />
|-<br />
| 0x3760<br />
| 0x0C<br />
| LcdBacklightBrightnessMapping<br />
| <br />
|-<br />
| 0x3770<br />
| 0x50<br />
| ExtendedEccB233DeviceKey<br />
| Extended device key (ECC-B233 version; active).<br />
|-<br />
| 0x37D0<br />
| 0x50<br />
| ExtendedEccP256ETicketKey<br />
| Extended ETicket key (ECC-P256 version; empty and unused).<br />
|-<br />
| 0x3830<br />
| 0x50<br />
| ExtendedEccB233ETicketKey<br />
| Extended ETicket key (ECC-B233 version; empty and unused).<br />
|-<br />
| 0x3890<br />
| 0x240<br />
| ExtendedRsa2048ETicketKey<br />
| Extended ETicket key (RSA-2048 version; active).<br />
|-<br />
| 0x3AE0<br />
| 0x130<br />
| ExtendedSslKey<br />
| Extended SSL key (active).<br />
|-<br />
| 0x3C20<br />
| 0x130<br />
| ExtendedGameCardKey<br />
| Extended Gamecard key (active).<br />
|-<br />
| 0x3D60<br />
| 0x04<br />
| LcdVendorId<br />
| <br />
|-<br />
| 0x3D70<br />
| 0x240<br />
| [5.0.0+] ExtendedRsa2048DeviceKey<br />
| Extended device key (RSA-2048 version; active).<br />
|-<br />
| 0x3FC0<br />
| 0x240<br />
| [5.0.0+] Rsa2048DeviceCertificate<br />
| Device certificate (RSA-2048 version; active).<br />
|-<br />
| 0x4210<br />
| 0x01<br />
| [5.0.0+] UsbTypeCPowerSourceCircuitVersion<br />
| <br />
|-<br />
| 0x4220<br />
| 0x04<br />
| [9.0.0+] HousingSubColor<br />
| <br />
|-<br />
| 0x4230<br />
| 0x04<br />
| [9.0.0+] HousingBezelColor<br />
| <br />
|-<br />
| 0x4240<br />
| 0x04<br />
| [9.0.0+] HousingMainColor1<br />
| <br />
|-<br />
| 0x4250<br />
| 0x04<br />
| [9.0.0+] HousingMainColor2<br />
| <br />
|-<br />
| 0x4260<br />
| 0x04<br />
| [9.0.0+] HousingMainColor3<br />
| <br />
|-<br />
| 0x4270<br />
| 0x01<br />
| [9.0.0+] AnalogStickModuleTypeL<br />
| <br />
|-<br />
| 0x4280<br />
| 0x12<br />
| [9.0.0+] AnalogStickModelParameterL<br />
| <br />
|-<br />
| 0x42A0<br />
| 0x09<br />
| [9.0.0+] AnalogStickFactoryCalibrationL<br />
| <br />
|-<br />
| 0x42B0<br />
| 0x01<br />
| [9.0.0+] AnalogStickModuleTypeR<br />
| <br />
|-<br />
| 0x42C0<br />
| 0x12<br />
| [9.0.0+] AnalogStickModelParameterR<br />
| <br />
|-<br />
| 0x42E0<br />
| 0x09<br />
| [9.0.0+] AnalogStickFactoryCalibrationR<br />
| <br />
|-<br />
| 0x42F0<br />
| 0x01<br />
| [9.0.0+] ConsoleSixAxisSensorModuleType<br />
| <br />
|-<br />
| 0x4300<br />
| 0x06<br />
| [9.0.0+] ConsoleSixAxisSensorHorizontalOffset<br />
| <br />
|-<br />
| 0x4310<br />
| 0x01<br />
| [6.0.0+] BatteryVersion<br />
| <br />
|-<br />
| 0x4320<br />
| 0x01<br />
| [10.0.0+] TouchIcVendorId<br />
| <br />
|-<br />
| 0x4330<br />
| 0x04<br />
| [9.0.0+] ColorModel<br />
| <br />
|-<br />
| 0x4340<br />
| 0x01<br />
| [10.0.0+] ConsoleSixAxisSensorMountType<br />
| <br />
|}<br />
<br />
== Error detection ==<br />
Each block of raw calibration data (with the exception of blocks with SHA256 hashes) is padded to 16 bytes, being the last 2 bytes a CRC-16 over said block.<br />
<br />
XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX<br />
00 00 00 00 00 00 00 00 00 00 00 00 00 00 YY YY<br />
<br />
XX == data<br />
00 == padding<br />
YY == crc<br />
<br />
The CRC-16 is generated as follows:<br />
unsigned int crc_16_table[16] = {<br />
0x0000, 0xCC01, 0xD801, 0x1400, 0xF001, 0x3C00, 0x2800, 0xE401,<br />
0xA001, 0x6C00, 0x7800, 0xB401, 0x5000, 0x9C01, 0x8801, 0x4400 };<br />
<br />
unsigned short int get_crc_16 (char *p, int n) {<br />
unsigned short int crc = 0x55AA;<br />
int r;<br />
<br />
while (n-- > 0) {<br />
r = crc_16_table[crc & 0xF];<br />
crc = (crc >> 4) & 0x0FFF;<br />
crc = crc ^ r ^ crc_16_table[*p & 0xF];<br />
<br />
r = crc_16_table[crc & 0xF];<br />
crc = (crc >> 4) & 0x0FFF;<br />
crc = crc ^ r ^ crc_16_table[(*p >> 4) & 0xF];<br />
<br />
p++;<br />
}<br />
<br />
return(crc);<br />
}</div>
Cai miao
https://switchbrew.org/w/index.php?title=Settings_services&diff=10627
Settings services
2021-01-30T09:20:43Z
<p>Cai miao: /* RegionCode */</p>
<hr />
<div>= set =<br />
This is "nn::settings::ISettingsServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || GetLanguageCode || No input, returns an output [[#LanguageCode]]. This is the current system language.<br />
|-<br />
| 1 || GetAvailableLanguageCodes || Takes a type-0xA buffer containing the [[#LanguageCode]] output array, returns an output s32.<br />
|-<br />
| 2 || [4.0.0+] MakeLanguageCode || Takes an input [[#Language]], returns an output [[#LanguageCode]].<br />
|-<br />
| 3 || GetAvailableLanguageCodeCount || No input, returns an output s32.<br />
|-<br />
| 4 || GetRegionCode || No input, returns a [[#RegionCode]].<br />
|-<br />
| 5 || [4.0.0+] GetAvailableLanguageCodes2 || Takes a type-0x6 buffer containing the [[#LanguageCode]] output array, returns an output s32.<br />
|-<br />
| 6 || [4.0.0+] GetAvailableLanguageCodeCount2 || No input, returns an output s32.<br />
|-<br />
| 7 || [4.0.0+] [[#GetKeyCodeMap]] || <br />
|-<br />
| 8 || [5.0.0+] GetQuestFlag || Identical to "set:sys" [[#set:sys|GetQuestFlag]].<br />
|-<br />
| 9 || [6.0.0+] GetKeyCodeMap2 || <br />
|-<br />
| 10 || [9.0.0+] [[#GetFirmwareVersionForDebug]] ||<br />
|-<br />
| 11 || [10.1.0+] [[#GetDeviceNickName]] || <br />
|}<br />
<br />
[4.0.0+] Official user-processes now use GetAvailableLanguageCodes2/GetAvailableLanguageCodeCount2 instead of {original commands}.<br />
<br />
In official user-processes in the [[#Language]]->[[#LanguageCode]] conversion function (MakeLanguageCode):<br />
* During one-time init, GetAvailableLanguageCodes is used to initialize the LanguageCodes array cache, with max_entries=0xF (buffer size in u64s). [4.0.0+] GetAvailableLanguageCodes2 is now used with max_entries 0x40.<br />
* [4.0.0+] When the input [[#Language]] is larger than the cached total_entries from the above command output, or [[#Language]] is negative, command MakeLanguageCode is used instead of the array.<br />
<br />
== GetKeyCodeMap ==<br />
Takes a type-0x16 output buffer containing KeyCodeMap, official sw uses fixed size 0x1000. This is probably related to HID keyboard.<br />
<br />
== GetFirmwareVersionForDebug ==<br />
Takes a type-0x16 output buffer containing a 0x80-byte "nn::oe::FirmwareVersionForDebug".<br />
<br />
This uses [[#GetDebugModeFlag]] internally, if the output flag is 0 an error is thrown.<br />
<br />
This runs the same code as GetFirmwareVersion2, with the last 0x80-bytes of the [[System_Version_Title|output]] being copied to the output buffer.<br />
<br />
== Language ==<br />
"nn::settings::Language" (s32) is basically array indices in the output array from GetAvailableLanguageCodes.<br />
<br />
== LanguageCode ==<br />
This is "nn::settings::LanguageCode".<br />
<br />
This is an u64, which is a NUL-terminated string.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Array-index / [[#Language]] || [[#LanguageCode]] || Icon [[NCA_Content_FS#FS-type3|language]] filename || Name<br />
|-<br />
| 0 || ja || "Japanese" || Japanese<br />
|-<br />
| 1 || en-US || "AmericanEnglish" || EnglishUs<br />
|-<br />
| 2 || fr || "French" || French<br />
|-<br />
| 3 || de || "German" || German<br />
|-<br />
| 4 || it || "Italian" || Italian<br />
|-<br />
| 5 || es || "Spanish" || Spanish<br />
|-<br />
| 6 || zh-CN || "Chinese" || Chinese<br />
|-<br />
| 7 || ko || "Korean" || Korean<br />
|-<br />
| 8 || nl || "Dutch" || Dutch<br />
|-<br />
| 9 || pt || "Portuguese" || Portuguese<br />
|-<br />
| 10 || ru || "Russian" || Russian<br />
|-<br />
| 11 || zh-TW || "Taiwanese" || Taiwanese<br />
|-<br />
| 12 || en-GB || "BritishEnglish" || EnglishUk<br />
|-<br />
| 13 || fr-CA || "CanadianFrench" || FrenchCa<br />
|-<br />
| 14 || es-419 || "LatinAmericanSpanish" || SpanishLatin<br />
|-<br />
| [4.0.0+] 15 || zh-Hans || "SimplifiedChinese" || ChineseSimplified<br />
|-<br />
| [4.0.0+] 16 || zh-Hant || "TraditionalChinese" || ChineseTraditional<br />
|-<br />
| [10.1.0+] 17 || pt-BR || "BrazilianPortuguese" || <br />
|}<br />
<br />
== RegionCode ==<br />
A region code is a signed 32-bit value representing a particular region (the one used in EULA, not the one from CAL0). Currently the available regions defined by the system are as follows:<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value || Region<br />
|-<br />
| 0 || Japan<br />
|-<br />
| 1 || The Americas<br />
|-<br />
| 2 || Europe<br />
|-<br />
| 3 || Australia/New Zealand<br />
|-<br />
| 4 || Hong Kong/Taiwan/Korea<br />
|-<br />
| 5 || China (Tencent)<br />
|-<br />
| Any other value || Considered an unknown region<br />
|-<br />
|}<br />
<br />
= set:fd =<br />
This is "nn::settings::IFirmwareDebugSettingsServer".<br />
<br />
[4.0.0+] Only exposed if in [[SPL_services#IsDevelopment|development mode]].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 2 || SetSettingsItemValue<br />
|-<br />
| 3 || ResetSettingsItemValue<br />
|-<br />
| 4 || [[#ISettingsItemKeyIterator|CreateSettingsItemKeyIterator]]<br />
|-<br />
| 10 || [4.0.0+] ReadSettings<br />
|-<br />
| 11 || [4.0.0+] ResetSettings<br />
|-<br />
| 20 || [4.0.0+] SetWebInspectorFlag<br />
|-<br />
| 21 || [4.0.0+] SetAllowedSslHosts<br />
|-<br />
| 22 || [4.0.0+] SetHostFsMountPoint<br />
|-<br />
| 23 || [9.0.0+] SetMemoryUsageRateFlag<br />
|}<br />
<br />
== ISettingsItemKeyIterator ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GoNext<br />
|-<br />
| 1 || GetKeySize<br />
|-<br />
| 2 || GetKey<br />
|}<br />
<br />
= set:cal =<br />
This is "nn::settings::IFactorySettingsServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetBluetoothBdAddress<br />
|-<br />
| 1 || [[#GetConfigurationId1]]<br />
|-<br />
| 2 || GetAccelerometerOffset<br />
|-<br />
| 3 || GetAccelerometerScale<br />
|-<br />
| 4 || GetGyroscopeOffset<br />
|-<br />
| 5 || GetGyroscopeScale<br />
|-<br />
| 6 || GetWirelessLanMacAddress<br />
|-<br />
| 7 || GetWirelessLanCountryCodeCount<br />
|-<br />
| 8 || GetWirelessLanCountryCodes<br />
|-<br />
| 9 || GetSerialNumber<br />
|-<br />
| 10 || SetInitialSystemAppletProgramId<br />
|-<br />
| 11 || SetOverlayDispProgramId<br />
|-<br />
| 12 || GetBatteryLot<br />
|-<br />
| 14 || [[#GetEciDeviceCertificate]]<br />
|-<br />
| 15 || [[#GetEticketDeviceCertificate]]<br />
|-<br />
| 16 || [[#GetSslKey]]<br />
|-<br />
| 17 || [[#GetSslCertificate]]<br />
|-<br />
| 18 || [[#GetGameCardKey]]<br />
|-<br />
| 19 || [[#GetGameCardCertificate]]<br />
|-<br />
| 20 || [[#GetEciDeviceKey]]<br />
|-<br />
| 21 || [[#GetEticketDeviceKey]]<br />
|-<br />
| 22 || GetSpeakerParameter<br />
|-<br />
| 23 || [4.0.0+] GetLcdVendorId<br />
|-<br />
| 24 || [5.0.0+] [[#GetEciDeviceCertificate2]]<br />
|-<br />
| 25 || [5.0.0+] [[#GetEciDeviceKey2]]<br />
|-<br />
| 26 || [5.0.0+] GetAmiiboKey<br />
|-<br />
| 27 || [5.0.0+] GetAmiiboEcqvCertificate<br />
|-<br />
| 28 || [5.0.0+] GetAmiiboEcdsaCertificate<br />
|-<br />
| 29 || [5.0.0+] GetAmiiboEcqvBlsKey<br />
|-<br />
| 30 || [5.0.0+] GetAmiiboEcqvBlsCertificate<br />
|-<br />
| 31 || [5.0.0+] GetAmiiboEcqvBlsRootCertificate<br />
|-<br />
| 32 || [5.0.0+] GetUsbTypeCPowerSourceCircuitVersion<br />
|-<br />
| 33 || [8.1.1+] GetAnalogStickModuleTypeL<br />
|-<br />
| 34 || [8.1.1+] GetAnalogStickModelParameterL<br />
|-<br />
| 35 || [8.1.1+] GetAnalogStickFactoryCalibrationL<br />
|-<br />
| 36 || [8.1.1+] GetAnalogStickModuleTypeR<br />
|-<br />
| 37 || [8.1.1+] GetAnalogStickModelParameterR<br />
|-<br />
| 38 || [8.1.1+] GetAnalogStickFactoryCalibrationR<br />
|-<br />
| 39 || [8.1.1+] GetConsoleSixAxisSensorModuleType<br />
|-<br />
| 40 || [8.1.1+] GetConsoleSixAxisSensorHorizontalOffset<br />
|-<br />
| 41 || [6.0.0+] GetBatteryVersion<br />
|-<br />
| 42 || [10.0.0+] [[#GetDeviceId]]<br />
|-<br />
| 43 || [10.0.0+] GetConsoleSixAxisSensorMountType<br />
|}<br />
<br />
Used for accessing data calibrated at the factory.<br />
<br />
== GetConfigurationId1 ==<br />
Returns the [[#ConfigurationId1]].<br />
<br />
== GetEciDeviceCertificate ==<br />
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate]].<br />
<br />
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this.<br />
<br />
== GetEticketDeviceCertificate ==<br />
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate]].<br />
<br />
Returns the ETicket certificate (RSA signed).<br />
<br />
== GetSslKey ==<br />
Takes a type-0x16 output buffer containing a [[#SslKey]].<br />
<br />
Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes).<br />
<br />
Used by SSL-sysmodule, see [[SSL_services|here]].<br />
<br />
== GetSslCertificate ==<br />
Takes a type-0x16 output buffer containing a [[#SslCertificate]].<br />
<br />
Used by SSL-sysmodule, see [[SSL_services|here]].<br />
<br />
== GetGameCardKey ==<br />
Takes a type-0x16 output buffer containing a [[#GameCardKey]].<br />
<br />
Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes).<br />
<br />
== GetGameCardCertificate ==<br />
Takes a type-0x16 output buffer containing a [[#GameCardCertificate]].<br />
<br />
== GetEciDeviceKey ==<br />
No input, returns an [[#EccB233DeviceKey]].<br />
<br />
Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes).<br />
<br />
== GetEticketDeviceKey ==<br />
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey]].<br />
<br />
Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes).<br />
<br />
== GetEciDeviceCertificate2 ==<br />
Same as [[#GetEciDeviceCertificate]], but [[#Rsa2048DeviceCertificate|returns]] a RSA-2048 variant of the device certificate.<br />
<br />
== GetEciDeviceKey2 ==<br />
Same as [[#GetEciDeviceKey]], but [[#Rsa2048DeviceKey|returns]] a RSA-2048 variant of the device key.<br />
<br />
== GetDeviceId ==<br />
Returns an u64 '''DeviceId''' by reading and converting the hexadecimal string at offset 0xC6 inside [[#EccB233DeviceCertificate]] or [[#Rsa2048DeviceCertificate]].<br />
<br />
== AccelerometerOffset ==<br />
This is "nn::settings::factory::AccelerometerOffset". Its size is 0x06 bytes.<br />
<br />
== AccelerometerScale ==<br />
This is "nn::settings::factory::AccelerometerScale". Its size is 0x06 bytes.<br />
<br />
== AmiiboEcdsaCertificate ==<br />
This is "nn::settings::factory::AmiiboEcdsaCertificate". Its size is 0x70 bytes.<br />
<br />
== AmiiboEcqvBlsCertificate ==<br />
This is "nn::settings::factory::AmiiboEcqvBlsCertificate". Its size is 0x20 bytes.<br />
<br />
== AmiiboEcqvBlsKey ==<br />
This is "nn::settings::factory::AmiiboEcqvBlsKey". Its size is 0x40 bytes.<br />
<br />
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x40<br />
| Key<br />
|-<br />
| 0x44<br />
| 0x4<br />
| Key generation<br />
|}<br />
<br />
== AmiiboEcqvBlsRootCertificate ==<br />
This is "nn::settings::factory::AmiiboEcqvBlsRootCertificate". Its size is 0x90 bytes.<br />
<br />
== AmiiboEcqvCertificate ==<br />
This is "nn::settings::factory::AmiiboEcqvCertificate". Its size is 0x14 bytes.<br />
<br />
== AmiiboKey ==<br />
This is "nn::settings::factory::AmiiboKey". Its size is 0x50 bytes.<br />
<br />
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x50<br />
| Key<br />
|-<br />
| 0x50<br />
| 0x4<br />
| Key generation<br />
|}<br />
<br />
== AnalogStickFactoryCalibration ==<br />
This is "nn::settings::factory::AnalogStickFactoryCalibration". Its size is 0x09 bytes.<br />
<br />
== AnalogStickModelParameter ==<br />
This is "nn::settings::factory::AnalogStickModelParameter". Its size is 0x12 bytes.<br />
<br />
== BatteryLot ==<br />
This is "nn::settings::BatteryLot". Its size is 0x18 bytes.<br />
<br />
== BdAddress ==<br />
This is "nn::settings::factory::BdAddress". Its size is 0x06 bytes.<br />
<br />
== ConfigurationId1 ==<br />
This is "nn::settings::factory::ConfigurationId1". Its size is 0x1E bytes.<br />
<br />
Usually, this is a string with the following format:<br />
{DutType}_{ProductModelType}_{major_version}_{minor_version}_{micro_version}<br />
<br />
Where:<br />
{DutType}: "FP", "EP", "MP", "MNX", "EDEV", "SDEV", "HDEV", "HOAG", "COPPER", "CALCIO".<br />
{ProductModelType}: 2 digit number.<br />
{major_version}: 2 digit number.<br />
{minor_version}: 2 digit number.<br />
{micro_version}: 2 digit number.<br />
<br />
== ConsoleSixAxisSensorHorizontalOffset ==<br />
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Its size is 0x06 bytes.<br />
<br />
== CountryCode ==<br />
This is "nn::settings::factory::CountryCode". Its size is 0x04 bytes.<br />
<br />
== EccB233DeviceCertificate ==<br />
This is "nn::settings::factory::EccB233DeviceCertificate". Its size is 0x180 bytes.<br />
<br />
== EccB233DeviceKey ==<br />
This is "nn::settings::factory::EccB233DeviceKey". Its size is 0x30 bytes or 0x54 bytes in the extended version.<br />
<br />
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x54<br />
| Key<br />
|-<br />
| 0x54<br />
| 0x4<br />
| Key generation<br />
|}<br />
<br />
== GameCardCertificate ==<br />
This is "nn::settings::factory::GameCardCertificate". Its size is 0x400 bytes.<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x400<br />
| GameCard certificate data<br />
|}<br />
<br />
== GameCardKey ==<br />
This is "nn::settings::factory::GameCardKey". Its size is 0x110 bytes or 0x130 bytes in the extended version.<br />
<br />
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x130<br />
| Key<br />
|-<br />
| 0x130<br />
| 0x4<br />
| Key generation<br />
|}<br />
<br />
== GyroscopeOffset ==<br />
This is "nn::settings::factory::GyroscopeOffset". Its size is 0x06 bytes.<br />
<br />
== GyroscopeScale ==<br />
This is "nn::settings::factory::GyroscopeScale". Its size is 0x06 bytes.<br />
<br />
== MacAddress ==<br />
This is "nn::settings::factory::MacAddress". Its size is 0x06 bytes.<br />
<br />
== Rsa2048DeviceCertificate ==<br />
This is "nn::settings::factory::Rsa2048DeviceCertificate". Its size is 0x240 bytes.<br />
<br />
== Rsa2048DeviceKey ==<br />
This is "nn::settings::factory::Rsa2048DeviceKey". Its size is 0x220 bytes or 0x240 bytes in the extended version.<br />
<br />
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x240<br />
| Key<br />
|-<br />
| 0x240<br />
| 0x4<br />
| Key generation<br />
|}<br />
<br />
== SerialNumber ==<br />
This is "nn::settings::factory::SerialNumber". Its size is 0x18 bytes.<br />
<br />
== SpeakerParameter ==<br />
This is "nn::settings::factory::SpeakerParameter". Its size is 0x5A bytes.<br />
<br />
== SslCertificate ==<br />
This is "nn::settings::factory::SslCertificate". Its maximum size is 0x804 bytes.<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x4<br />
| SSL certificate size<br />
|-<br />
| 0x4<br />
| {above size}<br />
| SSL certificate data<br />
|}<br />
<br />
== SslKey ==<br />
This is "nn::settings::factory::SslKey". Its size is 0x110 bytes or 0x130 bytes in the extended version.<br />
<br />
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Name<br />
|-<br />
| 0x0<br />
| 0x130<br />
| Key<br />
|-<br />
| 0x130<br />
| 0x4<br />
| Key generation<br />
|}<br />
<br />
== RegionCode ==<br />
This is "nn::settings::factory::RegionCode". Its size is 0x04 bytes.<br />
<br />
= set:sys =<br />
This is "nn::settings::ISystemSettingsServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [[#SetLanguageCode]]<br />
|-<br />
| 1 || SetNetworkSettings<br />
|-<br />
| 2 || GetNetworkSettings<br />
|-<br />
| 3 || [[#GetFirmwareVersion]]<br />
|-<br />
| 4 || [3.0.0+] GetFirmwareVersion2<br />
|-<br />
| 5 || [5.0.0+] GetFirmwareVersionDigest<br />
|-<br />
| 7 || GetLockScreenFlag<br />
|-<br />
| 8 || SetLockScreenFlag<br />
|-<br />
| 9 || GetBacklightSettings<br />
|-<br />
| 10 || SetBacklightSettings<br />
|-<br />
| 11 || SetBluetoothDevicesSettings<br />
|-<br />
| 12 || GetBluetoothDevicesSettings<br />
|-<br />
| 13 || GetExternalSteadyClockSourceId<br />
|-<br />
| 14 || SetExternalSteadyClockSourceId<br />
|-<br />
| 15 || GetUserSystemClockContext<br />
|-<br />
| 16 || SetUserSystemClockContext<br />
|-<br />
| 17 || [[#GetAccountSettings]]<br />
|-<br />
| 18 || [[#SetAccountSettings]]<br />
|-<br />
| 19 || GetAudioVolume<br />
|-<br />
| 20 || SetAudioVolume<br />
|-<br />
| 21 || [[#GetEulaVersions]]<br />
|-<br />
| 22 || [[#SetEulaVersions]]<br />
|-<br />
| 23 || [[#GetColorSetId]]<br />
|-<br />
| 24 || [[#SetColorSetId]]<br />
|-<br />
| 25 || GetConsoleInformationUploadFlag<br />
|-<br />
| 26 || SetConsoleInformationUploadFlag<br />
|-<br />
| 27 || GetAutomaticApplicationDownloadFlag<br />
|-<br />
| 28 || SetAutomaticApplicationDownloadFlag<br />
|-<br />
| 29 || [[#GetNotificationSettings]]<br />
|-<br />
| 30 || [[#SetNotificationSettings]]<br />
|-<br />
| 31 || [[#GetAccountNotificationSettings]]<br />
|-<br />
| 32 || [[#SetAccountNotificationSettings]]<br />
|-<br />
| 35 || GetVibrationMasterVolume<br />
|-<br />
| 36 || SetVibrationMasterVolume<br />
|-<br />
| 37 || GetSettingsItemValueSize<br />
|-<br />
| 38 || [[#GetSettingsItemValue]]<br />
|-<br />
| 39 || [[#GetTvSettings]]<br />
|-<br />
| 40 || [[#SetTvSettings]]<br />
|-<br />
| 41 || GetEdid<br />
|-<br />
| 42 || SetEdid<br />
|-<br />
| 43 || GetAudioOutputMode<br />
|-<br />
| 44 || SetAudioOutputMode<br />
|-<br />
| 45 || IsForceMuteOnHeadphoneRemoved<br />
|-<br />
| 46 || SetForceMuteOnHeadphoneRemoved<br />
|-<br />
| 47 || [[#GetQuestFlag]]<br />
|-<br />
| 48 || SetQuestFlag<br />
|-<br />
| 49 || [[#GetDataDeletionSettings]]<br />
|-<br />
| 50 || [[#SetDataDeletionSettings]]<br />
|-<br />
| 51 || GetInitialSystemAppletProgramId<br />
|-<br />
| 52 || GetOverlayDispProgramId<br />
|-<br />
| 53 || GetDeviceTimeZoneLocationName<br />
|-<br />
| 54 || SetDeviceTimeZoneLocationName<br />
|-<br />
| 55 || [[#GetWirelessCertificationFileSize]]<br />
|-<br />
| 56 || [[#GetWirelessCertificationFile]]<br />
|-<br />
| 57 || [[#SetRegionCode]]<br />
|-<br />
| 58 || GetNetworkSystemClockContext<br />
|-<br />
| 59 || SetNetworkSystemClockContext<br />
|-<br />
| 60 || IsUserSystemClockAutomaticCorrectionEnabled<br />
|-<br />
| 61 || SetUserSystemClockAutomaticCorrectionEnabled<br />
|-<br />
| 62 || [[#GetDebugModeFlag]]<br />
|-<br />
| 63 || [[#GetPrimaryAlbumStorage]]<br />
|-<br />
| 64 || [[#SetPrimaryAlbumStorage]]<br />
|-<br />
| 65 || GetUsb30EnableFlag<br />
|-<br />
| 66 || SetUsb30EnableFlag<br />
|-<br />
| 67 || [[#GetBatteryLot]]<br />
|-<br />
| 68 || [[#GetSerialNumber]]<br />
|-<br />
| 69 || GetNfcEnableFlag<br />
|-<br />
| 70 || SetNfcEnableFlag<br />
|-<br />
| 71 || [[#GetSleepSettings]]<br />
|-<br />
| 72 || [[#SetSleepSettings]]<br />
|-<br />
| 73 || GetWirelessLanEnableFlag<br />
|-<br />
| 74 || SetWirelessLanEnableFlag<br />
|-<br />
| 75 || [[#GetInitialLaunchSettings]]<br />
|-<br />
| 76 || [[#SetInitialLaunchSettings]]<br />
|-<br />
| 77 || [[#GetDeviceNickName]]<br />
|-<br />
| 78 || [[#SetDeviceNickName]]<br />
|-<br />
| 79 || [[#GetProductModel]]<br />
|-<br />
| 80 || GetLdnChannel<br />
|-<br />
| 81 || SetLdnChannel<br />
|-<br />
| 82 || AcquireTelemetryDirtyFlagEventHandle<br />
|-<br />
| 83 || GetTelemetryDirtyFlags<br />
|-<br />
| 84 || GetPtmBatteryLot<br />
|-<br />
| 85 || SetPtmBatteryLot<br />
|-<br />
| 86 || GetPtmFuelGaugeParameter<br />
|-<br />
| 87 || SetPtmFuelGaugeParameter<br />
|-<br />
| 88 || GetBluetoothEnableFlag<br />
|-<br />
| 89 || SetBluetoothEnableFlag<br />
|-<br />
| 90 || [[#GetMiiAuthorId]]<br />
|-<br />
| 91 || SetShutdownRtcValue<br />
|-<br />
| 92 || GetShutdownRtcValue<br />
|-<br />
| 93 || AcquireFatalDirtyFlagEventHandle<br />
|-<br />
| 94 || GetFatalDirtyFlags<br />
|-<br />
| 95 || [2.0.0+] GetAutoUpdateEnableFlag<br />
|-<br />
| 96 || [2.0.0+] SetAutoUpdateEnableFlag<br />
|-<br />
| 97 || [2.0.0+] GetNxControllerSettings<br />
|-<br />
| 98 || [2.0.0+] SetNxControllerSettings<br />
|-<br />
| 99 || [2.0.0+] GetBatteryPercentageFlag<br />
|-<br />
| 100 || [2.0.0+] SetBatteryPercentageFlag<br />
|-<br />
| 101 || [2.0.0+] GetExternalRtcResetFlag<br />
|-<br />
| 102 || [2.0.0+] SetExternalRtcResetFlag<br />
|-<br />
| 103 || [3.0.0+] GetUsbFullKeyEnableFlag<br />
|-<br />
| 104 || [3.0.0+] SetUsbFullKeyEnableFlag<br />
|-<br />
| 105 || [3.0.0+] SetExternalSteadyClockInternalOffset<br />
|-<br />
| 106 || [3.0.0+] GetExternalSteadyClockInternalOffset<br />
|-<br />
| 107 || [3.0.0+] GetBacklightSettingsEx<br />
|-<br />
| 108 || [3.0.0+] SetBacklightSettingsEx<br />
|-<br />
| 109 || [3.0.0+] GetHeadphoneVolumeWarningCount<br />
|-<br />
| 110 || [3.0.0+] SetHeadphoneVolumeWarningCount<br />
|-<br />
| 111 || [3.0.0+] GetBluetoothAfhEnableFlag<br />
|-<br />
| 112 || [3.0.0+] SetBluetoothAfhEnableFlag<br />
|-<br />
| 113 || [3.0.0+] GetBluetoothBoostEnableFlag<br />
|-<br />
| 114 || [3.0.0+] SetBluetoothBoostEnableFlag<br />
|-<br />
| 115 || [3.0.0+] GetInRepairProcessEnableFlag<br />
|-<br />
| 116 || [3.0.0+] SetInRepairProcessEnableFlag<br />
|-<br />
| 117 || [3.0.0+] GetHeadphoneVolumeUpdateFlag<br />
|-<br />
| 118 || [3.0.0+] SetHeadphoneVolumeUpdateFlag<br />
|-<br />
| 119 || [3.0.0+] NeedsToUpdateHeadphoneVolume<br />
|-<br />
| 120 || [3.0.0+] GetPushNotificationActivityModeOnSleep<br />
|-<br />
| 121 || [3.0.0+] SetPushNotificationActivityModeOnSleep<br />
|-<br />
| 122 || [4.0.0+] [[#GetServiceDiscoveryControlSettings]]<br />
|-<br />
| 123 || [4.0.0+] SetServiceDiscoveryControlSettings<br />
|-<br />
| 124 || [4.0.0+] [[#GetErrorReportSharePermission]]<br />
|-<br />
| 125 || [4.0.0+] [[#SetErrorReportSharePermission]]<br />
|-<br />
| 126 || [4.0.0+] [[#GetAppletLaunchFlags]]<br />
|-<br />
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]<br />
|-<br />
| 128 || [4.0.0+] GetConsoleSixAxisSensorAccelerationBias<br />
|-<br />
| 129 || [4.0.0+] SetConsoleSixAxisSensorAccelerationBias<br />
|-<br />
| 130 || [4.0.0+] GetConsoleSixAxisSensorAngularVelocityBias<br />
|-<br />
| 131 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityBias<br />
|-<br />
| 132 || [4.0.0+] GetConsoleSixAxisSensorAccelerationGain<br />
|-<br />
| 133 || [4.0.0+] SetConsoleSixAxisSensorAccelerationGain<br />
|-<br />
| 134 || [4.0.0+] GetConsoleSixAxisSensorAngularVelocityGain<br />
|-<br />
| 135 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain<br />
|-<br />
| 136 || [4.0.0+] [[#GetKeyboardLayout]]<br />
|-<br />
| 137 || [4.0.0+] [[#SetKeyboardLayout]]<br />
|-<br />
| 138 || [4.0.0+] GetWebInspectorFlag<br />
|-<br />
| 139 || [4.0.0+] [[#GetAllowedSslHosts]]<br />
|-<br />
| 140 || [4.0.0+] GetHostFsMountPoint<br />
|-<br />
| 141 || [5.0.0+] GetRequiresRunRepairTimeReviser<br />
|-<br />
| 142 || [5.0.0+] SetRequiresRunRepairTimeReviser<br />
|-<br />
| 143 || [5.0.0+] SetBlePairingSettings<br />
|-<br />
| 144 || [5.0.0+] GetBlePairingSettings<br />
|-<br />
| 145 || [5.0.0+] GetConsoleSixAxisSensorAngularVelocityTimeBias<br />
|-<br />
| 146 || [5.0.0+] SetConsoleSixAxisSensorAngularVelocityTimeBias<br />
|-<br />
| 147 || [5.0.0+] GetConsoleSixAxisSensorAngularAcceleration<br />
|-<br />
| 148 || [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration<br />
|-<br />
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]<br />
|-<br />
| 150 || [5.0.0+] GetDeviceTimeZoneLocationUpdatedTime<br />
|-<br />
| 151 || [5.0.0+] SetDeviceTimeZoneLocationUpdatedTime<br />
|-<br />
| 152 || [6.0.0+] GetUserSystemClockAutomaticCorrectionUpdatedTime<br />
|-<br />
| 153 || [6.0.0+] SetUserSystemClockAutomaticCorrectionUpdatedTime<br />
|-<br />
| 154 || [6.0.0+] GetAccountOnlineStorageSettings<br />
|-<br />
| 155 || [6.0.0+] SetAccountOnlineStorageSettings<br />
|-<br />
| 156 || [6.0.0+] GetPctlReadyFlag<br />
|-<br />
| 157 || [6.0.0+] SetPctlReadyFlag<br />
|-<br />
| 158 || [8.1.1+] GetAnalogStickUserCalibrationL<br />
|-<br />
| 159 || [8.1.1+] SetAnalogStickUserCalibrationL<br />
|-<br />
| 160 || [8.1.1+] GetAnalogStickUserCalibrationR<br />
|-<br />
| 161 || [8.1.1+] SetAnalogStickUserCalibrationR<br />
|-<br />
| 162 || [6.0.0+] GetPtmBatteryVersion<br />
|-<br />
| 163 || [6.0.0+] SetPtmBatteryVersion<br />
|-<br />
| 164 || [6.0.0+] GetUsb30HostEnableFlag<br />
|-<br />
| 165 || [6.0.0+] SetUsb30HostEnableFlag<br />
|-<br />
| 166 || [6.0.0+] GetUsb30DeviceEnableFlag<br />
|-<br />
| 167 || [6.0.0+] SetUsb30DeviceEnableFlag<br />
|-<br />
| 168 || [7.0.0+] GetThemeId<br />
|-<br />
| 169 || [7.0.0+] SetThemeId<br />
|-<br />
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]<br />
|-<br />
| 171 || [7.0.0+] [[#SetChineseTraditionalInputMethod]]<br />
|-<br />
| 172 || [7.0.0+] GetPtmCycleCountReliability<br />
|-<br />
| 173 || [7.0.0+] SetPtmCycleCountReliability<br />
|-<br />
| 174 || [8.1.1+] [[#GetHomeMenuScheme]]<br />
|-<br />
| 175 || [7.0.0+] GetThemeSettings<br />
|-<br />
| 176 || [7.0.0+] SetThemeSettings<br />
|-<br />
| 177 || [7.0.0+] GetThemeKey<br />
|-<br />
| 178 || [7.0.0+] SetThemeKey<br />
|-<br />
| 179 || [8.0.0+] GetZoomFlag<br />
|-<br />
| 180 || [8.0.0+] SetZoomFlag<br />
|-<br />
| 181 || [8.0.0+] [[#GetT]]<br />
|-<br />
| 182 || [8.0.0+] [[#SetT]]<br />
|-<br />
| 183 || [9.0.0+] [[#GetPlatformRegion]]<br />
|-<br />
| 184 || [9.0.0+] [[#SetPlatformRegion]]<br />
|-<br />
| 185 || [9.0.0+] [[#GetHomeMenuSchemeModel]]<br />
|-<br />
| 186 || [9.0.0+] [[#GetMemoryUsageRateFlag]]<br />
|-<br />
| 187 || [9.0.0+] [[#GetTouchScreenMode]]<br />
|-<br />
| 188 || [9.0.0+] [[#SetTouchScreenMode]]<br />
|-<br />
| 189 || [10.0.0+] [[#GetButtonConfigSettingsFull]]<br />
|-<br />
| 190 || [10.0.0+] [[#SetButtonConfigSettingsFull]]<br />
|-<br />
| 191 || [10.0.0+] [[#GetButtonConfigSettingsEmbedded]]<br />
|-<br />
| 192 || [10.0.0+] [[#SetButtonConfigSettingsEmbedded]]<br />
|-<br />
| 193 || [10.0.0+] [[#GetButtonConfigSettingsLeft]]<br />
|-<br />
| 194 || [10.0.0+] [[#SetButtonConfigSettingsLeft]]<br />
|-<br />
| 195 || [10.0.0+] [[#GetButtonConfigSettingsRight]]<br />
|-<br />
| 196 || [10.0.0+] [[#SetButtonConfigSettingsRight]]<br />
|-<br />
| 197 || [10.0.0+] [[#GetButtonConfigRegisteredSettingsEmbedded]]<br />
|-<br />
| 198 || [10.0.0+] [[#SetButtonConfigRegisteredSettingsEmbedded]]<br />
|-<br />
| 199 || [10.0.0+] [[#GetButtonConfigRegisteredSettings]]<br />
|-<br />
| 200 || [10.0.0+] [[#SetButtonConfigRegisteredSettings]]<br />
|-<br />
| 201 || [10.1.0+] [[#GetFieldTestingFlag]]<br />
|-<br />
| 202 || [10.1.0+] [[#SetFieldTestingFlag]]<br />
|-<br />
| 203 || [11.0.0+] GetPanelCrcMode<br />
|-<br />
| 204 || [11.0.0+] SetPanelCrcMode<br />
|}<br />
<br />
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards.<br />
<br />
== SetLanguageCode ==<br />
Takes an input [[#LanguageCode]], no output.<br />
<br />
== GetFirmwareVersion ==<br />
Takes a type-0x1A output buffer. User-processes use hard-coded size 0x100.<br />
<br />
If needed, reads the content of the [[System_Version_Title]] "/file" into state. This is only done once.<br />
<br />
Then the above 0x100-byte data is copied to the output buffer.<br />
<br />
== GetAccountSettings ==<br />
No input, returns an output [[#AccountSettings]].<br />
<br />
== SetAccountSettings ==<br />
Takes an input [[#AccountSettings]], no output.<br />
<br />
== GetEulaVersions ==<br />
Takes a type-0x6 output buffer containing an array of [[#EulaVersion]], returns an output s32 total_out.<br />
<br />
== SetEulaVersions ==<br />
Takes a type-0x5 input buffer containing an array of [[#EulaVersion]], no output.<br />
<br />
== GetColorSetId ==<br />
No input, returns an output s32.<br />
<br />
This is the current Theme set by System Settings.<br />
<br />
* 0: "Basic White"<br />
* 1: "Basic Black"<br />
<br />
== SetColorSetId ==<br />
Takes an input s32, no output.<br />
<br />
== GetNotificationSettings ==<br />
No input, returns an output [[#NotificationSettings]].<br />
<br />
== SetNotificationSettings ==<br />
Takes an input [[#NotificationSettings]], no output.<br />
<br />
== GetAccountNotificationSettings ==<br />
Takes a type-0x6 output buffer containing an array of [[#AccountNotificationSettings]], returns an output s32 total_out.<br />
<br />
== SetAccountNotificationSettings ==<br />
Takes a type-0x5 input buffer containing an array of [[#AccountNotificationSettings]], no output.<br />
<br />
== GetSettingsItemValue ==<br />
Takes two type-0x19 input buffers and a type-0x6 output buffer. Returns an output u64 for the actual size written to the outbuf.<br />
<br />
The outbuf_size is compared with the config_size. When config_size is larger than outbuf_size, outbuf_size is used for the memcpy, otherwise config_size is used. Afterwards the size used for the memcpy is written to output(see above).<br />
<br />
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.<br />
<br />
== GetTvSettings ==<br />
No input, returns an output [[#TvSettings]].<br />
<br />
== SetTvSettings ==<br />
Takes an input [[#TvSettings]], no output.<br />
<br />
== GetDebugModeFlag ==<br />
Returns an output u8.<br />
<br />
Loads the 1-byte config for <"settings_debug", "is_debug_mode_enabled">. If that fails, value 0x1 is written to output. This uses the same func as ReadSetting internally.<br />
<br />
Returned retval is always 0.<br />
<br />
== GetPrimaryAlbumStorage ==<br />
No input, returns an output s32 [[#PrimaryAlbumStorage]].<br />
<br />
== SetPrimaryAlbumStorage ==<br />
Takes an input s32 [[#PrimaryAlbumStorage]], no output.<br />
<br />
== GetBatteryLot ==<br />
No input, returns an output [[#BatteryLot]].<br />
<br />
== GetSerialNumber ==<br />
Returns the 0x18-byte SerialNumber string.<br />
<br />
== GetSleepSettings ==<br />
No input, returns an output [[#SleepSettings]].<br />
<br />
== SetSleepSettings ==<br />
Takes an input [[#SleepSettings]], no output.<br />
<br />
== GetInitialLaunchSettings ==<br />
No input, returns an output [[#InitialLaunchSettings]].<br />
<br />
== SetInitialLaunchSettings ==<br />
Takes an input [[#InitialLaunchSettings]], no output.<br />
<br />
== GetDeviceNickName ==<br />
Takes a type-0x16 output buffer containing a [[#DeviceNickName]].<br />
<br />
With [10.1.0+] sdknso now uses the set cmd instead of the setsys cmd.<br />
<br />
== SetDeviceNickName ==<br />
Takes a type-0x15 input buffer containing a [[#DeviceNickName]].<br />
<br />
== GetProductModel ==<br />
No input, returns an output s32.<br />
<br />
== GetMiiAuthorId ==<br />
No input, returns an output "nn::util::Uuid".<br />
<br />
== GetServiceDiscoveryControlSettings ==<br />
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].<br />
<br />
== GetErrorReportSharePermission ==<br />
No input, returns an output s32 [[#ErrorReportSharePermission]].<br />
<br />
== SetErrorReportSharePermission ==<br />
Takes an input s32 [[#ErrorReportSharePermission]], no output.<br />
<br />
== GetAppletLaunchFlags ==<br />
No input, returns an u32 bitmask [[#AppletLaunchFlag]].<br />
<br />
== SetAppletLaunchFlags ==<br />
Takes an input u32 bitmask [[#AppletLaunchFlag]], no output.<br />
<br />
== GetKeyboardLayout ==<br />
No input, returns an output s32 [[#KeyboardLayout]].<br />
<br />
== SetKeyboardLayout ==<br />
Takes an input s32 [[#KeyboardLayout]], no output.<br />
<br />
== GetAllowedSslHosts ==<br />
Takes a type-0x6 output buffer, returns an output s32 entry count. This buffer contains an array of 0x100-byte "nn::settings::system::AllowedSslHost" entries.<br />
<br />
== GetRebootlessSystemUpdateVersion ==<br />
No input, returns an output [[#RebootlessSystemUpdateVersion]].<br />
<br />
== GetQuestFlag ==<br />
Gets a flag determining whether the console is a kiosk unit (codenamed "Quest"). Used by qlaunch to determine whether to launch Retail Interactive Display Menu.<br />
<br />
== GetDataDeletionSettings ==<br />
No input, returns an output [[#DataDeletionSettings]].<br />
<br />
== SetDataDeletionSettings ==<br />
Takes an input [[#DataDeletionSettings]], no output.<br />
<br />
== GetWirelessCertificationFileSize ==<br />
No input, returns an output u64 size.<br />
<br />
== GetWirelessCertificationFile ==<br />
Takes a type-0x6 output buffer, returns an output u64 size.<br />
<br />
This gets the [[Flash_Filesystem#PRODINFOF|WirelessCertificationFile]].<br />
<br />
== SetRegionCode ==<br />
Takes an input s32 [[#RegionCode]], no output.<br />
<br />
== GetChineseTraditionalInputMethod ==<br />
No input, returns an output s32 [[#ChineseTraditionalInputMethod]].<br />
<br />
== SetChineseTraditionalInputMethod ==<br />
Takes an input s32 [[#ChineseTraditionalInputMethod]], no output.<br />
<br />
== GetHomeMenuScheme ==<br />
No input, returns an output 0x14-byte struct "nn::settings::system::HomeMenuScheme".<br />
<br />
This struct contains 5 RGBA8 u32s for colors: '''Main''', '''Back''', '''Sub''', '''Bezel''' and '''Extra'''.<br />
<br />
The colors are loaded from [[Calibration]], with the set of fields to use selected by ColorVariation. When ColorVariation is invalid (must be 1-4), the following fixed color values are returned: 0xFF323232, 0xFF323232, 0xFFFFFFFF, 0xFFFFFFFF, 0xFF000000.<br />
<br />
== GetT ==<br />
No input, returns an output u8 bool '''IsT'''.<br />
<br />
[9.0.0+] This is a wrapper for [[#GetPlatformRegion]]: <code>IsT = (PlatformRegion == 2)</code>.<br />
<br />
== SetT ==<br />
Takes an input u8 bool '''IsT''', no output.<br />
<br />
[9.0.0+] This is a wrapper for [[#SetPlatformRegion]]: <code>PlatformRegion = 1 + (IsT & 1)</code>.<br />
<br />
== GetPlatformRegion ==<br />
No input, returns an output s32.<br />
<br />
== SetPlatformRegion ==<br />
Takes an input s32, no output.<br />
<br />
== GetHomeMenuSchemeModel ==<br />
No input, returns an output u32.<br />
<br />
Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration]].<br />
<br />
== GetMemoryUsageRateFlag ==<br />
No input, returns an output u8 bool.<br />
<br />
== GetTouchScreenMode ==<br />
No input, returns an output s32.<br />
<br />
Official sw loads the output as an u8 and copies it to an output [[#TouchScreenMode]].<br />
<br />
== SetTouchScreenMode ==<br />
Takes an input s32, no output.<br />
<br />
Official sw sets the input to an u8 loaded from an input [[#TouchScreenMode]].<br />
<br />
== GetButtonConfigSettingsFull ==<br />
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.<br />
<br />
== SetButtonConfigSettingsFull ==<br />
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.<br />
<br />
== GetButtonConfigSettingsEmbedded ==<br />
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.<br />
<br />
== SetButtonConfigSettingsEmbedded ==<br />
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.<br />
<br />
== GetButtonConfigSettingsLeft ==<br />
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.<br />
<br />
== SetButtonConfigSettingsLeft ==<br />
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.<br />
<br />
== GetButtonConfigSettingsRight ==<br />
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.<br />
<br />
== SetButtonConfigSettingsRight ==<br />
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.<br />
<br />
== GetButtonConfigRegisteredSettingsEmbedded ==<br />
Takes a type-0x16 output buffer containing a [[#ButtonConfigRegisteredSettings]], no output.<br />
<br />
== SetButtonConfigRegisteredSettingsEmbedded ==<br />
Takes a type-0x15 input buffer containing a [[#ButtonConfigRegisteredSettings]], no output.<br />
<br />
== GetButtonConfigRegisteredSettings ==<br />
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigRegisteredSettings]], returns an output s32.<br />
<br />
== SetButtonConfigRegisteredSettings ==<br />
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigRegisteredSettings]], no output.<br />
<br />
== GetFieldTestingFlag ==<br />
No input, returns an output bool.<br />
<br />
== SetFieldTestingFlag ==<br />
Takes an input bool, no output.<br />
<br />
== DeviceNickName ==<br />
This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct.<br />
<br />
== UserSelectorFlag ==<br />
This is "nn::settings::system::UserSelectorFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || SkipsIfSingleUser<br />
|-<br />
| 31 || Unknown<br />
|}<br />
<br />
== UserSelectorSettings ==<br />
This is "nn::settings::system::UserSelectorSettings".<br />
<br />
This contains an u32 bitmask for [[#UserSelectorFlag]].<br />
<br />
== AccountSettings ==<br />
This is "nn::settings::system::AccountSettings".<br />
<br />
This contains [[#UserSelectorSettings]].<br />
<br />
== SteadyClockSourceId ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || NetworkSystemClock<br />
|-<br />
| 1 || SteadyClock<br />
|}<br />
<br />
== NotificationVolume ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || Mute<br />
|-<br />
| 1 || Low<br />
|-<br />
| 2 || High<br />
|}<br />
<br />
== FriendPresenceOverlayPermission ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || NotConfirmed<br />
|-<br />
| 1 || NoDisplay<br />
|-<br />
| 2 || FavoriteFriends<br />
|-<br />
| 3 || Friends<br />
|}<br />
<br />
== TvResolution ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || Auto<br />
|-<br />
| 1 || 1080p<br />
|-<br />
| 2 || 720p<br />
|-<br />
| 3 || 480p<br />
|}<br />
<br />
== HdmiContentType ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || None<br />
|-<br />
| 1 || Graphics<br />
|-<br />
| 2 || Cinema<br />
|-<br />
| 3 || Photo<br />
|-<br />
| 4 || Game<br />
|}<br />
<br />
== RgbRange ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || Auto<br />
|-<br />
| 1 || Full<br />
|-<br />
| 2 || Limited<br />
|}<br />
<br />
== CmuMode ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || None<br />
|-<br />
| 1 || ColorInvert<br />
|-<br />
| 2 || HighContrast<br />
|-<br />
| 3 || GrayScale<br />
|}<br />
<br />
== HandheldSleepPlan ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || 1Min<br />
|-<br />
| 1 || 3Min<br />
|-<br />
| 2 || 5Min<br />
|-<br />
| 3 || 10Min<br />
|-<br />
| 4 || 30Min<br />
|-<br />
| 5 || Never<br />
|}<br />
<br />
== ConsoleSleepPlan ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || 1Hour<br />
|-<br />
| 1 || 2Hour<br />
|-<br />
| 2 || 3Hour<br />
|-<br />
| 3 || 6Hour<br />
|-<br />
| 4 || 12Hour<br />
|-<br />
| 5 || Never<br />
|}<br />
<br />
== EulaVersion ==<br />
This is "nn::settings::system::EulaVersion".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || Version<br />
|-<br />
| 0x4 || 0x4 || RegionCode<br />
|-<br />
| 0x8 || 0x4 || [[#SteadyClockSourceId|SteadyClockSourceId]]<br />
|-<br />
| 0xC || 0x4 || Reserved<br />
|-<br />
| 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkClockTimePoint]]<br />
|-<br />
| 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClockTimePoint]]<br />
|}<br />
<br />
== NotificationTime ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || Hour<br />
|-<br />
| 0x4 || 0x4 || Minute<br />
|}<br />
<br />
== NotificationFlag ==<br />
This is "nn::settings::system::NotificationFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || RingtoneFlag<br />
|-<br />
| 1 || DownloadCompletionFlag<br />
|-<br />
| 8 || EnablesNews<br />
|-<br />
| 9 || IncomingLampFlag<br />
|}<br />
<br />
== NotificationSettings ==<br />
This is "nn::settings::system::NotificationSettings".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || [[#NotificationFlag|NotificationFlag]]<br />
|-<br />
| 0x4 || 0x4 || [[#NotificationVolume|NotificationVolume]]<br />
|-<br />
| 0x8 || 0x8 || [[#NotificationTime|HeadTime]]<br />
|-<br />
| 0x10 || 0x8 || [[#NotificationTime|TailTime]]<br />
|}<br />
<br />
== AccountNotificationFlag ==<br />
This is "nn::settings::system::AccountNotificationFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || FriendOnlineFlag<br />
|-<br />
| 1 || FriendRequestFlag<br />
|-<br />
| 8 || CoralInvitationFlag<br />
|}<br />
<br />
== AccountNotificationSettings ==<br />
This is "nn::settings::system::AccountNotificationSettings".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x10 || [[Account_services|AccountUid]]<br />
|-<br />
| 0x10 || 0x4 || [[#AccountNotificationFlag|AccountNotificationFlag]]<br />
|-<br />
| 0x14 || 0x1 || [[#FriendPresenceOverlayPermission|FriendPresenceOverlayPermission]]<br />
|-<br />
| 0x15 || 0x1 || [[#FriendPresenceOverlayPermission|FriendInvitationOverlayPermission]]<br />
|-<br />
| 0x16 || 0x2 || Reserved<br />
|}<br />
<br />
== TvFlag ==<br />
This is "nn::settings::system::TvFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || Allows4k<br />
|-<br />
| 1 || Allows3d<br />
|-<br />
| 2 || AllowsCec<br />
|-<br />
| 3 || PreventsScreenBurnIn<br />
|}<br />
<br />
== TvSettings ==<br />
This is "nn::settings::system::TvSettings".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || [[#TvFlag|TvFlag]]<br />
|-<br />
| 0x4 || 0x4 || [[#TvResolution|TvResolution]]<br />
|-<br />
| 0x8 || 0x4 || [[#HdmiContentType|HdmiContentType]]<br />
|-<br />
| 0xC || 0x4 || [[#RgbRange|RgbRange]]<br />
|-<br />
| 0x10 || 0x4 || [[#CmuMode|CmuMode]]<br />
|-<br />
| 0x14 || 0x4 || TvUnderscan<br />
|-<br />
| 0x18 || 0x4 || TvGamma<br />
|-<br />
| 0x1C || 0x4 || ContrastRatio<br />
|}<br />
<br />
== DataDeletionFlag ==<br />
This is "nn::settings::system::DataDeletionFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || AutomaticDeletionFlag<br />
|}<br />
<br />
== DataDeletionSettings ==<br />
This is "nn::settings::system::DataDeletionSettings".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || [[#DataDeletionFlag|DataDeletionFlag]].<br />
|-<br />
| 0x4 || 0x4 || UseCount<br />
|}<br />
<br />
== BatteryLot ==<br />
This is "nn::settings::BatteryLot". Its size is 0x18 bytes.<br />
<br />
== SleepFlag ==<br />
This is "nn::settings::system::SleepFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || SleepsWhilePlayingMedia<br />
|-<br />
| 1 || WakesAtPowerStateChange<br />
|}<br />
<br />
== SleepSettings ==<br />
This is "nn::settings::system::SleepSettings".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || [[#SleepFlag|SleepFlag]]<br />
|-<br />
| 0x4 || 0x4 || [[#HandheldSleepPlan|HandheldSleepPlan]]<br />
|-<br />
| 0x8 || 0x4 || [[#ConsoleSleepPlan|ConsoleSleepPlan]]<br />
|}<br />
<br />
== InitialLaunchFlag ==<br />
This is "nn::settings::system::InitialLaunchFlag".<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0 || InitialLaunchCompletionFlag<br />
|-<br />
| 8 || InitialLaunchUserAdditionFlag<br />
|-<br />
| 16 || InitialLaunchTimestampFlag<br />
|}<br />
<br />
== InitialLaunchSettings ==<br />
This is "nn::settings::system::InitialLaunchSettings". This struct is 8-byte aligned.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || [[#InitialLaunchFlag|InitialLaunchFlag]]<br />
|-<br />
| 0x4 || 0x4 || Reserved<br />
|-<br />
| 0x8 || 0x18 || [[Glue_services#SteadyClockTimePoint|InitialLaunchTimestampOffset]]<br />
|}<br />
<br />
== RebootlessSystemUpdateVersion ==<br />
This is "nn::settings::system::RebootlessSystemUpdateVersion". This struct is 4-byte aligned.<br />
<br />
This is the content of the RebootlessSystemUpdateVersion SystemData, in the "/version" file.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || Version<br />
|-<br />
| 0x4 || 0x1C || Reserved<br />
|-<br />
| 0x20 || 0x20 || DisplayVersion<br />
|}<br />
<br />
== PrimaryAlbumStorage ==<br />
This is u32 enum "nn::settings::system::PrimaryAlbumStorage".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || Nand<br />
|-<br />
| 1 || SdCard<br />
|}<br />
<br />
== ErrorReportSharePermission ==<br />
This is "nn::settings::system::ErrorReportSharePermission".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 0 || NotConfirmed<br />
|-<br />
| 1 || Granted<br />
|-<br />
| 2 || Denied<br />
|}<br />
<br />
== ServiceDiscoveryControlSettings ==<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
|-<br />
| 0<br />
| IsChangeEnvironmentIdentifierDisabled<br />
|}<br />
<br />
== AppletLaunchFlag ==<br />
This is "nn::settings::system::AppletLaunchFlag". This is an u32 bitmask.<br />
<br />
== KeyboardLayout ==<br />
This is "nn::settings::KeyboardLayout".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 1 || EnglishUs<br />
|-<br />
| 2 || EnglishUsInternational<br />
|-<br />
| 3 || EnglishUk<br />
|-<br />
| 4 || French<br />
|-<br />
| 5 || FrenchCa<br />
|-<br />
| 6 || Spanish<br />
|-<br />
| 7 || SpanishLatin<br />
|-<br />
| 8 || German<br />
|-<br />
| 9 || Italian<br />
|-<br />
| 10 || Portuguese<br />
|-<br />
| 11 || Russian<br />
|-<br />
| 12 || Korean<br />
|-<br />
| 13 || ChineseSimplified<br />
|-<br />
| 14 || ChineseTraditional<br />
|}<br />
<br />
== ChineseTraditionalInputMethod ==<br />
This is "nn::settings::ChineseTraditionalInputMethod".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Value<br />
! Description<br />
|-<br />
| 1 || <br />
|-<br />
| 2 || <br />
|}<br />
<br />
== TouchScreenMode ==<br />
This is "nn::settings::system::TouchScreenMode".<br />
<br />
This is an u8. This controls "Touch-Screen Sensitivity", values:<br />
* 0: Stylus.<br />
* 1: Standard, the default.<br />
<br />
== ButtonConfigSettings ==<br />
This is "nn::settings::system::ButtonConfigSettings". This is a 0x5A8-byte struct.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x1 || IsFull bool flag. 0 = empty config, 1 = config set. Also accessed as an u32, but only bit0 is used.<br />
|-<br />
| 0x1 || 0x3 || Padding<br />
|-<br />
| 0x4 || 0x1C4 || Unused<br />
|-<br />
| 0x1C8 || 0x3E0 || Config<br />
|}<br />
<br />
== ButtonConfigRegisteredSettings ==<br />
This is "nn::settings::system::ButtonConfigRegisteredSettings". This is a 0x5C8-byte struct.<br />
<br />
== BluetoothDevicesSettings ==<br />
This is "nn::settings::system::BluetoothDevicesSettings". This is a 0x200-byte struct.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x6 || [[Bluetooth_Driver_services#Address|Address]]<br />
|-<br />
| 0x6 || 0x20 || Name string<br />
|-<br />
| 0x26 || 0x2 || <br />
|-<br />
| 0x28 || 0x1 || <br />
|-<br />
| 0x29 || 0x10 || Uuid<br />
|-<br />
| 0x39 || 0x1 || <br />
|-<br />
| 0x3A || 0x2 || <br />
|-<br />
| 0x3C || 0x4 || <br />
|-<br />
| 0x40 || 0x2 || <br />
|-<br />
| 0x42 || 0x2 ||<br />
|-<br />
| 0x44 || 0x2 || <br />
|-<br />
| 0x46 || 0x80 || <br />
|-<br />
| 0xC6 || 0x2 || <br />
|-<br />
| 0xC8 || 0x1 || <br />
|-<br />
| 0xC9 || 0x1 || <br />
|-<br />
| 0xCA || 0x2 || <br />
|-<br />
| 0xCC || 0x8 || <br />
|-<br />
| 0xD4 || 0x1 || <br />
|-<br />
| 0xD5 || 0x12B || <br />
|}<br />
<br />
= System Configuration =<br />
There's a common configuration title (*818), and one configuration title for each [[SMC#HardwareType|HardwareType]].<br />
<br />
See [[System_Settings]].<br />
<br />
[[Category:Services]]</div>
Cai miao
https://switchbrew.org/w/index.php?title=Error_codes&diff=9768
Error codes
2020-07-16T19:41:14Z
<p>Cai miao: /* Error codes */</p>
<hr />
<div>= Structure =<br />
These have been redesigned from the 3DS so that they fit within a Aarch64 MOV instruction immediate most of the time (without requiring the additional MOVK).<br />
<br />
{| class=wikitable<br />
! Bits || Field<br />
|-<br />
| 8-0 || Module<br />
|-<br />
| 21-9 || Description<br />
|}<br />
<br />
When a fatal-error is received the error code is outputted using the following formatter:<br />
%04d-%04d<br />
<br />
.. where the first code is <code>2000 + Module</code>, and the other being <code>Description</code>. Bits >=22 from the error-code are unused when displaying fatal-errors, since the Description ends with bit21.<br />
<br />
= Result Errors =<br />
General errors used by system modules and applications.<br />
<br />
== Modules ==<br />
{| class=wikitable<br />
! Value || Name<br />
|-<br />
| 1 || Kernel<br />
|-<br />
| 2 || FS<br />
|-<br />
| 3 || OS (Memory, Thread, Mutex, NVIDIA)<br />
|-<br />
| 4 || Htcs<br />
|-<br />
| 5 || NCM<br />
|-<br />
| 6 || DD<br />
|-<br />
| 7 || Debug Monitor<br />
|-<br />
| 8 || LR<br />
|-<br />
| 9 || Loader<br />
|-<br />
| 10 || CMIF (IPC command interface)<br />
|-<br />
| 11 || HIPC (IPC)<br />
|-<br />
| 15 || PM<br />
|-<br />
| 16 || NS<br />
|-<br />
| 17 || Bsdsockets<br />
|-<br />
| 18 || Htc<br />
|-<br />
| 19 || TSC<br />
|-<br />
| 20 || NCM (content)<br />
|-<br />
| 21 || SM<br />
|-<br />
| 22 || RO (userland)<br />
|-<br />
| 23 || GC<br />
|-<br />
| 24 || SDMMC<br />
|-<br />
| 25 || OVLN<br />
|-<br />
| 26 || SPL<br />
|-<br />
| 27 || Socket<br />
|-<br />
| 29 || Htclow<br />
|-<br />
| 30 || Bus<br />
|-<br />
| 31 || Htcfs<br />
|-<br />
| 32 || Async<br />
|-<br />
| 100 || ETHC<br />
|-<br />
| 101 || I2C<br />
|-<br />
| 102 || GPIO<br />
|-<br />
| 103 || UART<br />
|-<br />
| 105 || Settings<br />
|-<br />
| 107 || WLAN<br />
|-<br />
| 108 || XCD<br />
|-<br />
| 110 || NIFM<br />
|-<br />
| 111 || Hwopus<br />
|-<br />
| 112 || Sasbus<br />
|-<br />
| 113 || Bluetooth<br />
|-<br />
| 114 || VI<br />
|-<br />
| 115 || NFP<br />
|-<br />
| 116 || Time<br />
|-<br />
| 117 || FGM<br />
|-<br />
| 118 || OE<br />
|-<br />
| 120 || PCIe<br />
|-<br />
| 121 || Friends<br />
|-<br />
| 122 || BCAT<br />
|-<br />
| 123 || SSL<br />
|-<br />
| 124 || Account<br />
|-<br />
| 125 || News<br />
|-<br />
| 126 || Mii<br />
|-<br />
| 127 || NFC<br />
|-<br />
| 128 || AM<br />
|-<br />
| 129 || Play Report<br />
|-<br />
| 130 || AHID<br />
|-<br />
| 132 || Home Menu (Qlaunch)<br />
|-<br />
| 133 || PCV<br />
|-<br />
| 134 || OMM<br />
|-<br />
| 135 || BPC<br />
|-<br />
| 136 || PSM<br />
|-<br />
| 137 || NIM<br />
|-<br />
| 138 || PSC<br />
|-<br />
| 139 || TC<br />
|-<br />
| 140 || USB<br />
|-<br />
| 141 || NSD<br />
|-<br />
| 142 || PCTL<br />
|-<br />
| 143 || BTM<br />
|-<br />
| 144 || LA (Library Applet)<br />
|-<br />
| 145 || ETicket<br />
|-<br />
| 146 || NGC (Bad Words)<br />
|-<br />
| 147 || Error Report<br />
|-<br />
| 148 || APM<br />
|-<br />
| 149 || CEC<br />
|-<br />
| 150 || Profiler<br />
|-<br />
| 151 || Error Upload<br />
|-<br />
| 153 || Audio<br />
|-<br />
| 154 || NPNS<br />
|-<br />
| 155 || NPNS XMPP Stream<br />
|-<br />
| 157 || ARP<br />
|-<br />
| 158 || Updater<br />
|-<br />
| 159 || SWKBD<br />
|-<br />
| 161 || Mifare<br />
|-<br />
| 162 || Userland (assert)<br />
|-<br />
| 163 || Fatal<br />
|-<br />
| 164 || EC (Shop)<br />
|-<br />
| 165 || SPSM<br />
|-<br />
| 167 || BGTC<br />
|-<br />
| 168 || Userland (crash)<br />
|-<br />
| 169 || Sasbus Periodic Receive Mode<br />
|-<br />
| 175 || JIT<br />
|-<br />
| 178 || PDM<br />
|-<br />
| 179 || OLSC<br />
|-<br />
| 180 || SREPO<br />
|-<br />
| 181 || Dauth<br />
|-<br />
| 187 || Sasbus<br />
|-<br />
| 189 || PWM<br />
|-<br />
| 191 || RTC<br />
|-<br />
| 192 || Regulator<br />
|-<br />
| 193 || Led<br />
|-<br />
| 197 || Clkrst<br />
|-<br />
| 202 || HID<br />
|-<br />
| 203 || LDN<br />
|-<br />
| 205 || Irsensor<br />
|-<br />
| 206 || Capture<br />
|-<br />
| 208 || Manu<br />
|-<br />
| 209 || ATK<br />
|-<br />
| 210 || Web<br />
|-<br />
| 211 || LCS (Local Content Sharing)<br />
|-<br />
| 212 || GRC<br />
|-<br />
| 214 || Album<br />
|-<br />
| 216 || Migration<br />
|-<br />
| 217 || Migration Idc Server<br />
|-<br />
| 218 || Hidbus<br />
|-<br />
| 223 || Websocket<br />
|-<br />
| 228 || PGL<br />
|-<br />
| 229 || Notification<br />
|-<br />
| 230 || Ins<br />
|-<br />
| 231 || Lp2p<br />
|}<br />
<br />
== Error codes ==<br />
{| class=wikitable<br />
! Value || Module || Description || Notes<br />
|-<br />
| 0x0E01 || 1 || 7 || Session count exceeded<br />
|-<br />
| 0x1C01 || 1 || 14 || Invalid kernel capability descriptor<br />
|-<br />
| 0x4201 || 1 || 33 || Not Implemented<br />
|-<br />
| 0x7601 || 1 || 59 || Thread terminated/termination requested<br />
|-<br />
| 0x8C01 || 1 || 70 || No more debug events<br />
|-<br />
| 0xCA01 || 1 || 101 || Invalid size<br />
|-<br />
| 0xCC01 || 1 || 102 || Invalid address<br />
|-<br />
| 0xCE01 || 1 || 103 || Resource exhaustion<br />
|-<br />
| 0xD001 || 1 || 104 || Memory exhaustion<br />
|-<br />
| 0xD201 || 1 || 105 || Handle-table exhaustion<br />
|-<br />
| 0xD401 || 1 || 106 || Invalid memory state / invalid memory permissions.<br />
|-<br />
| 0xD801 || 1 || 108 || Invalid memory permissions.<br />
|-<br />
| 0xDC01 || 1 || 110 || Invalid memory range<br />
|-<br />
| 0xE001 || 1 || 112 || Invalid thread priority.<br />
|-<br />
| 0xE201 || 1 || 113 || Invalid processor id.<br />
|-<br />
| 0xE401 || 1 || 114 || Invalid handle.<br />
|-<br />
| 0xE601 || 1 || 115 || Invalid pointer/Syscall copy from user failed.<br />
|-<br />
| 0xE801 || 1 || 116 || Invalid combination<br />
|-<br />
| 0xEA01 || 1 || 117 || Time out. Also when you give 0 handles to svcWaitSynchronizationN.<br />
|-<br />
| 0xEC01 || 1 || 118 || Operation canceled<br />
|-<br />
| 0xEE01 || 1 || 119 || Out of range<br />
|-<br />
| 0xF001 || 1 || 120 || Invalid enum<br />
|-<br />
| 0xF201 || 1 || 121 || No such entry<br />
|-<br />
| 0xF401 || 1 || 122 || Irq/DeviceAddressSpace/{...} already registered<br />
|-<br />
| 0xF601 || 1 || 123 || Port remote dead<br />
|-<br />
| 0xF801 || 1 || 124 || [Usermode] Unhandled interrupt/exception<br />
|-<br />
| 0xFA01 || 1 || 125 || Invalid state<br />
|-<br />
| 0xFC01 || 1 || 126 || Reserved value<br />
|-<br />
| 0xFE01 || 1 || 127 || Invalid hardware breakpoint<br />
|-<br />
| 0x10001 || 1 || 128 || [Usermode] Fatal exception<br />
|-<br />
| 0x10201 || 1 || 129 || Last thread didn't belong to your process<br />
|-<br />
| 0x10601 || 1 || 131 || Port closed<br />
|-<br />
| 0x10801 || 1 || 132 || Resource limit exceeded<br />
|-<br />
| 0x20801 || 1 || 260 || Command buffer too small<br />
|-<br />
| 0x40A01 || 1 || 517 || Invalid process ID.<br />
|-<br />
| 0x40C01 || 1 || 518 || Invalid thread ID.<br />
|-<br />
| 0x40E01 || 1 || 519 || Invalid thread ID (used in svcGetDebugThreadParam).<br />
|-<br />
| 0x41001 || 1 || 520 || Process not being debugged<br />
|-<br />
| 0x202 || 2 || 1 || Path does not exist.<br />
|-<br />
| 0x402 || 2 || 2 || Path already exists.<br />
|-<br />
| 0xE02 || 2 || 7 || Resource already in use (file already opened, savedata filesystem already mounted).<br />
|-<br />
| 0x4602 || 2 || 35 || Not enough free space for BIS Calibration partition.<br />
|-<br />
| 0x4802 || 2 || 36 || Not enough free space for BIS Safe partition.<br />
|-<br />
| 0x4A02 || 2 || 37 || Not enough free space for BIS User partition.<br />
|-<br />
| 0x4C02 || 2 || 38 || Not enough free space for BIS System partition.<br />
|-<br />
| 0x4E02 || 2 || 39 || Not enough free space on SD card.<br />
|-<br />
| 0x6402 || 2 || 50 || NCA is older than version 3, or NCA SDK version is older than 0.11.0.0<br />
|-<br />
| 0x7802 || 2 || 60 || Specified mount name already exists.<br />
|-<br />
| 0x7D202 || 2 || 1001 || Process does not have RomFs <br />
|-<br />
| 0x7D402 || 2 || 1002 || Title-id not found / savedata not found.<br />
|-<br />
| 0xFA202 || 2 || 2001 || SD card not inserted<br />
|-<br />
| 0x13B002 || 2 || 2520 || Gamecard not inserted<br />
|-<br />
| 0x13B402 || 2 || 2522 || Attempted process an AsicHandler command in initial mode<br />
|-<br />
| 0x13D802 || 2 || 2540 || Attempted to read from the secure gamecard partition in normal mode<br />
|-<br />
| 0x13DA02 || 2 || 2541 || Attempted to read from the normal gamecard partition in secure mode<br />
|-<br />
| 0x13DC02 || 2 || 2542 || Attempted a read that spanned both the normal and secure gamecard partitions<br />
|-<br />
| 0x13E002 || 2 || 2544 || Gamecard initial data hash doesn't match the initial data hash in the card header<br />
|-<br />
| 0x13E202 || 2 || 2545 || Gamecard initial data reserved area is not all zeros<br />
|-<br />
| 0x13E402 || 2 || 2546 || Gamecard certificate kek index doesn't match card header kek index<br />
|-<br />
| 0x13EE02 || 2 || 2551 || Unable to read card header on gamecard init<br />
|-<br />
| 0x140A02 || 2 || 2565 || Encountered SDMMC error in write operation<br />
|-<br />
| 0x145002 || 2 || 2600 || Attempted to switch lotus state machine to secure mode from a mode other than normal<br />
|-<br />
| 0x145202 || 2 || 2601 || Attempted to switch lotus state machine to normal mode from a mode other than initial<br />
|-<br />
| 0x145402 || 2 || 2602 || Attempted to switch lotus state machine to write mode from a mode other than normal<br />
|-<br />
| 0x149402 || 2 || 2634 || Error processing lotus command SetUserAsicFirmware<br />
|-<br />
| 0x149A02 || 2 || 2637 || Error processing lotus command GetAsicCert<br />
|-<br />
| 0x14A002 || 2 || 2640 || Error processing lotus command SetEmmcEmbeddedSocCertificate<br />
|-<br />
| 0x14AA02 || 2 || 2645 || Error processing lotus command GetAsicEncryptedMessage<br />
|-<br />
| 0x14AC02 || 2 || 2646 || Error processing lotus command SetLibraryEncryptedMessage<br />
|-<br />
| 0x14B602 || 2 || 2651 || Error processing lotus command GetAsicAuthenticationData<br />
|-<br />
| 0x14B802 || 2 || 2652 || Error processing lotus command SetAsicAuthenticationDataHash<br />
|-<br />
| 0x14BA02 || 2 || 2653 || Error processing lotus command SetLibraryAuthenticationData<br />
|-<br />
| 0x14BC02 || 2 || 2654 || Error processing lotus command GetLibraryAuthenticationDataHash<br />
|-<br />
| 0x14C202 || 2 || 2657 || Error processing lotus command ExchangeRandomValuesInSecureMode<br />
|-<br />
| 0x14D802 || 2 || 2668 || Error calling nn::gc::detail::GcCrypto::GenerateRandomBytes<br />
|-<br />
| 0x14DE02 || 2 || 2671 || Error processing lotus command ReadAsicRegister<br />
|-<br />
| 0x14E002 || 2 || 2672 || Error processing lotus command GetGameCardIdSet<br />
|-<br />
| 0x14E402 || 2 || 2674 || Error processing lotus command GetCardHeader<br />
|-<br />
| 0x14E802 || 2 || 2676 || Error processing lotus command GetCardKeyArea<br />
|-<br />
| 0x14EA02 || 2 || 2677 || Error processing lotus command ChangeDebugMode<br />
|-<br />
| 0x14EC02 || 2 || 2678 || Error processing lotus command GetRmaInformation<br />
|-<br />
| 0x150802 || 2 || 2692 || Tried sending lotus card command Refresh when not in secure mode<br />
|-<br />
| 0x150A02 || 2 || 2693 || Tried sending lotus card command when not in correct mode<br />
|-<br />
| 0x155602 || 2 || 2731 || Error processing lotus card command ReadId1<br />
|-<br />
| 0x155802 || 2 || 2732 || Error processing lotus card command ReadId2<br />
|-<br />
| 0x155A02 || 2 || 2733 || Error processing lotus card command ReadId3<br />
|-<br />
| 0x155E02 || 2 || 2735 || Error processing lotus card command ReadPage<br />
|-<br />
| 0x156202 || 2 || 2737 || Error processing lotus card command WritePage<br />
|-<br />
| 0x156402 || 2 || 2738 || Error processing lotus card command Refresh<br />
|-<br />
| 0x156C02 || 2 || 2742 || Error processing lotus card command ReadCrc<br />
|-<br />
| 0x156E02 || 2 || 2743 || Error processing lotus card command Erase or UnlockForceErase<br />
|-<br />
| 0x157002 || 2 || 2744 || Error processing lotus card command ReadDevParam<br />
|-<br />
| 0x157202 || 2 || 2745 || Error processing lotus card command WriteDevParam<br />
|-<br />
| 0x16B002 || 2 || 2904 || Id2Normal did not match the value in the buffer returned by ChangeDebugMode<br />
|-<br />
| 0x16B202 || 2 || 2905 || Id1Normal did not match Id1Writer when switching gamecard to write mode<br />
|-<br />
| 0x16B402 || 2 || 2906 || Id2Normal did not match Id2Writer when switching gamecard to write mode<br />
|-<br />
| 0x171402 || 2 || 2954 || Invalid gamecard handle.<br />
|-<br />
| 0x172002 || 2 || 2960 || Invalid gamecard handle when opening normal gamecard partition<br />
|-<br />
| 0x172202 || 2 || 2961 || Invalid gamecard handle when opening secure gamecard partition<br />
|-<br />
| 0x177202 || 2 || 3001 || Unimplemented behavior<br />
|-<br />
| 0x177602 || 2 || 3003 || File/Directory already exists.<br />
|-<br />
| 0x190202 || 2 || 3201 || Memory allocation failure related to FAT filesystem code<br />
|-<br />
| 0x190602 || 2 || 3203 || Memory allocation failure related to FAT filesystem code<br />
|-<br />
| 0x190802 || 2 || 3204 || Memory allocation failure related to FAT filesystem code<br />
|-<br />
| 0x190A02 || 2 || 3205 || Memory allocation failure related to FAT filesystem code<br />
|-<br />
| 0x190C02 || 2 || 3206 || Memory allocation failure related to FAT filesystem code<br />
|-<br />
| 0x191002 || 2 || 3208 || Memory allocation failure related to FAT filesystem code<br />
|-<br />
| 0x195802 || 2 || 3244 || Allocation failure related to SD cards<br />
|-<br />
| 0x196002 || 2 || 3248 || Out of memory<br />
|-<br />
| 0x196202 || 2 || 3249 || Out of memory<br />
|-<br />
| 0x1A3E02 || 2 || 3359 || Out of memory<br />
|-<br />
| 0x1A4002 || 2 || 3360 || Out of memory<br />
|-<br />
| 0x1A4A02 || 2 || 3365 || Out of memory<br />
|-<br />
| 0x21BC02 || 2 || 4318 || Invalid save data filesystem magic (valid magic is SAVE in ASCII)<br />
|-<br />
| 0x234202 || 2 || 4513 || Error reading ACID section in NPDM<br />
|-<br />
| 0x234402 || 2 || 4514 || Invalid NPDM ACID section size<br />
|-<br />
| 0x234602 || 2 || 4515 || Last byte of the ACID modulus is zero<br />
|-<br />
| 0x234802 || 2 || 4516 || Invalid ACID fixed key signature<br />
|-<br />
| 0x234A02 || 2 || 4517 || Invalid NCA magic<br />
|-<br />
| 0x234C02 || 2 || 4518 || Invalid NCA header fixed key signature<br />
|-<br />
| 0x234E02 || 2 || 4519 || Invalid NCA header ACID signature<br />
|-<br />
| 0x235002 || 2 || 4520 || Invalid NCA header section hash<br />
|-<br />
| 0x235202 || 2 || 4521 || Invalid NCA Key index<br />
|-<br />
| 0x235602 || 2 || 4523 || Invalid encryption type<br />
|-<br />
| 0x235802 || 2 || 4524 || Redirection BKTR table size is negative<br />
|-<br />
| 0x235A02 || 2 || 4525 || Encryption BKTR table size is negative<br />
|-<br />
| 0x235C02 || 2 || 4526 || Redirection BKTR table end offset is past the Encryption BKTR table start offset<br />
|-<br />
| 0x235E02 || 2 || 4527 || NCA-path used with the wrong titleID.<br />
|-<br />
| 0x236002 || 2 || 4528 || NCA header value is out of range<br />
|-<br />
| 0x236202 || 2 || 4529 || NCA FS header value is out of range<br />
|-<br />
| 0x236802 || 2 || 4532 || PartitionFS hash block size is not a power of 2<br />
|-<br />
| 0x236A02 || 2 || 4533 || PartitionFS hash "always_2" field is not 2<br />
|-<br />
| 0x236C02 || 2 || 4534 || PartitionFS hash table is too small for main data<br />
|-<br />
| 0x236E02 || 2 || 4535 || Invalid PartitionFS block hash<br />
|-<br />
| 0x244402 || 2 || 4642 || Invalid Partition file hashed region bounds<br />
|-<br />
| 0x244602 || 2 || 4643 || Invalid Partition FS hash<br />
|-<br />
| 0x244802 || 2 || 4644 || Invalid PFS0 magic<br />
|-<br />
| 0x244A02 || 2 || 4645 || Invalid HFS0 magic<br />
|-<br />
| 0x244C02 || 2 || 4646 || Invalid name offset for Partition FS file entry<br />
|-<br />
| 0x244E02 || 2 || 4647 || Calculated Partition FS header size changed between 2 consecutive reads<br />
|-<br />
| 0x249802 || 2 || 4684 || Invalid FAT file number.<br />
|-<br />
| 0x249C02 || 2 || 4686 || Invalid FAT format for BIS User partition.<br />
|-<br />
| 0x249E02 || 2 || 4687 || Invalid FAT format for BIS System partition.<br />
|-<br />
| 0x24A002 || 2 || 4688 || Invalid FAT format for BIS Safe partition.<br />
|-<br />
| 0x24A202 || 2 || 4689 || Invalid FAT format for BIS Calibration partition.<br />
|-<br />
| 0x250E02 || 2 || 4743 || [[NAX0|Corrupted]] NAX0 header.<br />
|-<br />
| 0x251002 || 2 || 4744 || Invalid [[NAX0]] magicnum.<br />
|-<br />
| 0x280202 || 2 || 5121 || Invalid FAT size<br />
|-<br />
| 0x280402 || 2 || 5122 || Invalid FAT BPB (BIOS Parameter Block)<br />
|-<br />
| 0x280602 || 2 || 5123 || Invalid FAT parameter<br />
|-<br />
| 0x280802 || 2 || 5124 || Invalid FAT sector<br />
|-<br />
| 0x280A02 || 2 || 5125 || Invalid FAT sector<br />
|-<br />
| 0x280C02 || 2 || 5126 || Invalid FAT sector<br />
|-<br />
| 0x280E02 || 2 || 5127 || Invalid FAT sector<br />
|-<br />
| 0x296A02 || 2 || 5301 || Mountpoint not found<br />
|-<br />
| 0x2EE202 || 2 || 6001 || Invalid input<br />
|-<br />
| 0x2EE602 || 2 || 6003 || Path too long<br />
|-<br />
| 0x2EE802 || 2 || 6004 || Invalid character.<br />
|-<br />
| 0x2EEA02 || 2 || 6005 || Invalid directory path.<br />
|-<br />
| 0x2EEC02 || 2 || 6006 || Unable to retrieve directory from path<br />
|-<br />
| 0x2F5A02 || 2 || 6061 || Offset outside storage<br />
|-<br />
| 0x313802 || 2 || 6300 || Operation not supported<br />
|-<br />
| 0x313A02 || 2 || 6301 || A specified filesystem has no MultiCommitTarget when doing a multi-filesystem commit<br />
|-<br />
| 0x313C02 || 2 || 6302 || Attempted to resize a nn::fs::SubStorage or BufferedStorage that is marked as non-resizable<br />
|-<br />
| 0x313E02 || 2 || 6303 || Attempted to resize a nn::fs::SubStorage or BufferedStorage when the SubStorage ends before the base storage<br />
|-<br />
| 0x314002 || 2 || 6304 || Attempted to call nn::fs::MemoryStorage::SetSize<br />
|-<br />
| 0x314202 || 2 || 6305 || Invalid Operation ID in nn::fs::MemoryStorage::OperateRange<br />
|-<br />
| 0x314402 || 2 || 6306 || Invalid Operation ID in nn::fs::FileStorage::OperateRange<br />
|-<br />
| 0x314602 || 2 || 6307 || Invalid Operation ID in nn::fs::FileHandleStorage::OperateRange<br />
|-<br />
| 0x314802 || 2 || 6308 || Invalid Operation ID in nn::fssystem::SwitchStorage::OperateRange<br />
|-<br />
| 0x314A02 || 2 || 6309 || Invalid Operation ID in nn::fs::detail::StorageServiceObjectAdapter::OperateRange<br />
|-<br />
| 0x314C02 || 2 || 6310 || Attempted to call nn::fssystem::AesCtrCounterExtendedStorage::Write<br />
|-<br />
| 0x314E02 || 2 || 6311 || Attempted to call nn::fssystem::AesCtrCounterExtendedStorage::SetSize<br />
|-<br />
| 0x315002 || 2 || 6312 || Invalid Operation ID in nn::fssystem::AesCtrCounterExtendedStorage::OperateRange<br />
|-<br />
| 0x315202 || 2 || 6313 || Attempted to call nn::fssystem::AesCtrStorageExternal::Write<br />
|-<br />
| 0x315402 || 2 || 6314 || Attempted to call nn::fssystem::AesCtrStorageExternal::SetSize<br />
|-<br />
| 0x315602 || 2 || 6315 || Attempted to call nn::fssystem::AesCtrStorage::SetSize<br />
|-<br />
| 0x315802 || 2 || 6316 || Attempted to call nn::fssystem::save::HierarchicalIntegrityVerificationStorage::SetSize<br />
|-<br />
| 0x315A02 || 2 || 6317 || Attempted to call nn::fssystem::save::HierarchicalIntegrityVerificationStorage::OperateRange<br />
|-<br />
| 0x315C02 || 2 || 6318 || Attempted to call nn::fssystem::save::IntegrityVerificationStorage::SetSize<br />
|-<br />
| 0x315E02 || 2 || 6319 || Attempted to invalidate the cache of a RomFs IVFC storage in nn::fssystem::save::IntegrityVerificationStorage::OperateRange<br />
|-<br />
| 0x316002 || 2 || 6320 || Invalid Operation ID in nn::fssystem::save::IntegrityVerificationStorage::OperateRange <br />
|-<br />
| 0x316202 || 2 || 6321 || Attempted to call nn::fssystem::save::BlockCacheBufferedStorage::SetSize<br />
|-<br />
| 0x316402 || 2 || 6322 || Attempted to invalidate the cache of something other than a savedata IVFC storage in nn::fssystem::save::BlockCacheBufferedStorage::OperateRange<br />
|-<br />
| 0x316602 || 2 || 6323 || Invalid Operation ID in nn::fssystem::save::BlockCacheBufferedStorage::OperateRange<br />
|-<br />
| 0x316802 || 2 || 6324 || Attempted to call nn::fssystem::IndirectStorage::Write<br />
|-<br />
| 0x316A02 || 2 || 6325 || Attempted to call nn::fssystem::IndirectStorage::SetSize<br />
|-<br />
| 0x316C02 || 2 || 6326 || Invalid Operation ID in nn::fssystem::IndirectStorage::OperateRange<br />
|-<br />
| 0x316E02 || 2 || 6327 || Attempted to call nn::fssystem::SparseStorage::ZeroStorage::Write<br />
|-<br />
| 0x317002 || 2 || 6328 || Attempted to call nn::fssystem::SparseStorage::ZeroStorage::SetSize<br />
|-<br />
| 0x317202 || 2 || 6329 || Attempted to call nn::fssystem::HierarchicalSha256Storage::SetSize<br />
|-<br />
| 0x317402 || 2 || 6330 || Attempted to call nn::fssystem::ReadOnlyBlockCacheStorage::Write<br />
|-<br />
| 0x317602 || 2 || 6331 || Attempted to call nn::fssystem::ReadOnlyBlockCacheStorage::SetSize<br />
|-<br />
| 0x317802 || 2 || 6332 || Attempted to call nn::fssystem::IntegrityRomFsStorage::SetSize<br />
|-<br />
| 0x317A02 || 2 || 6333 || Attempted to call nn::fssystem::save::DuplexStorage::SetSize<br />
|-<br />
| 0x317C02 || 2 || 6334 || Invalid Operation ID in nn::fssystem::save::DuplexStorage::OperateRange<br />
|-<br />
| 0x317E02 || 2 || 6335 || Attempted to call nn::fssystem::save::HierarchicalDuplexStorage::SetSize<br />
|-<br />
| 0x318002 || 2 || 6336 || Attempted to call nn::fssystem::save::RemapStorage::GetSize<br />
|-<br />
| 0x318202 || 2 || 6337 || Attempted to call nn::fssystem::save::RemapStorage::SetSize<br />
|-<br />
| 0x318402 || 2 || 6338 || Invalid Operation ID in nn::fssystem::save::RemapStorage::OperateRange<br />
|-<br />
| 0x318602 || 2 || 6339 || Attempted to call nn::fssystem::save::IntegritySaveDataStorage::SetSize<br />
|-<br />
| 0x318802 || 2 || 6340 || Invalid Operation ID in nn::fssystem::save::IntegritySaveDataStorage::OperateRange<br />
|-<br />
| 0x318A02 || 2 || 6341 || Attempted to call nn::fssystem::save::JournalIntegritySaveDataStorage::SetSize<br />
|-<br />
| 0x318C02 || 2 || 6342 || Invalid Operation ID in nn::fssystem::save::JournalIntegritySaveDataStorage::OperateRange<br />
|-<br />
| 0x318E02 || 2 || 6343 || Attempted to call nn::fssystem::save::JournalStorage::GetSize<br />
|-<br />
| 0x319002 || 2 || 6344 || Attempted to call nn::fssystem::save::JournalStorage::SetSize<br />
|-<br />
| 0x319202 || 2 || 6345 || Invalid Operation ID in nn::fssystem::save::JournalStorage::OperateRange<br />
|-<br />
| 0x319402 || 2 || 6346 || Attempted to call nn::fssystem::save::UnionStorage::SetSize<br />
|-<br />
| 0x319602 || 2 || 6347 || Attempted to call nn::fssystem::dbm::AllocationTableStorage::SetSize<br />
|-<br />
| 0x319802 || 2 || 6348 || Attempted to call nn::fssrv::fscreator::WriteOnlyGameCardStorage::Read<br />
|-<br />
| 0x319A02 || 2 || 6349 || Attempted to call nn::fssrv::fscreator::WriteOnlyGameCardStorage::SetSize<br />
|-<br />
| 0x319C02 || 2 || 6350 || Attempted to call nn::fssrv::fscreator::ReadOnlyGameCardStorage::Write<br />
|-<br />
| 0x319E02 || 2 || 6351 || Attempted to call nn::fssrv::fscreator::ReadOnlyGameCardStorage::SetSize<br />
|-<br />
| 0x31A002 || 2 || 6352 || Invalid Operation ID in nn::fssrv::fscreator::ReadOnlyGameCardStorage::OperateRange<br />
|-<br />
| 0x31A202 || 2 || 6353 || Attempted to call SdStorage::SetSize<br />
|-<br />
| 0x31A402 || 2 || 6354 || Invalid Operation ID in SdStorage::OperateRange<br />
|-<br />
| 0x31A602 || 2 || 6355 || Invalid Operation ID in nn::fat::FatFile::DoOperateRange<br />
|-<br />
| 0x31A802 || 2 || 6356 || Invalid Operation ID in nn::fssystem::StorageFile::DoOperateRange<br />
|-<br />
| 0x31AA02 || 2 || 6357 || Attempted to call nn::fssystem::ConcatenationFile::SetSize<br />
|-<br />
| 0x31AC02 || 2 || 6358 || Attempted to call nn::fssystem::ConcatenationFile::OperateRange<br />
|-<br />
| 0x31AE02 || 2 || 6359 || Invalid Query ID in nn::fssystem::ConcatenationFileSystem::DoQueryEntry<br />
|-<br />
| 0x31B002 || 2 || 6360 || Invalid Operation ID in nn::fssystem::ConcatenationFile::DoOperateRange<br />
|-<br />
| 0x31B202 || 2 || 6361 || Attempted to call nn::fssystem::ZeroBitmapFile::SetSize<br />
|-<br />
| 0x31B402 || 2 || 6362 || Invalid Operation ID in nn::fs::detail::FileServiceObjectAdapter::DoOperateRange<br />
|-<br />
| 0x31B602 || 2 || 6363 || Invalid Operation ID in nn::fssystem::AesXtsFile::DoOperateRange<br />
|-<br />
| 0x31B802 || 2 || 6364 || Attempted to modify a nn::fs::RomFsFileSystem<br />
|-<br />
| 0x31BA02 || 2 || 6365 || Attempted to call nn::fs::RomFsFileSystem::DoCommitProvisionally<br />
|-<br />
| 0x31BC02 || 2 || 6366 || Attempted to query the space in a nn::fs::RomFsFileSystem<br />
|-<br />
| 0x31BE02 || 2 || 6367 || Attempted to modify a nn::fssystem::RomFsFile<br />
|-<br />
| 0x31C002 || 2 || 6368 || Invalid Operation ID in nn::fssystem::RomFsFile::DoOperateRange<br />
|-<br />
| 0x31C202 || 2 || 6369 || Attempted to modify a nn::fs::ReadOnlyFileSystemTemplate<br />
|-<br />
| 0x31C402 || 2 || 6370 || Attempted to call nn::fs::ReadOnlyFileSystemTemplate::DoCommitProvisionally<br />
|-<br />
| 0x31C602 || 2 || 6371 || Attempted to query the space in a nn::fs::ReadOnlyFileSystemTemplate<br />
|-<br />
| 0x31C802 || 2 || 6372 || Attempted to modify a nn::fs::ReadOnlyFileSystemFile<br />
|-<br />
| 0x31CA02 || 2 || 6373 || Invalid Operation ID in nn::fs::ReadOnlyFileSystemFile::DoOperateRange<br />
|-<br />
| 0x31CC02 || 2 || 6374 || Attempted to modify a nn::fssystem::PartitionFileSystemCore<br />
|-<br />
| 0x31CE02 || 2 || 6375 || Attempted to call nn::fssystem::PartitionFileSystemCore::DoCommitProvisionally<br />
|-<br />
| 0x31D002 || 2 || 6376 || Attempted to call nn::fssystem::PartitionFileSystemCore::PartitionFile::DoSetSize<br />
|-<br />
| 0x31D202 || 2 || 6377 || Invalid Operation ID in nn::fssystem::PartitionFileSystemCore::PartitionFile::DoOperateRange<br />
|-<br />
| 0x31D402 || 2 || 6378 || Invalid Operation ID in nn::fssystem::TmFileSystemFile::DoOperateRange<br />
|-<br />
| 0x31D602 || 2 || 6379 || Attempted to call unsupported functions in nn::fssrv::fscreator::SaveDataInternalStorageFileSystem, nn::fssrv::detail::SaveDataInternalStorageAccessor::PaddingFile or nn::fssystem::save::detail::SaveDataExtraDataInternalStorageFile<br />
|-<br />
| 0x31DC02 || 2 || 6382 || Attempted to call nn::fssystem::ApplicationTemporaryFileSystem::DoCommitProvisionally<br />
|-<br />
| 0x31DE02 || 2 || 6383 || Attempted to call nn::fssystem::SaveDataFileSystem::DoCommitProvisionally<br />
|-<br />
| 0x31E002 || 2 || 6384 || Attempted to call nn::fssystem::DirectorySaveDataFileSystem::DoCommitProvisionally<br />
|-<br />
| 0x31E202 || 2 || 6385 || Attempted to call nn::fssystem::ZeroBitmapHashStorageFile::Write<br />
|-<br />
| 0x31E402 || 2 || 6386 || Attempted to call nn::fssystem::ZeroBitmapHashStorageFile::SetSize<br />
|-<br />
| 0x320002 || 2 || 6400 || Permission denied<br />
|-<br />
| 0x326602 || 2 || 6451 || Missing titlekey(?) required to mount content<br />
|-<br />
| 0x326E02 || 2 || 6455 || File not closed<br />
|-<br />
| 0x327002 || 2 || 6456 || Directory not closed<br />
|-<br />
| 0x327202 || 2 || 6457 || Writable file not closed when committing<br />
|-<br />
| 0x327402 || 2 || 6458 || FS allocators already registered<br />
|-<br />
| 0x327602 || 2 || 6459 || FS allocators already used<br />
|-<br />
| 0x327A02 || 2 || 6461 || FS allocator alignment violation<br />
|-<br />
| 0x339402 || 2 || 6602 || File not found.<br />
|-<br />
| 0x339602 || 2 || 6603 || Directory not found.<br />
|-<br />
| 0x346C02 || 2 || 6710 || Multi-commit limit reached<br />
|-<br />
| 0x35F202 || 2 || 6905 || Mount name not found in table.<br />
|-<br />
| 0x3DBC02 || 2 || 7902 || RomFs table: Entry not found in dictionary<br />
|-<br />
| 0x3DBE02 || 2 || 7903 || RomFs table: File not found<br />
|-<br />
| 0x3DC002 || 2 || 7904 || RomFs table: Directory not found<br />
|-<br />
| 0x3DC402 || 2 || 7906 || RomFs table: Entry already exists when trying to add a new entry<br />
|-<br />
| 0x3DC602 || 2 || 7907 || RomFs table: Insufficient space to add new entry<br />
|-<br />
| 0x3DC802 || 2 || 7908 || RomFs table: Unable to add new directory<br />
|-<br />
| 0x3DCA02 || 2 || 7909 || RomFs table: Unable to add new file<br />
|-<br />
| 0x3DCC02 || 2 || 7910 || RomFs directory has no more child directories/files when iterating<br />
|-<br />
| 0x3DD402 || 2 || 7914 || RomFs table: Path is file, not directory<br />
|-<br />
| 0x803 || 3 || 4 || OS busy<br />
|-<br />
| 0xE03 || 3 || 7 || Invalid parameter<br />
|-<br />
| 0x1003 || 3 || 8 || Out of memory<br />
|-<br />
| 0x1203 || 3 || 9 || Out of resources<br />
|-<br />
| 0x3EA03 || 3 || 501 || Invalid handle<br />
|-<br />
| 0x3EE03 || 3 || 503 || Invalid memory mirror<br />
|-<br />
| 0x7FE03 || 3 || 1023 || TLS slot is not allocated<br />
|-<br />
| 0xA05 || 5 || 5 || [[Content_Manager_services|NcaID]] not found. Returned when attempting to mount titles which exist that aren't *8XX titles, the same way *8XX titles are mounted.<br />
|-<br />
| 0xE05 || 5 || 7 || TitleId not found<br />
|-<br />
| 0x1805 || 5 || 12 || Invalid StorageId<br />
|-<br />
| 0xDC05 || 5 || 110 || Gamecard not inserted<br />
|-<br />
| 0x17C05 || 5 || 190 || Gamecard not initialized<br />
|-<br />
| 0x1F405 || 5 || 250 || Sdcard not inserted<br />
|-<br />
| 0x20805 || 5 || 260 || Storage not mounted<br />
|-<br />
| 0x806 || 6 || 4 || Converted from error 0xD401<br />
|-<br />
| 0x1006 || 6 || 8 || Converted from error 0xE401<br />
|-<br />
| 0x408 || 8 || 2 || Program location entry not found<br />
|-<br />
| 0x608 || 8 || 3 || Invalid context for control location<br />
|-<br />
| 0x808 || 8 || 4 || Storage not found<br />
|-<br />
| 0xA08 || 8 || 5 || Access denied<br />
|-<br />
| 0xC08 || 8 || 6 || Offline manual HTML location entry not found<br />
|-<br />
| 0xE08 || 8 || 7 || Title is not registered<br />
|-<br />
| 0x1008 || 8 || 8 || Control location entry for host not found<br />
|-<br />
| 0x1208 || 8 || 9 || Legal info HTML location entry not found<br />
|-<br />
| 0x1408 || 8 || 10 || Program location for debug entry not found<br />
|-<br />
| 0x209 || 9 || 1 || Args too long.<br />
|-<br />
| 0x409 || 9 || 2 || Maximum processes loaded.<br />
|-<br />
| 0x609 || 9 || 3 || NPDM too big.<br />
|-<br />
| 0x809 || 9 || 4 || Invalid NPDM.<br />
|-<br />
| 0xA09 || 9 || 5 || Invalid NSO.<br />
|-<br />
| 0xC09 || 9 || 6 || Invalid Path.<br />
|-<br />
| 0xE09 || 9 || 7 || Already registered.<br />
|-<br />
| 0x1009 || 9 || 8 || Title not found.<br />
|-<br />
| 0x1209 || 9 || 9 || Title-id in ACI0 doesn't match range in ACID.<br />
|-<br />
| 0x1409 || 9 || 10 || Invalid version in NPDM.<br />
|-<br />
| 0x6609 || 9 || 51 || Insufficient address space.<br />
|-<br />
| 0x6809 || 9 || 52 || Insufficient NRO.<br />
|-<br />
| 0x6A09 || 9 || 53 || Invalid NRR<br />
|-<br />
| 0x6C09 || 9 || 54 || Invalid signature<br />
|-<br />
| 0x6E09 || 9 || 55 || Insufficient NRO registrations.<br />
|-<br />
| 0x7009 || 9 || 56 || Insufficient NRR registrations.<br />
|-<br />
| 0x7209 || 9 || 57 || NRO Already loaded.<br />
|-<br />
| 0xA209 || 9 || 81 || Unaligned NRR address<br />
|-<br />
| 0xA409 || 9 || 82 || Bad NRR size<br />
|-<br />
| 0xA809 || 9 || 84 || NRR Not Loaded.<br />
|-<br />
| 0xAA09 || 9 || 85 || Bad NRR address<br />
|-<br />
| 0xAE09 || 9 || 87 || Bad initialization<br />
|-<br />
| 0xC809 || 9 || 100 || Unknown ACI0 descriptor<br />
|-<br />
| 0xCE09 || 9 || 103 || ACID/ACI0 don't match for descriptor "KernelFlags"<br />
|-<br />
| 0xD009 || 9 || 104 || ACID/ACI0 don't match for descriptor "SyscallMask"<br />
|-<br />
| 0xD409 || 9 || 106 || ACID/ACI0 don't match for descriptor "MapIoOrNormalRange"<br />
|-<br />
| 0xD609 || 9 || 107 || ACID/ACI0 don't match for descriptor "MapNormalPage"<br />
|-<br />
| 0xDE09 || 9 || 111 || ACID/ACI0 don't match for descriptor "InterruptPair"<br />
|-<br />
| 0xE209 || 9 || 113 || ACID/ACI0 don't match for descriptor "ApplicationType"<br />
|-<br />
| 0xE409 || 9 || 114 || ACID/ACI0 don't match for descriptor "KernelReleaseVersion"<br />
|-<br />
| 0xE609 || 9 || 115 || ACID/ACI0 don't match for descriptor "HandleTableSize"<br />
|-<br />
| 0xE809 || 9 || 116 || ACID/ACI0 don't match for descriptor "DebugFlags"<br />
|-<br />
| 0x1940A || 10 || 202 || Invalid CMIF header size.<br />
|-<br />
| 0x1A60A || 10 || 211 || Invalid CMIF input header.<br />
|-<br />
| 0x1A80A || 10 || 212 || Invalid CMIF output header.<br />
|-<br />
| 0x1BA0A || 10 || 221 || Invalid method dispatch ID.<br />
|-<br />
| 0x1D60A || 10 || 235 || Invalid in object count.<br />
|-<br />
| 0x1D80A || 10 || 236 || Invalid out object count.<br />
|-<br />
| 0x25A0A || 10 || 301 || Out of domain entries.<br />
|-<br />
| 0x20B || 11 || 1 || Unsupported operation<br />
|-<br />
| 0xCC0B || 11 || 102 || Out of server session memory<br />
|-<br />
| 0x11A0B || 11 || 141 || Went past maximum during marshalling.<br />
|-<br />
| 0x1900B || 11 || 200 || Session doesn't support domains.<br />
|-<br />
| 0x25A0B || 11 || 301 || Remote process is dead.<br />
|-<br />
| 0x3260B || 11 || 403 || Unknown request type<br />
|-<br />
| 0x3D60B || 11 || 491 || IPC Query 1 failed.<br />
|-<br />
| 0x20F || 15 || 1 || Pid not found<br />
|-<br />
| 0x60F || 15 || 3 || Process has no pending events<br />
|-<br />
| 0xA0F || 15 || 5 || Application already running<br />
|-<br />
| 0x410 || 16 || 2 || Title-id not found<br />
|-<br />
| 0xF010 || 16 || 120 || Sysupdate not required<br />
|-<br />
| 0x1F610 || 16 || 251 || Unexpected StorageId<br />
|-<br />
| 0x2A810 || 16 || 340 || [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]] returned false.<br />
|-<br />
| 0x64210 || 16 || 801 || [[NS_Services#SystemDeliveryInfo|SystemDeliveryInfo]] system_delivery_protocol_version is less than the system-setting.<br />
|-<br />
| 0x64410 || 16 || 802 || [[NS_Services#SystemDeliveryInfo|SystemDeliveryInfo]] system_delivery_protocol_version is larger than the system-setting.<br />
|-<br />
| 0x74610 || 16 || 931 || Invalid [[NS_Services#SystemDeliveryInfo|SystemDeliveryInfo]] HMAC / invalid Meta Id.<br />
|-<br />
| 0x6F810 || 16 || 892 || Unknown state ref-count is zero.<br />
|-<br />
| 0x215 || 21 || 1 || Out of processes<br />
|-<br />
| 0x415 || 21 || 2 || Not initialized.<br />
|-<br />
| 0x615 || 21 || 3 || Max sessions<br />
|-<br />
| 0x815 || 21 || 4 || Service already registered<br />
|-<br />
| 0xA15 || 21 || 5 || Out of services<br />
|-<br />
| 0xC15 || 21 || 6 || Invalid name (all zeroes)<br />
|-<br />
| 0xE15 || 21 || 7 || Service not registered<br />
|-<br />
| 0x1015 || 21 || 8 || Permission denied<br />
|-<br />
| 0x1215 || 21 || 9 || Service Access Control too big.<br />
|-<br />
| 0x416 || 22 || 2 || Address space is full<br />
|-<br />
| 0x616 || 22 || 3 || NRO already loaded<br />
|-<br />
| 0x816 || 22 || 4 || Invalid NRO header values<br />
|-<br />
| 0xC16 || 22 || 6 || Bad NRR magic<br />
|-<br />
| 0x1016 || 22 || 8 || Reached max NRR count<br />
|-<br />
| 0x1216 || 22 || 9 || Unable to verify NRO hash or NRR signature<br />
|-<br />
| 0x80216 || 22 || 1025 || Address not page-aligned<br />
|-<br />
| 0x80416 || 22 || 1026 || Incorrect NRO size<br />
|-<br />
| 0x80816 || 22 || 1028 || NRO not loaded<br />
|-<br />
| 0x80A16 || 22 || 1029 || NRR not loaded<br />
|-<br />
| 0x80C16 || 22 || 1030 || Already initialized<br />
|-<br />
| 0x80E16 || 22 || 1031 || Not initialized<br />
|-<br />
| 0x21A || 26 || 1 || SMC is not implemented<br />
|-<br />
| 0x41A || 26 || 2 || SMC argument is invalid<br />
|-<br />
| 0x61A || 26 || 3 || SMC is currently in progress/secmon is busy<br />
|-<br />
| 0x81A || 26 || 4 || Secmon not currently performing async operation<br />
|-<br />
| 0xA1A || 26 || 5 || Invalid SMC async callback key<br />
|-<br />
| 0xC1A || 26 || 6 || SMC is blacklisted during current boot<br />
|-<br />
| 0xC81A || 26 || 100 || Invalid (buffer) size<br />
|-<br />
| 0xCA1A || 26 || 101 || Unknown SMC error<br />
|-<br />
| 0xCA1A || 26 || 101 || Decryption failure<br />
|-<br />
| 0xD01A || 26 || 104 || No AES keyslots available<br />
|-<br />
| 0xD21A || 26 || 105 || Invalid AES keyslot<br />
|-<br />
| 0xD41A || 26 || 106 || BootReason already set<br />
|-<br />
| 0xD61A || 26 || 107 || BootReason not set<br />
|-<br />
| 0xD81A || 26 || 108 || Invalid argument<br />
|-<br />
| 0x35B || 347 || 1 || Failed to init SM.<br />
|-<br />
| 0x55B || 347 || 2 || Failed to init FS.<br />
|-<br />
| 0x75B || 347 || 3 || Failed to open NRO file. May also happen when SD card isn't inserted / SD mounting failed earlier.<br />
|-<br />
| 0x95B || 347 || 4 || Failed to read NRO header.<br />
|-<br />
| 0xB5B || 347 || 5 || Invalid NRO magic.<br />
|-<br />
| 0xD5B || 347 || 6 || Invalid NRO segments.<br />
|-<br />
| 0xF5B || 347 || 7 || Failed to read NRO.<br />
|-<br />
| 0x135B || 347 || 9 || Failed to allocate heap.<br />
|-<br />
| 0x255B || 347 || 18 || Failed to map code-binary memory.<br />
|-<br />
| 0x275B || 347 || 19 || Failed to map code memory (.text).<br />
|-<br />
| 0x295B || 347 || 20 || Failed to map code memory (.rodata).<br />
|-<br />
| 0x2B5B || 347 || 21 || Failed to map code memory (.data+.bss).<br />
|-<br />
| 0x315B || 347 || 24 || Failed to unmap code memory (.text).<br />
|-<br />
| 0x335B || 347 || 25 || Failed to unmap code memory (.rodata).<br />
|-<br />
| 0x355B || 347 || 26 || Failed to unmap code memory (.data+.bss).<br />
|-<br />
| 0x19269 || 105 || 201 || Null settings name<br />
|-<br />
| 0x19469 || 105 || 202 || Null settings key<br />
|-<br />
| 0x19669 || 105 || 203 || Null settings value<br />
|-<br />
| 0x19A69 || 105 || 205 || Null settings value buffer<br />
|-<br />
| 0x1A069 || 105 || 208 || Null setting value size buffer<br />
|-<br />
| 0x1A269 || 105 || 209 || Null debug mode flag buffer<br />
|-<br />
| 0x1BA69 || 105 || 221 || Setting group name has zero length<br />
|-<br />
| 0x1BC69 || 105 || 222 || Empty settings item key<br />
|-<br />
| 0x1E269 || 105 || 241 || Setting group name is too long (64 character limit?)<br />
|-<br />
| 0x1E469 || 105 || 242 || Setting name is too long (64 character limit?)<br />
|-<br />
| 0x20A69 || 105 || 261 || Setting group name ends with '.' or contains invalid characters (allowed: [a-z0-9_\-.])<br />
|-<br />
| 0x20C69 || 105 || 262 || Setting name ends with '.' or contains invalid characters (allowed: [a-z0-9_\-.])<br />
|-<br />
| 0x4DA69 || 105 || 621 || Null language code buffer<br />
|-<br />
| 0x4E269 || 105 || 625 || Language out of valid range<br />
|-<br />
| 0x4EE69 || 105 || 631 || Null network settings buffer<br />
|-<br />
| 0x4F069 || 105 || 632 || Null network settings output count buffer<br />
|-<br />
| 0x50269 || 105 || 641 || Null backlight settings buffer<br />
|-<br />
| 0x51669 || 105 || 651 || Null Bluetooth device setting buffer<br />
|-<br />
| 0x51869 || 105 || 652 || Null Bluetooth device setting output count buffer<br />
|-<br />
| 0x51A69 || 105 || 653 || Null Bluetooth enable flag buffer<br />
|-<br />
| 0x51C69 || 105 || 654 || Null Bluetooth AFH enable flag buffer<br />
|-<br />
| 0x51E69 || 105 || 655 || Null Bluetooth boost enable flag buffer<br />
|-<br />
| 0x52069 || 105 || 656 || Null BLE pairing settings buffer<br />
|-<br />
| 0x52269 || 105 || 657 || Null BLE pairing settings entry count buffer<br />
|-<br />
| 0x52A69 || 105 || 661 || Null external steady clock source ID buffer<br />
|-<br />
| 0x52C69 || 105 || 662 || Null user system clock context buffer<br />
|-<br />
| 0x52E69 || 105 || 663 || Null network system clock context buffer<br />
|-<br />
| 0x53069 || 105 || 664 || Null user system clock automatic correction enabled flag buffer<br />
|-<br />
| 0x53269 || 105 || 665 || Null shutdown RTC value buffer<br />
|-<br />
| 0x53469 || 105 || 666 || Null external steady clock internal offset buffer<br />
|-<br />
| 0x53E69 || 105 || 671 || Null account settings buffer<br />
|-<br />
| 0x55269 || 105 || 681 || Null audio volume buffer<br />
|-<br />
| 0x55669 || 105 || 683 || Null ForceMuteOnHeadphoneRemoved buffer<br />
|-<br />
| 0x55869 || 105 || 684 || Null headphone volume warning count buffer<br />
|-<br />
| 0x55E69 || 105 || 687 || Invalid audio output mode<br />
|-<br />
| 0x56069 || 105 || 688 || Null headphone volume update flag buffer<br />
|-<br />
| 0x56669 || 105 || 691 || Null console information upload flag buffer<br />
|-<br />
| 0x57A69 || 105 || 701 || Null automatic application download flag buffer<br />
|-<br />
| 0x57C69 || 105 || 702 || Null notification settings buffer<br />
|-<br />
| 0x57E69 || 105 || 703 || Null account notification settings entry count buffer<br />
|-<br />
| 0x58069 || 105 || 704 || Null account notification settings buffer<br />
|-<br />
| 0x58E69 || 105 || 711 || Null vibration master volume buffer<br />
|-<br />
| 0x59069 || 105 || 712 || Null NX controller settings buffer<br />
|-<br />
| 0x59269 || 105 || 713 || Null NX controller settings entry count buffer<br />
|-<br />
| 0x59469 || 105 || 714 || Null USB full key enable flag buffer<br />
|-<br />
| 0x5A269 || 105 || 721 || Null TV settings buffer<br />
|-<br />
| 0x5A469 || 105 || 722 || Null EDID buffer<br />
|-<br />
| 0x5B669 || 105 || 731 || Null data deletion settings buffer<br />
|-<br />
| 0x5CA69 || 105 || 741 || Null initial system applet program ID buffer<br />
|-<br />
| 0x5CC69 || 105 || 742 || Null overlay disp program ID buffer<br />
|-<br />
| 0x5CE69 || 105 || 743 || Null IsInRepairProcess buffer<br />
|-<br />
| 0x5D069 || 105 || 744 || Null RequiresRunRepairTimeReviser buffer<br />
|-<br />
| 0x5DE69 || 105 || 751 || Null device timezone location name buffer<br />
|-<br />
| 0x5F269 || 105 || 761 || Null primary album storage buffer<br />
|-<br />
| 0x60669 || 105 || 771 || Null USB 3.0 enable flag buffer<br />
|-<br />
| 0x60869 || 105 || 772 || Null USB Type-C power source circuit version buffer<br />
|-<br />
| 0x61A69 || 105 || 781 || Null battery lot buffer<br />
|-<br />
| 0x62E69 || 105 || 791 || Null serial number buffer<br />
|-<br />
| 0x64269 || 105 || 801 || Null lock screen flag buffer<br />
|-<br />
| 0x64669 || 105 || 803 || Null color set ID buffer<br />
|-<br />
| 0x64869 || 105 || 804 || Null quest flag buffer<br />
|-<br />
| 0x64A69 || 105 || 805 || Null wireless certification file size buffer<br />
|-<br />
| 0x64C69 || 105 || 806 || Null wireless certification file buffer<br />
|-<br />
| 0x64E69 || 105 || 807 || Null initial launch settings buffer<br />
|-<br />
| 0x65069 || 105 || 808 || Null device nickname buffer<br />
|-<br />
| 0x65269 || 105 || 809 || Null battery percentage flag buffer<br />
|-<br />
| 0x65469 || 105 || 810 || Null applet launch flags buffer<br />
|-<br />
| 0x7E869 || 105 || 1012 || Null wireless LAN enable flag buffer<br />
|-<br />
| 0x7FA69 || 105 || 1021 || Null product model buffer<br />
|-<br />
| 0x80E69 || 105 || 1031 || Null NFC enable flag buffer<br />
|-<br />
| 0x82269 || 105 || 1041 || Null ECI device certificate buffer<br />
|-<br />
| 0x82469 || 105 || 1042 || Null E-Ticket device certificate buffer<br />
|-<br />
| 0x83669 || 105 || 1051 || Null sleep settings buffer<br />
|-<br />
| 0x84A69 || 105 || 1061 || Null EULA version buffer<br />
|-<br />
| 0x84C69 || 105 || 1062 || Null EULA version entry count buffer<br />
|-<br />
| 0x85E69 || 105 || 1071 || Null LDN channel buffer<br />
|-<br />
| 0x87269 || 105 || 1081 || Null SSL key buffer<br />
|-<br />
| 0x87469 || 105 || 1082 || Null SSL certificate buffer<br />
|-<br />
| 0x88669 || 105 || 1091 || Null telemetry flags buffer<br />
|-<br />
| 0x89A69 || 105 || 1101 || Null Gamecard key buffer<br />
|-<br />
| 0x89C69 || 105 || 1102 || Null Gamecard certificate buffer<br />
|-<br />
| 0x8AE69 || 105 || 1111 || Null PTM battery lot buffer<br />
|-<br />
| 0x8B069 || 105 || 1112 || Null PTM fuel gauge parameter buffer<br />
|-<br />
| 0x8C269 || 105 || 1121 || Null ECI device key buffer<br />
|-<br />
| 0x8C469 || 105 || 1122 || Null E-Ticket device key buffer<br />
|-<br />
| 0x8D669 || 105 || 1131 || Null speaker parameter buffer<br />
|-<br />
| 0x8EA69 || 105 || 1141 || Null firmware version buffer<br />
|-<br />
| 0x8EC69 || 105 || 1142 || Null firmware version digest buffer<br />
|-<br />
| 0x8EE69 || 105 || 1143 || Null rebootless system update version buffer<br />
|-<br />
| 0x8FE69 || 105 || 1151 || Null Mii author ID buffer<br />
|-<br />
| 0x91269 || 105 || 1161 || Null fatal flags buffer<br />
|-<br />
| 0x92669 || 105 || 1171 || Null auto update enable flag buffer<br />
|-<br />
| 0x93A69 || 105 || 1181 || Null external RTC reset flag buffer<br />
|-<br />
| 0x94E69 || 105 || 1191 || Null push notification activity mode buffer<br />
|-<br />
| 0x96269 || 105 || 1201 || Null service discovery control setting buffer<br />
|-<br />
| 0x97669 || 105 || 1211 || Null error report share permission buffer<br />
|-<br />
| 0x98A69 || 105 || 1221 || Null LCD vendor ID buffer<br />
|-<br />
| 0x99E69 || 105 || 1231 || Null console SixAxis sensor acceleration bias buffer<br />
|-<br />
| 0x9A069 || 105 || 1232 || Null console SixAxis sensor angular velocity bias buffer<br />
|-<br />
| 0x9A269 || 105 || 1233 || Null console SixAxis sensor acceleration gain buffer<br />
|-<br />
| 0x9A469 || 105 || 1234 || Null console SixAxis sensor angular velocity gain buffer<br />
|-<br />
| 0x9A669 || 105 || 1235 || Null console SixAxis sensor angular velocity time bias buffer<br />
|-<br />
| 0x9A869 || 105 || 1236 || Null console SixAxis sensor angular acceleration buffer <br />
|-<br />
| 0x9B269 || 105 || 1241 || Null keyboard layout buffer<br />
|-<br />
| 0x9BA69 || 105 || 1245 || Invalid keyboard layout<br />
|-<br />
| 0x9C669 || 105 || 1251 || Null web inspector flag buffer<br />
|-<br />
| 0x9C869 || 105 || 1252 || Null allowed SSL hosts buffer<br />
|-<br />
| 0x9CA69 || 105 || 1253 || Null allowed SSL hosts entry count buffer<br />
|-<br />
| 0x9CC69 || 105 || 1254 || Null host FS mount point buffer<br />
|-<br />
| 0x9EE69 || 105 || 1271 || Null Amiibo key buffer<br />
|-<br />
| 0x9F069 || 105 || 1272 || Null Amiibo ECQV certificate buffer<br />
|-<br />
| 0x9F269 || 105 || 1273 || Null Amiibo ECDSA certificate buffer<br />
|-<br />
| 0x9F469 || 105 || 1274 || Null Amiibo ECQV BLS key buffer<br />
|-<br />
| 0x9F669 || 105 || 1275 || Null Amiibo ECQV BLS certificate buffer<br />
|-<br />
| 0x9F869 || 105 || 1276 || Null Amiibo ECQV BLS root certificate buffer<br />
|-<br />
| 0x272 || 114 || 1 || Generic error<br />
|-<br />
| 0xC72 || 114 || 6 || Unsupported operation<br />
|-<br />
| 0x74 || 116 || 0 || Time service not initialized<br />
|-<br />
| 0x274 || 116 || 1 || Permission denied<br />
|-<br />
| 0xCC74 || 116 || 102 || Time not set / Clock Source Id mismatch<br />
|-<br />
| 0x19074 || 116 || 200 || Invalid time comparison<br />
|-<br />
| 0x19274 || 116 || 201 || Signed overflow/underflow<br />
|-<br />
| 0x64274 || 116 || 801 || Memory allocation failure<br />
|-<br />
| 0x70A74 || 116 || 901 || Null pointer<br />
|-<br />
| 0x70C74 || 116 || 902 || Value out of valid range<br />
|-<br />
| 0x70E74 || 116 || 903 || TimeZoneRule conversion failed<br />
|-<br />
| 0x7BA74 || 116 || 989 || TimeZone location name not found<br />
|-<br />
| 0x7BC74 || 116 || 990 || Unimplemented functionality<br />
|-<br />
| 0xC79 || 121 || 6 || [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]] returned false.<br />
|-<br />
| 0x27A || 122 || 1 || Invalid argument<br />
|-<br />
| 0x47A || 122 || 2 || Object not found<br />
|-<br />
| 0x67A || 122 || 3 || Object locked/in used<br />
|-<br />
| 0x87A || 122 || 4 || Target already mounted<br />
|-<br />
| 0xA7A || 122 || 5 || Target not mounted<br />
|-<br />
| 0xC7A || 122 || 6 || Object already opened<br />
|-<br />
| 0xE7A || 122 || 7 || Object not opened<br />
|-<br />
| 0x107A || 122 || 8 || [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]] returned false.<br />
|-<br />
| 0xA07A || 122 || 80 || Passphrase not found<br />
|-<br />
| 0xA27A || 122 || 81 || Data verification failed<br />
|-<br />
| 0xB47A || 122 || 90 || Invalid API call<br />
|-<br />
| 0xC47A || 122 || 98 || Invalid operation<br />
|-<br />
| 0x167B || 123 || 11 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC errors: -8192 (SEC_ERROR_IO), -8191 (SEC_ERROR_LIBRARY_FAILURE), -8190 (SEC_ERROR_BAD_DATA), -8189 (SEC_ERROR_OUTPUT_LEN), -8188 (SEC_ERROR_INPUT_LEN), -8187 (SEC_ERROR_INVALID_ARGS), -8186 (SEC_ERROR_INVALID_ALGORITHM), -8184 (SEC_ERROR_INVALID_TIME), -8152 (SEC_ERROR_INVALID_KEY).<br />
<br />
Also converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] errors: -5991 (PR_IO_ERROR), -5962 (PR_BUFFER_OVERFLOW_ERROR), -5950 (PR_FILE_NOT_FOUND_ERROR), -5949 (PR_NOT_DIRECTORY_ERROR), -5946 (PR_FILESYSTEM_MOUNTED_ERROR), -5938 (PR_END_OF_FILE_ERROR).<br />
<br />
Also converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12223 (SSL_ERROR_GENERATE_RANDOM_FAILURE), -12222 (SSL_ERROR_SIGN_HASHES_FAILURE), -12221 (SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE), -12219 (SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE), -12218 (SSL_ERROR_ENCRYPTION_FAILURE), -12217 (SSL_ERROR_DECRYPTION_FAILURE), -12216 (SSL_ERROR_SOCKET_WRITE_FAILURE), -12212 (SSL_ERROR_SYM_KEY_CONTEXT_FAILURE), -12209 (SSL_ERROR_IV_PARAM_FAILURE), -12207 (SSL_ERROR_SESSION_KEY_GEN_FAILURE), -12203 (SSL_ERROR_NO_COMPRESSION_OVERLAP), -12202 (SSL_ERROR_HANDSHAKE_NOT_COMPLETED), -12201 (SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE), -12172 (SSL_ERROR_NEXT_PROTOCOL_DATA_INVALID).<br />
|-<br />
| 0x1A7B || 123 || 13 || Unrecognized error.<br />
|-<br />
| 0xCC7B || 123 || 102 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8173 (SEC_ERROR_NO_MEMORY).<br />
<br />
Also converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] errors: -6000 (PR_OUT_OF_MEMORY_ERROR), -5974 (PR_INSUFFICIENT_RESOURCES_ERROR, -5971 (PR_PROC_DESC_TABLE_FULL_ERROR).<br />
|-<br />
| 0xE87B || 123 || 116 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5999 (PR_BAD_DESCRIPTOR_ERROR).<br />
|-<br />
| 0x1027B || 123 || 129 || DER CRL decoding failed.<br />
|-<br />
| 0x1987B || 123 || 204 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5998 (PR_WOULD_BLOCK_ERROR).<br />
|-<br />
| 0x19A7B || 123 || 205 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5990 (PR_IO_TIMEOUT_ERROR).<br />
|-<br />
| 0x19C7B || 123 || 206 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5935 (PR_OPERATION_ABORTED_ERROR).<br />
|-<br />
| 0x1A07B || 123 || 208 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5978 (PR_NOT_CONNECTED_ERROR).<br />
|-<br />
| 0x1A27B || 123 || 209 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5961 (PR_CONNECT_RESET_ERROR).<br />
|-<br />
| 0x1A47B || 123 || 210 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5928 (PR_CONNECT_ABORTED_ERROR).<br />
|-<br />
| 0x1A67B || 123 || 211 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5929 (PR_SOCKET_SHUTDOWN_ERROR).<br />
|-<br />
| 0x1A87B || 123 || 212 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_Error_Handling NSPR] error -5930 (PR_NETWORK_DOWN_ERROR).<br />
|-<br />
| 0x1AE7B || 123 || 215 || ClientPki/InternalPki was already previously imported/registered.<br />
|-<br />
| 0x1B47B || 123 || 218 || Maximum number of ServerPki objects were already imported.<br />
|-<br />
| 0x25A7B || 123 || 301 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12276 (SSL_ERROR_BAD_CERT_DOMAIN).<br />
|-<br />
| 0x25C7B || 123 || 302 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12285 (SSL_ERROR_NO_CERTIFICATE).<br />
|-<br />
| 0x25E7B || 123 || 303 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC errors: -8181 (SEC_ERROR_EXPIRED_CERTIFICATE), -8162 (SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE).<br />
|-<br />
| 0x2607B || 123 || 304 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8180 (SEC_ERROR_REVOKED_CERTIFICATE).<br />
|-<br />
| 0x2627B || 123 || 305 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8183 (SEC_ERROR_BAD_DER).<br />
|-<br />
| 0x2647B || 123 || 306 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC errors: -8102 (SEC_ERROR_INADEQUATE_KEY_USAGE), -8101 (SEC_ERROR_INADEQUATE_CERT_TYPE).<br />
|-<br />
| 0x2667B || 123 || 307 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC errors: -8185 (SEC_ERROR_INVALID_AVA), -8182 (SEC_ERROR_BAD_SIGNATURE), -8158 (SEC_ERROR_EXTENSION_VALUE_INVALID), -8156 (SEC_ERROR_CA_CERT_INVALID), -8151 (SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION), -8080 (SEC_ERROR_CERT_NOT_IN_NAME_SPACE).<br />
|-<br />
| 0x2687B || 123 || 308 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC errors: -8179 (SEC_ERROR_UNKNOWN_ISSUER), -8172 (SEC_ERROR_UNTRUSTED_ISSUER), -8014 (SEC_ERROR_APPLICATION_CALLBACK_ERROR).<br />
|-<br />
| 0x26A7B || 123 || 309 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8171 (SEC_ERROR_UNTRUSTED_CERT).<br />
|-<br />
| 0x26C7B || 123 || 310 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12233 (SSL_ERROR_RX_UNKNOWN_RECORD_TYPE), -12232 (SSL_ERROR_RX_UNKNOWN_HANDSHAKE), -12231 (SSL_ERROR_RX_UNKNOWN_ALERT). This is also returned by ImportClientPki when import fails.<br />
|-<br />
| 0x26E7B || 123 || 311 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12261 (SSL_ERROR_RX_MALFORMED_HELLO_REQUEST), -12260 (SSL_ERROR_RX_MALFORMED_CLIENT_HELLO), -12259 (SSL_ERROR_RX_MALFORMED_SERVER_HELLO), -12258 (SSL_ERROR_RX_MALFORMED_CERTIFICATE), -12257 (SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH), -12256 (SSL_ERROR_RX_MALFORMED_CERT_REQUEST), -12255 (SSL_ERROR_RX_MALFORMED_HELLO_DONE), -12254 (SSL_ERROR_RX_MALFORMED_CERT_VERIFY), -12253 (SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH), -12252 (SSL_ERROR_RX_MALFORMED_FINISHED), -12251 (SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER), -12250 (SSL_ERROR_RX_MALFORMED_ALERT), -12249 (SSL_ERROR_RX_MALFORMED_HANDSHAKE), -12248 (SSL_ERROR_RX_MALFORMED_APPLICATION_DATA), -12166 (SSL_ERROR_RX_MALFORMED_HELLO_VERIFY_REQUEST).<br />
|-<br />
| 0x2707B || 123 || 312 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8144 (SEC_ERROR_UNSUPPORTED_KEYALG).<br />
<br />
Also converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12274 (SSL_ERROR_SSL2_DISABLED), -12247 (SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST), -12246 (SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO), -12245 (SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO), -12244 (SSL_ERROR_RX_UNEXPECTED_CERTIFICATE), -12243 (SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH), -12242 (SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST), -12241 (SSL_ERROR_RX_UNEXPECTED_HELLO_DONE), -12240 (SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY), -12239 (SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH), -12238 (SSL_ERROR_RX_UNEXPECTED_FINISHED).<br />
|-<br />
| 0x2727B || 123 || 313 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12237 (SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER), -12236 (SSL_ERROR_RX_UNEXPECTED_ALERT), -12235 (SSL_ERROR_RX_UNEXPECTED_HANDSHAKE), -12234 (SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA).<br />
|-<br />
| 0x2747B || 123 || 314 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG).<br />
|-<br />
| 0x2767B || 123 || 315 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12165 (SSL_ERROR_RX_UNEXPECTED_HELLO_VERIFY_REQUEST).<br />
|-<br />
| 0x2787B || 123 || 316 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12163 (SSL_ERROR_RX_UNEXPECTED_CERT_STATUS).<br />
|-<br />
| 0x27A7B || 123 || 317 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12160 (SSL_ERROR_INCORRECT_SIGNATURE_ALGORITHM).<br />
|-<br />
| 0x27C7B || 123 || 318 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12173 (SSL_ERROR_WEAK_SERVER_EPHEMERAL_DH_KEY), -12156 (SSL_ERROR_WEAK_SERVER_CERT_KEY).<br />
|-<br />
| 0x27E7B || 123 || 319 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12273 (SSL_ERROR_BAD_MAC_READ).<br />
|-<br />
| 0x2827B || 123 || 321 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL errors: -12215 (SSL_ERROR_MD5_DIGEST_FAILURE), -12214 (SSL_ERROR_SHA_DIGEST_FAILURE), -12161 (SSL_ERROR_DIGEST_FAILURE).<br />
|-<br />
| 0x2847B || 123 || 322 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12213 (SSL_ERROR_MAC_COMPUTATION_FAILURE).<br />
|-<br />
| 0x2887B || 123 || 324 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8157 (SEC_ERROR_EXTENSION_NOT_FOUND).<br />
|-<br />
| 0x28A7B || 123 || 325 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8049 (SEC_ERROR_UNRECOGNIZED_OID).<br />
|-<br />
| 0x28C7B || 123 || 326 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SEC error -8032 (SEC_ERROR_POLICY_VALIDATION_FAILED).<br />
|-<br />
| 0x2947B || 123 || 330 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12177 (SSL_ERROR_DECOMPRESSION_FAILURE).<br />
|-<br />
| 0xBBA7B || 123 || 1501 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12230 (SSL_ERROR_CLOSE_NOTIFY_ALERT).<br />
|-<br />
| 0xBBC7B || 123 || 1502 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12229 (SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT).<br />
|-<br />
| 0xBBE7B || 123 || 1503 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12272 (SSL_ERROR_BAD_MAC_ALERT).<br />
|-<br />
| 0xBC07B || 123 || 1504 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12197 (SSL_ERROR_DECRYPTION_FAILED_ALERT).<br />
|-<br />
| 0xBC27B || 123 || 1505 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12196 (SSL_ERROR_RECORD_OVERFLOW_ALERT).<br />
|-<br />
| 0xBC47B || 123 || 1506 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12228 (SSL_ERROR_DECOMPRESSION_FAILURE_ALERT).<br />
|-<br />
| 0xBC67B || 123 || 1507 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12227 (SSL_ERROR_HANDSHAKE_FAILURE_ALERT).<br />
|-<br />
| 0xBCA7B || 123 || 1509 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12271 (SSL_ERROR_BAD_CERT_ALERT).<br />
|-<br />
| 0xBCC7B || 123 || 1510 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12225 (SSL_ERROR_UNSUPPORTED_CERT_ALERT).<br />
|-<br />
| 0xBCE7B || 123 || 1511 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12270 (SSL_ERROR_REVOKED_CERT_ALERT).<br />
|-<br />
| 0xBD07B || 123 || 1512 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12269 (SSL_ERROR_EXPIRED_CERT_ALERT).<br />
|-<br />
| 0xBD27B || 123 || 1513 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12224 (SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT).<br />
|-<br />
| 0xBD47B || 123 || 1514 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12226 (SSL_ERROR_ILLEGAL_PARAMETER_ALERT).<br />
|-<br />
| 0xBD67B || 123 || 1515 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12195 (SSL_ERROR_UNKNOWN_CA_ALERT).<br />
|-<br />
| 0xBD87B || 123 || 1516 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12194 (SSL_ERROR_ACCESS_DENIED_ALERT).<br />
|-<br />
| 0xBDA7B || 123 || 1517 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12193 (SSL_ERROR_DECODE_ERROR_ALERT).<br />
|-<br />
| 0xBDC7B || 123 || 1518 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12192 (SSL_ERROR_DECRYPT_ERROR_ALERT).<br />
|-<br />
| 0xBDE7B || 123 || 1519 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12191 (SSL_ERROR_EXPORT_RESTRICTION_ALERT).<br />
|-<br />
| 0xBE07B || 123 || 1520 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT).<br />
|-<br />
| 0xBE27B || 123 || 1521 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12189 (SSL_ERROR_INSUFFICIENT_SECURITY_ALERT).<br />
|-<br />
| 0xBE47B || 123 || 1522 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12188 (SSL_ERROR_INTERNAL_ERROR_ALERT).<br />
|-<br />
| 0xBE67B || 123 || 1523 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12157 (SSL_ERROR_INAPPROPRIATE_FALLBACK_ALERT).<br />
|-<br />
| 0xBE87B || 123 || 1524 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12187 (SSL_ERROR_USER_CANCELED_ALERT).<br />
|-<br />
| 0xBEA7B || 123 || 1525 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12186 (SSL_ERROR_NO_RENEGOTIATION_ALERT).<br />
|-<br />
| 0xBEC7B || 123 || 1526 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12184 (SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT).<br />
|-<br />
| 0xBEE7B || 123 || 1527 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12183 (SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT).<br />
|-<br />
| 0xBF07B || 123 || 1528 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12182 (SSL_ERROR_UNRECOGNIZED_NAME_ALERT).<br />
|-<br />
| 0xBF27B || 123 || 1529 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12181 (SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT).<br />
|-<br />
| 0xBF47B || 123 || 1530 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12180 (SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT).<br />
|-<br />
| 0x27127B || 123 || 5001 || Converted from [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html NSS] SSL error -12155 (SSL_ERROR_RX_SHORT_DTLS_READ).<br />
|-<br />
| 0x271E7B || 123 || 5007 || Out-of-bounds error during error conversion.<br />
|-<br />
| 0x287C || 124 || 20 || Argument is NULL<br />
|-<br />
| 0x2C7C || 124 || 22 || Argument is invalid<br />
|-<br />
| 0x3C7C || 124 || 30 || Bad input buffer size<br />
|-<br />
| 0x407C || 124 || 32 || Invalid input buffer<br />
|-<br />
| 0x767C || 124 || 59 || [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]] returned false.<br />
|-<br />
| || 124 || 4007 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/28046/ Account Permanant Ban]<br />
|-<br />
| || 124 || 4508 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/28046/ Account Permanant Ban]<br />
|-<br />
| || 124 || 4517 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/43652/ Account Ban]<br />
|-<br />
| 0x27E || 126 || 1 || Invalid argument<br />
|-<br />
| 0x87E || 126 || 4 || Entry not found<br />
|-<br />
| 0xCE7E || 126 || 67 || Invalid database signature value (should be "NFDB")<br />
|-<br />
| 0xD27E || 126 || 69 || Invalid database entry count<br />
|-<br />
| 0x1987E || 126 || 204 || Development/debug-only behavior<br />
|-<br />
| 0x480 || 128 || 2 || IStorage not available.<br />
|-<br />
| 0x680 || 128 || 3 || No messages<br />
|-<br />
| 0x4680 || 128 || 35 || Error while launching applet.<br />
|-<br />
| 0x4A80 || 128 || 37 || Title-ID not found. Caused by code 0x410 when applet launch fails<br />
|-<br />
| 0x3E880 || 128 || 500 || Invalid input<br />
|-<br />
| 0x3EC80 || 128 || 502 || IStorage has already been opened by another accessor<br />
|-<br />
| 0x3EE80 || 128 || 503 || IStorage Read/Write out-of-bounds<br />
|-<br />
| 0x3F480 || 128 || 506 || Invalid parameters<br />
|-<br />
| 0x3FE80 || 128 || 511 || IStorage opened as wrong type (data opened as transfermem, transfermem opened as data)<br />
|-<br />
| 0x40080 || 128 || 512 || Unbalanced fatal section leave (returned when executing LeaveFatalSection without a preceding EnterFatalSection call)<br />
|-<br />
| 0x40C80 || 128 || 518 || Null object<br />
|-<br />
| 0x4B080 || 128 || 600 || Failed to allocate memory for IStorage<br />
|-<br />
| 0x59080 || 128 || 712 || Thread stack pool exhausted (out of memory)<br />
|-<br />
| 0x79C80 || 128 || 974 || DebugMode not enabled<br />
|-<br />
| 0x7A880 || 128 || 980 || <code>am.debug!dev_function</code> setting needs to be set / DebugMode not enabled<br />
|-<br />
| 0x7CC80 || 128 || 998 || Not implemented<br />
|-<br />
| 0xCC81 || 129 || 102 || Transmission not agreed<br />
|-<br />
| 0xD281 || 129 || 105 || Network unavailable<br />
|-<br />
| 0x7DA81 || 129 || 1005 || HTTP error: Couldnt resolve proxy<br />
|-<br />
| 0x7DC81 || 129 || 1006 || HTTP error: Couldnt resolve host<br />
|-<br />
| 0x7DE81 || 129 || 1007 || HTTP error: Couldnt connect<br />
|-<br />
| 0x7FE81 || 129 || 1023 || HTTP error: Write error<br />
|-<br />
| 0x80481 || 129 || 1026 || HTTP error: Read error<br />
|-<br />
| 0x80681 || 129 || 1027 || HTTP error: Out of memory<br />
|-<br />
| 0x80881 || 129 || 1028 || HTTP error: Operation timedout<br />
|-<br />
| 0x81681 || 129 || 1035 || HTTP error: SSL connect error<br />
|-<br />
| 0x83681 || 129 || 1051 || HTTP error: Peer failed verification<br />
|-<br />
| 0x83881 || 129 || 1052 || HTTP error: Got nothing<br />
|-<br />
| 0x83E81 || 129 || 1055 || HTTP error: Send error<br />
|-<br />
| 0x84081 || 129 || 1056 || HTTP error: Recv error<br />
|-<br />
| 0x84481 || 129 || 1058 || HTTP error: SSL cert problem<br />
|-<br />
| 0x84681 || 129 || 1059 || HTTP error: SSL cipher<br />
|-<br />
| 0x84881 || 129 || 1060 || HTTP error: SSL CA cert<br />
|-<br />
| 0x12C081 || 129 || 2400 || Server error: Status 400<br />
|-<br />
| 0x12C281 || 129 || 2401 || Server error: Status 401<br />
|-<br />
| 0x12C681 || 129 || 2403 || Server error: Status 403<br />
|-<br />
| 0x138881 || 129 || 2500 || Server error: Status 500<br />
|-<br />
| 0x138E81 || 129 || 2503 || Server error: Status 503<br />
|-<br />
| 0x139081 || 129 || 2504 || Server error: Status 504<br />
|-<br />
| 0xA83 || 131 || 5 || Unrecognized applet ID<br />
|-<br />
| 0x485 || 133 || 2 || Invalid DVFS table ID<br />
|-<br />
| 0x685 || 133 || 3 || DVFS table ID for debug only, see [[PCV_services#Module|DVFS Table]] notes.<br />
|-<br />
| 0x885 || 133 || 4 || Invalid parameter<br />
|-<br />
| 0x1489 || 137 || 10 || Already initialized.<br />
|-<br />
| 0x3C89 || 137 || 30 || Task not found.<br />
|-<br />
| 0x5089 || 137 || 40 || Memory allocation failed / bad input.<br />
|-<br />
| 0x29489 || 137 || 330 || [[NCM_services#ContentMetaType|ContentMetaType]] doesn't match SystemUpdate.<br />
|-<br />
| 0x271289 || 137 || 5001 || One of the following socket errors occurred: ENETDOWN, ECONNRESET, EHOSTDOWN, EHOSTUNREACH, or EPIPE. Also occurs when the received size doesn't match the expected size (recvfrom() ret with [[NIM_services#Contents_Delivery|meta_size]] data receiving).<br />
|-<br />
| 0x272489 || 137 || 5010 || Socket was [[Sockets_services|shutdown()]] due to the async operation being cancelled.<br />
|-<br />
| 0x273889 || 137 || 5020 || Too many internal output entries with [[NIM_services|nim]] cmd42, system is [[NIM_services#Contents_Delivery|Internet-connected]], or an unrecognized socket error occured.<br />
|-<br />
| 0x27D889 || 137 || 5100 || Connection timeout.<br />
|-<br />
| 0x2A4489 || 137 || 5410 || Invalid [[NIM_services#Contents_Delivery|ID]].<br />
|-<br />
| 0x2A5889 || 137 || 5420 || Invalid [[NIM_services#Contents_Delivery|magicnum]]. Can also be caused by the connection being closed by the peer, since non-negative return values from recv() are ignored in this case.<br />
|-<br />
| 0x2A6C89 || 137 || 5430 || Invalid [[NIM_services#Contents_Delivery|data_size]].<br />
|-<br />
| 0x2A8089 || 137 || 5440 || The input [[NCM_services#ContentMetaKey|ContentMetaKey]] doesn't match the ContentMetaKey in state.<br />
|-<br />
| 0x2A9489 || 137 || 5450 || Invalid [[NIM_services#Contents_Delivery|meta_size]].<br />
|-<br />
| 0x36B289 || 137 || 7001 || HTTP invalid response code (>=600).<br />
|-<br />
| 0x36B489 || 137 || 7002 || HTTP invalid client response code (4xx).<br />
|-<br />
| 0x36B689 || 137 || 7003 || HTTP invalid server response code (5xx).<br />
|-<br />
| 0x36B889 || 137 || 7004 || HTTP invalid redirect response code (3xx).<br />
|-<br />
| 0x390889-0x391889 || 137 || 7300-7308 || HTTP response code 300-308.<br />
|-<br />
| 0x39D089-0x39F289 || 137 || 7400-7417 || HTTP response code 400-417.<br />
|-<br />
| 0x3A9889-0x3AAA89 || 137 || 7500-7509 || HTTP response code 500-509.<br />
|-<br />
| 0x3CF089 || 137 || 7800 || Unknown/invalid libcurl error.<br />
|-<br />
| 0x3E8289-0x3F4089 || 137 || 8001-8096 || libcurl error 1-96. Some of the libcurl errors in the error-table map to the above unknown-libcurl-error however.<br />
|-<br />
| 0x68A || 138 || 3 || Not initialized.<br />
|-<br />
| 0x668C || 140 || 51 || USB data-transfer in progress<br />
|-<br />
| 0xD48C || 140 || 106 || Invalid descriptor<br />
|-<br />
| 0x1928C || 140 || 201 || USB device not bound / interface already enabled<br />
|-<br />
| 0x1BE8E || 142 || 223 || [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]] returned false.<br />
|-<br />
| 0x290 || 144 || 1 || Exited Abnormally ([[Applet_Manager_services#LibraryAppletExitReason|ExitReason]] == Abormal)<br />
|-<br />
| 0x690 || 144 || 3 || Canceled ([[Applet_Manager_services#LibraryAppletExitReason|ExitReason]] == Canceled)<br />
|-<br />
| 0x890 || 144 || 4 || Rejected<br />
|-<br />
| 0xA90 || 144 || 5 || Exited Unexpectedly ([[Applet_Manager_services#LibraryAppletExitReason|ExitReason]] == Unexpected)<br />
|-<br />
| 0x299 || 153 || 1 || Invalid audio device<br />
|-<br />
| 0x499 || 153 || 2 || Operation couldn't complete successfully<br />
|-<br />
| 0x699 || 153 || 3 || Invalid sample rate<br />
|-<br />
| 0x899 || 153 || 4 || Buffer size too small<br />
|-<br />
| 0x1099 || 153 || 8 || Too many buffers are still unreleased<br />
|-<br />
| 0x1499 || 153 || 10 || Invalid channel count<br />
|-<br />
| 0x40299 || 153 || 513 || Invalid/Unsupported operation<br />
|-<br />
| 0xC0099 || 153 || 1536 || Invalid handle<br />
|-<br />
| 0xC0899 || 153 || 1540 || Audio output was already started<br />
|-<br />
| 0x3C9D || 157 || 30 || Address is NULL<br />
|-<br />
| 0x3E9D || 157 || 31 || PID is NULL<br />
|-<br />
| 0x549D || 157 || 42 || Already bound<br />
|-<br />
| 0xCC9D || 157 || 102 || Invalid PID<br />
|-<br />
| 0x49E || 158 || 2 || BootImagePackage not found<br />
|-<br />
| 0x69E || 158 || 3 || Invalid BootImagePackage<br />
|-<br />
| 0x89E || 158 || 4 || Work buffer too small<br />
|-<br />
| 0xA9E || 158 || 5 || Work buffer not aligned<br />
|-<br />
| 0xC9E || 158 || 6 || BootImages need repair<br />
|-<br />
| 0x29F || 159 || 1 || Cancel was selected<br />
|-<br />
| 0xAA3 || 163 || 5 || System is booting up repair process without VOL+ held down.<br />
|-<br />
| 0xCA3 || 163 || 6 || System is booting up repair process that requires RepairTimeReviser but does not have special cartridge inserted.<br />
|-<br />
| 0x70A4 || 164 || 56 || [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]] returned false.<br />
|-<br />
| 0x4AF || 175 || 2 || Bad version returned from calling the "nnjitpluginGetVersion" symbol.<br />
|-<br />
| 0xCAAF || 175 || 101 || Input NRO/NRR are too large for the storage buffer.<br />
|-<br />
| 0x4B0AF || 175 || 600 || Symbol funcptr used by this cmd is not initialized (Control/GenerateCode).<br />
|-<br />
| 0x4B2AF || 175 || 601 || DllPlugin Not initialized, or plugin NRO has already been loaded.<br />
|-<br />
| 0x4B4AF || 175 || 602 || An error was returned from calling the symbol funcptr with the Control cmd.<br />
|-<br />
| 0xC8B2 || 178 || 100 || Invalid user ID<br />
|-<br />
| 0xCAB2 || 178 || 101 || User does not exist<br />
|-<br />
| 0x12CB2 || 178 || 150 || Service unavailable<br />
|-<br />
| 0x190B2 || 178 || 200 || File storage failure<br />
|-<br />
| 0xAB4 || 180 || 5 || Invalid event ID<br />
|-<br />
| 0x1F4EB5 || 181 || 4007 || Device authentication error: System update required<br />
|-<br />
| 0x1F50B5 || 181 || 4008 || Device authentication error: [https://en-americas-support.nintendo.com/app/answers/detail/a_id/42061/ Permanant Ban]<br />
|-<br />
| 0x1F52B5 || 181 || 4009 || Device authentication error: Internal server error<br />
|-<br />
| 0x1F54B5 || 181 || 4007 || Device authentication error: Under maintenance<br />
|-<br />
| || 181 || 4017 || Device authentication error: [https://en-americas-support.nintendo.com/app/answers/detail/a_id/43653/ Ban]<br />
|-<br />
| 0x58ACA || 202 || 709 || Npad ID is out of range.<br />
|-<br />
| 0x2032CA || 202 || 4121 || [[Settings_services#ButtonConfigSettings|ButtonConfigSettings]] IsFull flag is clear.<br />
|-<br />
| 0x28CB || 203 || 20 || The [6.0.0+] Authentication challenge failed.<br />
|-<br />
| 0x40CB || 203 || 32 || Bad State / bad state ptr.<br />
|-<br />
| 0x82CB || 203 || 65 || Failed to connect to the AccessPoint.<br />
|-<br />
| 0x84CB || 203 || 66 || Timeout occured during Authentication / while attempting to find a valid ActionFrame.<br />
|-<br />
| 0x86CB || 203 || 67 || Maximum participants reached, Station not allowed to connect, ...<br />
|-<br />
| 0xC0CB || 203 || 96 || Bad input, or not initialized.<br />
|-<br />
| 0xC2CB || 203 || 97 || Matching LocalCommunicationId not found in the user-process [[NACP_Format|control.nacp]].<br />
|-<br />
| 0xE2CB || 203 || 113 || The specified LocalCommunicationVersion is less than the AccessPoint LocalCommunicationVersion.<br />
|-<br />
| 0xE4CB || 203 || 114 || The specified LocalCommunicationVersion is larger than the AccessPoint LocalCommunicationVersion.<br />
|-<br />
| 0xF0CD || 205 || 120 || IR image data not available/ready.<br />
|-<br />
| 0x1A8CD || 205 || 212 || IR camera handle pointer is null.<br />
|-<br />
| 0x198CD || 205 || 204 || IR camera invalid handle value.<br />
|-<br />
| 0x4CE || 206 || 2 || Invalid argument.<br />
|-<br />
| 0x6CE || 206 || 3 || Out of memory.<br />
|-<br />
| 0x10CE || 206 || 8 || Out of range. Buffer needs to be aligned.<br />
|-<br />
| 0x18CE || 206 || 12 || Invalid FileId.<br />
|-<br />
| 0x1ACE || 206 || 13 || Invalid storage ID.<br />
|-<br />
| 0x1CCE || 206 || 14 || Invalid content type.<br />
|-<br />
| 0x2ACE || 206 || 21 || Failed to mount Image Directory.<br />
|-<br />
| 0x2CCE || 206 || 23 || File too big.<br />
|-<br />
| 0x30CE || 206 || 24 || Invalid file size.<br />
|-<br />
| 0x3CCE || 206 || 30 || Buffer insufficient.<br />
|-<br />
| 0xAF2CE || 206 || 1401 || Too many files already saved.<br />
|-<br />
| 0x4DA || 218 || 2 || StatusManager entry IsValid flag not set, or controller-update currently in-progress.<br />
|-<br />
| 0x6DA || 218 || 3 || Controller-update failed via the LibraryApplet.<br />
|-<br />
| 0x8DA || 218 || 4 || Invalid BusHandle.<br />
|-<br />
| 0xADA || 218 || 5 || StatusManager entry flag +0x0 not set, or device not connected.<br />
|-<br />
| 0xEDA || 218 || 7 || PollingReceivedData not available.<br />
|-<br />
| 0x10DA || 218 || 8 || StatusManager entry DeviceEnabled flag not set, or flag +0x0 not set.<br />
|-<br />
| 0x12DA || 218 || 9 || ExternalDeviceId mismatch.<br />
|-<br />
| 0x14DA || 218 || 10 || BusHandle already initialized.<br />
|-<br />
| 0x104E7 || 231 || 130 || Nullptr passed to the LocalCommunicationId [[NACP_Format|control.nacp]] validation func.<br />
|-<br />
| 0x1C2E7 || 231 || 225 || Matching LocalCommunicationId not found in the user-process [[NACP_Format|control.nacp]].<br />
|}<br />
<br />
=== FS Error codes ===<br />
The following are the error codes recognized by nn::fs::detail::LogErrorMessage found in some [[Factory Setup|factory]] titles:<br />
<br />
{| class=wikitable<br />
! Value || Description || Message<br />
|-<br />
| 0xD401 || 106 || nn::svc::ResultInvalidCurrentMemory: Error: Passed buffer is not usable for fs library. See a manual of fs library for more information.<br />
|-<br />
| 0x7802 || 60 || nn::fs::ResultMountNameAlreadyExists: Error: Specified mount name already exists.<br />
|-<br />
| 0x7D202 || 1001 || nn::fs::ResultPartitionNotFound: Error: Specified partition is not found.<br />
|-<br />
| 0x7D402 || 1002 || nn::fs::ResultTargetNotFound: Error: Specified target is not found.<br />
|-<br />
| 0xFA002 - 0x138602 || 2000 - 2499 || nn::fs::ResultSdCardAccessFailed: Error: Failed to access SD card.<br />
|-<br />
| 0x136802 - 0x176E02 || 2500 - 2999 || nn::fs::ResultGameCardAccessFailed: Error: Failed to access game card.<br />
|-<br />
| 0x177202 || 3001 || nn::fs::ResultNotImplemented: Error: Specified operation is not implemented.<br />
|-<br />
| 0x177A02 || 3005 || nn::fs::ResultOutOfRange: Error: Specified value is out of range.<br />
|-<br />
| 0x190002 - 0x1B5602 || 3200 - 3499 || nn::fs::ResultAllocationMemoryFailed: Error: Failed to allocate memory.<br />
|-<br />
| 0x1B5802 - 0x1F3E02 || 3500 - 3999 || nn::fs::ResultMmcAccessFailed: Error: Failed to access MMC.<br />
|-<br />
| 0x1F4202 - 0x219602 || 4001 - 4299 || nn::fs::ResultRomCorrupted: Error: ROM is corrupted.<br />
|-<br />
| 0x219A02 - 0x232602 || 4301 - 4499 || nn::fs::ResultSaveDataCorrupted: Error: Save data is corrupted.<br />
|-<br />
| 0x232A02 - 0x23EE02 || 4501 - 4599 || nn::fs::ResultNcaCorrupted: Error: NCA is corrupted.<br />
|-<br />
| 0x23F202 - 0x243E02 || 4601 - 4639 || nn::fs::ResultIntegrityVerificationStorageCorrupted: Error: Integrity verification failed.<br />
|-<br />
| 0x244202 - 0x246602 || 4641 - 4659 || nn::fs::ResultPartitionFileSystemCorrupted: Error: Partition FS is corrupted.<br />
|-<br />
| 0x246A02 - 0x248E02 || 4661 - 4679 || nn::fs::ResultBuiltInStorageCorrupted: Error: Built-in-storage is corrupted.<br />
|-<br />
| 0x249202 - 0x24B602 || 4681 - 4699 || nn::fs::ResultFatFileSystemCorrupted: Error: FAT FS is corrupted.<br />
|-<br />
| 0x24BA02 - 0x24DE02 || 4701 - 4719 || nn::fs::ResultHostFileSystemCorrupted: Error: HOST FS is corrupted.<br />
|-<br />
| 0x1F4002 - 0x270E02 || 4000, 4300, 4500, 4600, 4640, 4660, 4680, 4700, 4720-4999 || nn::fs::ResultDataCorrupted: Error: Data is corrupted.<br />
|-<br />
| 0x271002 - 0x2EDE02 || 5000-5999 || nn::fs::ResultUnexpected: Error: Unexpected failure occurred.<br />
|-<br />
| 0x2EE002 - 0x32C602 || 6000-6499 || nn::fs::ResultPreconditionViolation: Error: Precondition violation.<br />
|-<br />
| 0x2EE202 - 0x306E02 || 6001-6199 || nn::fs::ResultInvalidArgument: Error: Invalid argument was specified.<br />
|-<br />
| 0x2EE402 - 0x2F1A02 || 6002-6029 || nn::fs::ResultInvalidPath: Error: Invalid path was specified.<br />
|-<br />
| 0x2EE602 || 6003 || nn::fs::ResultTooLongPath: Error: Too long path was specified.<br />
|-<br />
| 0x2EE802 || 6004 || nn::fs::ResultInvalidCharacter: Error: Invalid path character was specified.<br />
|-<br />
| 0x2EEA02 || 6005 || nn::fs::ResultInvalidPathFormat: Error: Invalid path format was specified.<br />
|-<br />
| 0x2F5A02 || 6061 || nn::fs::ResultInvalidOffset: Error: Invalid offset was specified.<br />
|-<br />
| 0x2F5C02 || 6062 || nn::fs::ResultInvalidSize: Error: Invalid size was specified.<br />
|-<br />
| 0x2F5E02 || 6063 || nn::fs::ResultNullptrArgument: Error: Null pointer argument was specified.<br />
|-<br />
| 0x2F6202 || 6065 || nn::fs::ResultInvalidMountName: Error: Invalid mount name was specified.<br />
|-<br />
| 0x2F6402 || 6066 || nn::fs::ResultExtensionSizeTooLarge: Error: Extension size exceeds max value set in nmeta file.<br />
|-<br />
| 0x2F6602 || 6067 || nn::fs::ResultExtensionSizeInvalid: Error: Extension size is not a multiple of nn::fs::SaveDataExtensionUnitSize.<br />
|-<br />
| 0x307202 || 6201 || nn::fs::ResultFileExtensionWithoutOpenModeAllowAppend: Error: OpenMode_AllowAppend is required for implicit extension of file size by WriteFile().<br />
|-<br />
| 0x307002 - 0x313602 || 6200, 6202 - 6299 || nn::fs::ResultInvalidOperationForOpenMode: Error: Invalid operation for the open mode.<br />
|-<br />
| 0x313802 - 0x31FE02 || 6300-6399 || nn::fs::ResultUnsupportedOperation: Error: Unsupported operation.<br />
|-<br />
| 0x320002 - 0x326202 || 6400-6449 || nn::fs::ResultPermissionDenied: Error: Permission denied.<br />
|-<br />
| 0x327202 || 6457 || nn::fs::ResultWriteModeFileNotClosed: Error: Close files opened in write mode before committing.<br />
|-<br />
| 0x328202 || 6465 || nn::fs::ResultUserNotExist: Error: Specified user doesn't exist.<br />
|-<br />
| 0x346402 || 6706 || nn::fs::ResultMappingTableFull: Error: Enough journal space is not left.<br />
|-<br />
| 0x346A02 || 6709 || nn::fs::ResultOpenCountLimit: Error: The open count of files and directories reached the limitation.<br />
|-<br />
| 0x353602 || 6811 || nn::fs::ResultMapFull: Error: Save data extension count reached the limitation.<br />
|-<br />
| 0x35F202 || 6905 || nn::fs::ResultNotMounted: Error: Specified mount name is not found.<br />
|}<br />
<br />
= Fatal Errors =<br />
{| class=wikitable<br />
! Error || Description<br />
|-<br />
| 2162-0002<br />
| Can be triggered by running [[SVC|svcBreak]]. The svcBreak params have no effect on the value of the thrown error-code.<br />
|-<br />
| 2168-0000<br />
| Userland ARM undefined instruction exception<br />
|-<br />
| 2168-0001<br />
| Userland ARM prefetch-abort due to PC set to non-executable region<br />
|-<br />
| 2168-0002<br />
| Userland ARM data abort. Also caused by abnormal process termination via [[SVC|svcExitProcess]]. Note: directly jumping to nnMain()-retaddr from non-main-thread has the same result.<br />
|-<br />
| 2168-0003<br />
| Userland PC address not aligned to 4 bytes<br />
|-<br />
| 2168-0008<br />
| Can occur when attempting to call an svc outside the whitelist<br />
|}<br />
<br />
= Support Errors =<br />
This section is for Support Errors displayed by the error-applet, separate from the normal Result Errors.<br />
<br />
== Modules ==<br />
{| class=wikitable<br />
! Value || Name<br />
|-<br />
| 520 || NVIDIA Error Report (nverpt)<br />
|-<br />
| 800 || [[Internet_Browser|General web-applet]]<br />
|-<br />
| 809 || [[Internet_Browser|WifiWebAuthApplet]]<br />
|-<br />
| 810 || [[Internet_Browser|Whitelisted-applet]]<br />
|-<br />
| 811 || [[Internet_Browser|ShopN]]<br />
|}<br />
<br />
8XX is for/includes system applets.<br />
<br />
== Error codes ==<br />
{| class=wikitable<br />
! Value || Module || Description || Notes<br />
|-<br />
| <br />
| {web-applets listed above}<br />
| 2750<br />
| MP4 parsing failed.<br />
|}<br />
<br />
Normal error-codes displayed by the system also use the same format as fatal-errors.<br />
<br />
= Homebrew Errors =<br />
Custom errors used by homebrew libraries and applications.<br />
<br />
== Modules ==<br />
{| class=wikitable<br />
! Value || Name<br />
|-<br />
| 345 || libnx<br />
|-<br />
| 346 || [[Homebrew ABI]]<br />
|-<br />
| 347 || Homebrew Loader<br />
|-<br />
| 348 || libnx NVIDIA errors<br />
|-<br />
| 349 || libnx Binder errors<br />
|}</div>
Cai miao