https://switchbrew.org/w/api.php?action=feedcontributions&user=Ac+K&feedformat=atom
Nintendo Switch Brew - User contributions [en]
2024-03-28T12:29:03Z
User contributions
MediaWiki 1.35.8
https://switchbrew.org/w/index.php?title=Friend_services&diff=11407
Friend services
2021-12-28T12:37:33Z
<p>Ac K: /* IFriendService */</p>
<hr />
<div>= friend:u, friend:v, friend:m, friend:s, friend:a =<br />
This is "nn::friends::detail::ipc::IServiceCreator".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || CreateFriendService || Returns an [[#IFriendService]].<br />
|-<br />
| 1 || [2.0.0+] CreateNotificationService || Takes an input userID and returns [[#INotificationService]].<br />
|-<br />
| 2 || [4.0.0+] CreateDaemonSuspendSessionService || Returns an [[#IDaemonSuspendSessionService]].<br />
|}<br />
<br />
== IFriendService ==<br />
This is "nn::friends::detail::ipc::IFriendService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetCompletionEvent<br />
|-<br />
| 1 || Cancel<br />
|-<br />
| 10100 || GetFriendListIds<br />
|-<br />
| 10101 || GetFriendList<br />
|-<br />
| 10102 || UpdateFriendInfo<br />
|-<br />
| 10110 || GetFriendProfileImage<br />
|-<br />
| 10120 || [10.0.0+] IsFriendListCacheAvailable<br />
|-<br />
| 10121 || [10.0.0+] EnsureFriendListAvailable<br />
|-<br />
| 10200 || SendFriendRequestForApplication<br />
|-<br />
| 10211 || AddFacedFriendRequestForApplication<br />
|-<br />
| 10400 || GetBlockedUserListIds<br />
|-<br />
| 10420 || [10.0.0+] IsBlockedUserListCacheAvailable<br />
|-<br />
| 10421 || [10.0.0+] EnsureBlockedUserListAvailable<br />
|-<br />
| 10500 || GetProfileList<br />
|-<br />
| 10600 || DeclareOpenOnlinePlaySession<br />
|-<br />
| 10601 || DeclareCloseOnlinePlaySession<br />
|-<br />
| 10610 || UpdateUserPresence<br />
|-<br />
| 10700 || GetPlayHistoryRegistrationKey<br />
|-<br />
| 10701 || GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId<br />
|-<br />
| 10702 || AddPlayHistory<br />
|-<br />
| 11000 || GetProfileImageUrl<br />
|-<br />
| 20100 || GetFriendCount<br />
|-<br />
| 20101 || GetNewlyFriendCount<br />
|-<br />
| 20102 || GetFriendDetailedInfo<br />
|-<br />
| 20103 || SyncFriendList<br />
|-<br />
| 20104 || RequestSyncFriendList<br />
|-<br />
| 20110 || LoadFriendSetting<br />
|-<br />
| 20200 || GetReceivedFriendRequestCount<br />
|-<br />
| 20201 || GetFriendRequestList<br />
|-<br />
| 20300 || GetFriendCandidateList<br />
|-<br />
| 20301 || [3.0.0+] GetNintendoNetworkIdInfo<br />
|-<br />
| 20302 || [5.0.0+] GetSnsAccountLinkage<br />
|-<br />
| 20303 || [5.0.0+] GetSnsAccountProfile<br />
|-<br />
| 20304 || [5.0.0+] GetSnsAccountFriendList<br />
|-<br />
| 20400 || GetBlockedUserList<br />
|-<br />
| 20401 || SyncBlockedUserList<br />
|-<br />
| 20500 || GetProfileExtraList<br />
|-<br />
| 20501 || GetRelationship<br />
|-<br />
| 20600 || GetUserPresenceView<br />
|-<br />
| 20700 || GetPlayHistoryList<br />
|-<br />
| 20701 || GetPlayHistoryStatistics<br />
|-<br />
| 20800 || LoadUserSetting<br />
|-<br />
| 20801 || SyncUserSetting<br />
|-<br />
| 20900 || RequestListSummaryOverlayNotification<br />
|-<br />
| 21000 || GetExternalApplicationCatalog<br />
|-<br />
| 22000 || [9.0.0+] GetReceivedFriendInvitationList<br />
|-<br />
| 22001 || [9.0.0+] GetReceivedFriendInvitationDetailedInfo<br />
|-<br />
| 22010 || [9.0.0+] GetReceivedFriendInvitationCountCache<br />
|-<br />
| 30100 || DropFriendNewlyFlags<br />
|-<br />
| 30101 || DeleteFriend<br />
|-<br />
| 30110 || DropFriendNewlyFlag<br />
|-<br />
| 30120 || ChangeFriendFavoriteFlag<br />
|-<br />
| 30121 || ChangeFriendOnlineNotificationFlag<br />
|-<br />
| 30200 || SendFriendRequest<br />
|-<br />
| 30201 || SendFriendRequestWithApplicationInfo<br />
|-<br />
| 30202 || CancelFriendRequest<br />
|-<br />
| 30203 || AcceptFriendRequest<br />
|-<br />
| 30204 || RejectFriendRequest<br />
|-<br />
| 30205 || ReadFriendRequest<br />
|-<br />
| 30210 || GetFacedFriendRequestRegistrationKey<br />
|-<br />
| 30211 || AddFacedFriendRequest<br />
|-<br />
| 30212 || CancelFacedFriendRequest<br />
|-<br />
| 30213 || GetFacedFriendRequestProfileImage<br />
|-<br />
| 30214 || GetFacedFriendRequestProfileImageFromPath<br />
|-<br />
| 30215 || SendFriendRequestWithExternalApplicationCatalogId<br />
|-<br />
| 30216 || ResendFacedFriendRequest<br />
|-<br />
| 30217 || [3.0.0+] SendFriendRequestWithNintendoNetworkIdInfo<br />
|-<br />
| 30300 || [5.0.0+] GetSnsAccountLinkPageUrl<br />
|-<br />
| 30301 || [5.0.0+] UnlinkSnsAccount<br />
|-<br />
| 30400 || BlockUser<br />
|-<br />
| 30401 || BlockUserWithApplicationInfo<br />
|-<br />
| 30402 || UnblockUser<br />
|-<br />
| 30500 || GetProfileExtraFromFriendCode<br />
|-<br />
| 30700 || DeletePlayHistory<br />
|-<br />
| 30810 || ChangePresencePermission<br />
|-<br />
| 30811 || ChangeFriendRequestReception<br />
|-<br />
| 30812 || ChangePlayLogPermission<br />
|-<br />
| 30820 || IssueFriendCode<br />
|-<br />
| 30830 || ClearPlayLog<br />
|-<br />
| 30900 || [9.0.0+] SendFriendInvitation<br />
|-<br />
| 30910 || [9.0.0+] ReadFriendInvitation<br />
|-<br />
| 30911 || [9.1.0+] ReadAllFriendInvitations<br />
|-<br />
| 40100 || [10.0.0+] DeleteFriendListCache<br />
|-<br />
| 40400 || [10.0.0+] DeleteBlockedUserListCache<br />
|-<br />
| 49900 || DeleteNetworkServiceAccountCache<br />
|}<br />
<br />
== INotificationService ==<br />
This is "nn::friends::detail::ipc::INotificationService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || [2.0.0+] GetEvent || Returns an output event handle<br />
|-<br />
| 1 || [2.0.0+] Clear ||<br />
|-<br />
| 2 || [2.0.0+] Pop ||<br />
|}<br />
<br />
== IDaemonSuspendSessionService ==<br />
This is "nn::friends::detail::ipc::IDaemonSuspendSessionService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [4.0.0+]<br />
|-<br />
| 1 || [4.0.0+]<br />
|-<br />
| 2 || [4.0.0+]<br />
|-<br />
| 3 || [4.0.0+]<br />
|-<br />
| 4 || [4.0.0+]<br />
|}<br />
<br />
= nd:app =<br />
This is "nn::nd::detail::IServiceForApplication".<br />
<br />
This was added with [5.0.0] and removed with [6.0.0].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetReceivableNeighborInfoCountMax<br />
|-<br />
| 10 || IsNeighborDetectionEnabled<br />
|}<br />
<br />
= nd:sys =<br />
This is "nn::nd::detail::IServiceForSystem".<br />
<br />
This was added with [5.0.0] and removed with [6.0.0].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetReceivableNeighborInfoCountMax<br />
|-<br />
| 10 || IsNeighborDetectionEnabled<br />
|-<br />
| 200 || SetSystemData<br />
|-<br />
| 201 || ClearSystemData<br />
|-<br />
| 203 || GetReceivableNeighborInfoCountForSystem<br />
|-<br />
| 204 || ReceiveNeighborInfoForSystem<br />
|-<br />
| 205 || SetSender<br />
|-<br />
| 206 || GetSender<br />
|-<br />
| 207 || CreateScannerForSystem<br />
|-<br />
| 208 || CreateReceiveEventHolderForSystem<br />
|-<br />
| 223 || EnableNeighborDetection<br />
|-<br />
| 224 || DisableNeighborDetection<br />
|-<br />
| 226 || EnablePowerSave<br />
|-<br />
| 227 || DisablePowerSave<br />
|-<br />
| 228 || IsPowerSaveEnabled<br />
|-<br />
| 232 || ClearBlockedUsers<br />
|-<br />
| 233 || GetBlockedUserCount<br />
|-<br />
| 234 || BlockUserByLocalUserId<br />
|-<br />
| 235 || BlockUserByNetworkUserId<br />
|-<br />
| 236 || UnblockUserByLocalUserId<br />
|-<br />
| 237 || UnblockUserByNetworkUserId<br />
|-<br />
| 240 || DeleteApplication<br />
|-<br />
| 250 || InitializeApplicationInfo<br />
|-<br />
| 260 || CreateAccountSystemSaveDataAccessSuppressor<br />
|-<br />
| 300 || AddReceivedNeighborInfoForSystemForDebug<br />
|-<br />
| 301 || GetSendDataForDebug<br />
|-<br />
| 302 || ClearReceiveCounterForDebug<br />
|-<br />
| 303 || GetNextReceiveCounterForDebug<br />
|-<br />
| 304 || ListBlockedUsersForDebug<br />
|-<br />
| 305 || RefreshSendDataIdForDebug<br />
|-<br />
| 306 || ReloadFwdbgSettingsForDebug<br />
|-<br />
| 307 || EnableApplicationForDebug<br />
|-<br />
| 308 || GetNextReceiveCountersForDebug<br />
|-<br />
| 309 || ListApplicationInfoForDebug<br />
|-<br />
| 310 || SetApplicationDataForDebug<br />
|-<br />
| 400 || GetNetworkUserId<br />
|-<br />
| 401 || DeleteNetworkUserId<br />
|}<br />
<br />
= InAppScreenName =<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Description<br />
|-<br />
| 0x0 || 0x40 || UTF-8 string, NUL-terminated.<br />
|-<br />
| 0x40 || 0x8 || [[Settings_services|LanguageCode]]<br />
|}<br />
<br />
This is "nn::friends::InAppScreenName". This is a 0x48-byte struct.<br />
<br />
= FriendInvitationGameModeDescription =<br />
This is "nn::friends::FriendInvitationGameModeDescription". This is a 0xC00-byte struct.<br />
<br />
= FriendInvitationId =<br />
This is "nn::friends::FriendInvitationId". This is 8-bytes.<br />
<br />
= FriendInvitationGroupId =<br />
This is "nn::friends::FriendInvitationGroupId". This is 8-bytes.<br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=Calibration&diff=10156
Calibration
2020-11-15T05:00:21Z
<p>Ac K: </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 />
| <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 />
| 1 = Nx, 2 = Copper, 4 = Hoag<br />
|-<br />
| 0x374E<br />
| 0x02<br />
| ProductModelHash<br />
| CRC16 over the ProductModel<br />
|-<br />
| 0x3750<br />
| 0x06<br />
| HomeMenuSchemeMainColorVariation<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+] HomeMenuSchemeSubColor<br />
| <br />
|-<br />
| 0x4230<br />
| 0x04<br />
| [9.0.0+] HomeMenuSchemeBezelColor<br />
| <br />
|-<br />
| 0x4240<br />
| 0x04<br />
| [9.0.0+] HomeMenuSchemeMainColor1<br />
| <br />
|-<br />
| 0x4250<br />
| 0x04<br />
| [9.0.0+] HomeMenuSchemeMainColor2<br />
| <br />
|-<br />
| 0x4260<br />
| 0x04<br />
| [9.0.0+] HomeMenuSchemeMainColor3<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 />
| 0x4330<br />
| 0x04<br />
| [9.0.0+] HomeMenuSchemeModel<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>
Ac K
https://switchbrew.org/w/index.php?title=Error_codes&diff=10127
Error codes
2020-10-30T15:46:37Z
<p>Ac K: /* Modules */</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 />
| 177 || HDCP<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 || 3000 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/27166/ System Update Required]<br />
|-<br />
| || 124 || 3001 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/28969/ Game Update Required]<br />
|-<br />
| || 124 || 4007 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/28046/ Account Permanent Ban]<br />
|-<br />
| || 124 || 4508 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/28046/ Account Permanent Ban]<br />
|-<br />
| || 124 || 4517 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/43652/ Account Ban]<br />
|-<br />
| || 124 || 4609 || [https://en-americas-support.nintendo.com/app/answers/detail/a_id/46482/ Service Discontinued]<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>
Ac K
https://switchbrew.org/w/index.php?title=Error_codes&diff=7169
Error codes
2019-07-09T17:44:12Z
<p>Ac K: </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 />
= 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 || Sockets<br />
|-<br />
| 18 || HTC<br />
|-<br />
| 19 || TSC<br />
|-<br />
| 20 || NCM Content<br />
|-<br />
| 21 || SM<br />
|-<br />
| 22 || RO userland<br />
|-<br />
| 24 || SDMMC<br />
|-<br />
| 25 || OVLN<br />
|-<br />
| 26 || SPL<br />
|-<br />
| 30 || Bus<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 />
| 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 HTTP Stream<br />
|-<br />
| 157 || ARP<br />
|-<br />
| 158 || Updater<br />
|-<br />
| 159 || SWKBD<br />
|-<br />
| 161 || NFC Mifare<br />
|-<br />
| 162 || Userland assert<br />
|-<br />
| 163 || Fatal<br />
|-<br />
| 164 || NIM Shop<br />
|-<br />
| 165 || SPSM<br />
|-<br />
| 167 || BGTC<br />
|-<br />
| 168 || Userland crash<br />
|-<br />
| 178 || PDM<br />
|-<br />
| 179 || OLSC<br />
|-<br />
| 180 || SREPO<br />
|-<br />
| 181 || Dauth<br />
|-<br />
| 191 || RTC<br />
|-<br />
| 192 || Regulator<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 ||<br />
|-<br />
| 212 || GRC<br />
|-<br />
| 216 || Migration<br />
|-<br />
| 217 || Migration Idc Server<br />
|-<br />
| 345 || libnx<br />
|-<br />
| 346 || [[Homebrew ABI]]<br />
|-<br />
| 347 || Homebrew Loader<br />
|-<br />
| 348 || libnx Nvidia errors<br />
|-<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 || Process already started/Wrong memory permission?<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 />
| 0x13DA02 || 2 || 2541 || Version check failed when mounting gamecard sysupdate partition?<br />
|-<br />
| 0x171402 || 2 || 2954 || Invalid gamecard handle.<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 />
| 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 />
| 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 />
| 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 />
| 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 />
| 0x319602 || 2 || 6347 || Attempted to call nn::fssystem::dbm::AllocationTableStorage::SetSize<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 />
| 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 />
| 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 />
| 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 />
| 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 />
| 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 />
| 0x19009 || 9 || 200 || Invalid access control sizes in NPDM.<br />
|-<br />
| 0x809 || 9 || 4 || Invalid NPDM.<br />
|-<br />
| 0xA09 || 9 || 5 || Invalid files.<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 />
| 0x6609 || 9 || 51 || Invalid memory state/permission<br />
|-<br />
| 0x6A09 || 9 || 53 || Invalid NRR<br />
|-<br />
| 0xA209 || 9 || 81 || Unaligned NRR address<br />
|-<br />
| 0xA409 || 9 || 82 || Bad NRR size<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 || Gamecard sysupdate not required<br />
|-<br />
| 0x1F610 || 16 || 251 || Unexpected StorageId<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 />
| 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 />
| 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 />
| 0xCC74 || 116 || 102 || Time not set<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 />
| 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 />
| 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 />
| 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 />
| 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 />
| 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 />
| 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 />
| 0x4B080 || 128 || 600 || Failed to allocate memory for IStorage<br />
|-<br />
| 0x59080 || 128 || 712 || Thread stack pool exhausted (out of memory)<br />
|-<br />
| 0x7A880 || 128 || 980 || <code>am.debug!dev_function</code> setting needs to be set<br />
|-<br />
| 0xA83 || 131 || 5 || Unrecognized applet ID<br />
|-<br />
| 0x485 || 133 || 2 || Invalid DVFS table ID<br />
|-<br />
| 0x885 || 133 || 4 || Invalid parameter<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 />
| 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 />
| 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 />
| 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 />
| 0x58ACA || 202 || 709 || Npad ID is out of range.<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 />
| 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 />
<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 />
| 0x7802 || 60 || Error: Specified mount name already exists.<br />
|-<br />
| 0xD401 || 106 || Error: Passed buffer is not usable for fs library.<br />
|-<br />
| 0x7D202 || 1001 || Error: Specified partition is not found.<br />
|-<br />
| 0x7D402 || 1002 || Error: Specified target is not found.<br />
|-<br />
| 0xFA002 - 0x138602 || 2000 - 2499 || Error: Failed to access SD card.<br />
|-<br />
| 0x136802 - 0x176E02 || 2500 - 2999 || Error: Failed to access game card.<br />
|-<br />
| 0x177202 || 3001 || Error: Specified operation is not implemented.<br />
|-<br />
| 0x177A02 || 3005 || Error: Specified value is out of range.<br />
|-<br />
| 0x1B5802 - 0x1F3E02 || 3500 - 3999 || Error: Failed to access MMC.<br />
|-<br />
| 0x1F4202 - 0x219602 || 4001 - 4299 || Error: ROM is corrupted.<br />
|-<br />
| 0x219A02 - 0x232602 || 4301 - 4499 || Error: Save data is corrupted.<br />
|-<br />
| 0x232A02 - 0x23EE02 || 4501 - 4599 || Error: NCA is corrupted.<br />
|-<br />
| 0x23F202 - 0x243E02 || 4601 - 4639 || Error: Integrity verification failed.<br />
|-<br />
| 0x244202 - 0x246602 || 4641 - 4659 || Error: Partition FS is corrupted.<br />
|-<br />
| 0x246A02 - 0x248E02 || 4661 - 4679 || Error: Built-in-storage is corrupted.<br />
|-<br />
| 0x249202 - 0x24B602 || 4681 - 4699 || Error: FAT FS is corrupted.<br />
|-<br />
| 0x24BA02 - 0x24DE02 || 4701 - 4719 || Error: HOST FS is corrupted.<br />
|-<br />
| 0x1F4002 - 0x270E02 || 4000, 4300, 4500, 4600, 4640, 4660, 4680, 4700, 4720-4999 || Error: Data is corrupted.<br />
|-<br />
| 0x271002 - 0x2EDE02 || 5000-5999 || Error: Unexpected failure occurred.<br />
|-<br />
| 0x2EE402 - 0x2F1A02 || 6002-6029 || Error: Invalid path was specified.<br />
|-<br />
| 0x2F5A02 || 6061 || Error: Invalid offset was specified.<br />
|-<br />
| 0x2F5C02 || 6062 || Error: Invalid size was specified.<br />
|-<br />
| 0x2F5E02 || 6063 || Error: Null pointer argument was specified.<br />
|-<br />
| 0x2EE002 || 6000 || Error: Precondition violation.<br />
|-<br />
| 0x2EE202 - 0x306E02 || 6001-6199 || Error: Invalid argument was specified.<br />
|-<br />
| 0x307202 || 6201 || Error: OpenMode_AllowAppend is required for implicit extension of file size by WriteFile().<br />
|-<br />
| 0x307002 - 0x313602 || 6200, 6202 - 6299 || Error: Invalid operation for the open mode.<br />
|-<br />
| 0x313802 - 0x31FE02 || 6300-6399 || Error: Unsupported operation.<br />
|-<br />
| 0x320002 - 0x32C602 || 6400-6499 || Error: Permission denied.<br />
|-<br />
| 0x346402 || 6706 || Error: Enough journal space is not left.<br />
|-<br />
| 0x346A02 || 6709 || Error: The open count of files and directories reached the limitation.<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 />
== Support Modules ==<br />
{| class=wikitable<br />
! Value || Name<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 />
== Errors ==<br />
{| class=wikitable<br />
! Error || 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.</div>
Ac K
https://switchbrew.org/w/index.php?title=HID_services&diff=7061
HID services
2019-06-27T14:48:38Z
<p>Ac K: /* GetNpadIrCameraHandle */</p>
<hr />
<div>See [[HID_Shared_Memory|here]] for the HID shared-memory.<br />
<br />
= hid =<br />
This is "nn::hid::IHidServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [[#CreateAppletResource]]<br />
|-<br />
| 1 || ActivateDebugPad<br />
|-<br />
| 11 || ActivateTouchScreen<br />
|-<br />
| 21 || ActivateMouse<br />
|-<br />
| 31 || ActivateKeyboard<br />
|-<br />
| 32 || [6.0.0+] SendKeyboardLockKeyEvent<br />
|-<br />
| 40 || AcquireXpadIdEventHandle<br />
|-<br />
| 41 || ReleaseXpadIdEventHandle<br />
|-<br />
| 51 || ActivateXpad<br />
|-<br />
| 55 || GetXpadIds<br />
|-<br />
| 56 || ActivateJoyXpad<br />
|-<br />
| 58 || GetJoyXpadLifoHandle<br />
|-<br />
| 59 || GetJoyXpadIds<br />
|-<br />
| 60 || ActivateSixAxisSensor<br />
|-<br />
| 61 || DeactivateSixAxisSensor<br />
|-<br />
| 62 || GetSixAxisSensorLifoHandle<br />
|-<br />
| 63 || ActivateJoySixAxisSensor<br />
|-<br />
| 64 || DeactivateJoySixAxisSensor<br />
|-<br />
| 65 || GetJoySixAxisSensorLifoHandle<br />
|-<br />
| 66 || StartSixAxisSensor<br />
|-<br />
| 67 || StopSixAxisSensor<br />
|-<br />
| 68 || IsSixAxisSensorFusionEnabled<br />
|-<br />
| 69 || EnableSixAxisSensorFusion<br />
|-<br />
| 70 || SetSixAxisSensorFusionParameters<br />
|-<br />
| 71 || GetSixAxisSensorFusionParameters<br />
|-<br />
| 72 || ResetSixAxisSensorFusionParameters<br />
|-<br />
| 73 || SetAccelerometerParameters<br />
|-<br />
| 74 || GetAccelerometerParameters<br />
|-<br />
| 75 || ResetAccelerometerParameters<br />
|-<br />
| 76 || SetAccelerometerPlayMode<br />
|-<br />
| 77 || GetAccelerometerPlayMode<br />
|-<br />
| 78 || ResetAccelerometerPlayMode<br />
|-<br />
| 79 || SetGyroscopeZeroDriftMode<br />
|-<br />
| 80 || GetGyroscopeZeroDriftMode<br />
|-<br />
| 81 || ResetGyroscopeZeroDriftMode<br />
|-<br />
| 82 || IsSixAxisSensorAtRest<br />
|-<br />
| 83 || [6.0.0+] IsFirmwareUpdateAvailableForSixAxisSensor<br />
|-<br />
| 91 || ActivateGesture<br />
|-<br />
| 100 || [[#SetSupportedNpadStyleSet]]<br />
|-<br />
| 101 || [[#GetSupportedNpadStyleSet]]<br />
|-<br />
| 102 || [[#SetSupportedNpadIdType]]<br />
|-<br />
| 103 || ActivateNpad<br />
|-<br />
| 104 || DeactivateNpad<br />
|-<br />
| 106 || [[#AcquireNpadStyleSetUpdateEventHandle]]<br />
|-<br />
| 107 || DisconnectNpad<br />
|-<br />
| 108 || GetPlayerLedPattern<br />
|-<br />
| 109 || [5.0.0+] ActivateNpadWithRevision<br />
|-<br />
| 120 || SetNpadJoyHoldType<br />
|-<br />
| 121 || GetNpadJoyHoldType<br />
|-<br />
| 122 || [[#SetNpadJoyAssignmentModeSingleByDefault]]<br />
|-<br />
| 123 || [[#SetNpadJoyAssignmentModeSingle]]<br />
|-<br />
| 124 || [[#SetNpadJoyAssignmentModeDual]]<br />
|-<br />
| 125 || [[#MergeSingleJoyAsDualJoy]]<br />
|-<br />
| 126 || StartLrAssignmentMode<br />
|-<br />
| 127 || StopLrAssignmentMode<br />
|-<br />
| 128 || SetNpadHandheldActivationMode<br />
|-<br />
| 129 || [[#GetNpadHandheldActivationMode]]<br />
|-<br />
| 130 || SwapNpadAssignment<br />
|-<br />
| 131 || IsUnintendedHomeButtonInputProtectionEnabled<br />
|-<br />
| 132 || EnableUnintendedHomeButtonInputProtection<br />
|-<br />
| 133 || [5.0.0+] SetNpadJoyAssignmentModeSingleWithDestination<br />
|-<br />
| 134 || [6.1.0+] SetNpadAnalogStickUseCenterClamp<br />
|-<br />
| 135 || [8.0.0+] SetNpadCaptureButtonAssignment<br />
|-<br />
| 136 || [8.0.0+] ClearNpadCaptureButtonAssignment<br />
|-<br />
| 200 || [[#GetVibrationDeviceInfo]]<br />
|-<br />
| 201 || [[#SendVibrationValue]]<br />
|-<br />
| 202 || [[#GetActualVibrationValue]]<br />
|-<br />
| 203 || [[#CreateActiveVibrationDeviceList]]<br />
|-<br />
| 204 || [[#PermitVibration]]<br />
|-<br />
| 205 || [[#IsVibrationPermitted]]<br />
|-<br />
| 206 || [[#SendVibrationValues]]<br />
|-<br />
| 207 || [4.0.0+] SendVibrationGcErmCommand<br />
|-<br />
| 208 || [4.0.0+] GetActualVibrationGcErmCommand<br />
|-<br />
| 209 || [4.0.0+] BeginPermitVibrationSession<br />
|-<br />
| 210 || [4.0.0+] EndPermitVibrationSession<br />
|-<br />
| 211 || [7.0.0+] [[#IsVibrationDeviceMounted]]<br />
|-<br />
| 300 || [3.0.0+] ActivateConsoleSixAxisSensor<br />
|-<br />
| 301 || [3.0.0+] StartConsoleSixAxisSensor<br />
|-<br />
| 302 || [3.0.0+] StopConsoleSixAxisSensor<br />
|-<br />
| 303 || [5.0.0+] [[#ActivateSevenSixAxisSensor]]<br />
|-<br />
| 304 || [5.0.0+] [[#StartSevenSixAxisSensor]]<br />
|-<br />
| 305 || [5.0.0+] [[#StopSevenSixAxisSensor]]<br />
|-<br />
| 306 || [5.0.0+] [[#InitializeSevenSixAxisSensor]]<br />
|-<br />
| 307 || [5.0.0+] [[#FinalizeSevenSixAxisSensor]]<br />
|-<br />
| 308 || [5.0.0+] [[#SetSevenSixAxisSensorFusionStrength]]<br />
|-<br />
| 309 || [5.0.0+] [[#GetSevenSixAxisSensorFusionStrength]]<br />
|-<br />
| 310 || [6.0.0+] [[#ResetSevenSixAxisSensorTimestamp]]<br />
|-<br />
| 400 || [3.0.0+] IsUsbFullKeyControllerEnabled<br />
|-<br />
| 401 || [3.0.0+] EnableUsbFullKeyController<br />
|-<br />
| 402 || [3.0.0+] IsUsbFullKeyControllerConnected<br />
|-<br />
| 403 || [4.0.0+] HasBattery<br />
|-<br />
| 404 || [4.0.0+] HasLeftRightBattery<br />
|-<br />
| 405 || [4.0.0+] GetNpadInterfaceType<br />
|-<br />
| 406 || [4.0.0+] GetNpadLeftRightInterfaceType<br />
|-<br />
| 500 || [5.0.0+] GetPalmaConnectionHandle<br />
|-<br />
| 501 || [5.0.0+] InitializePalma<br />
|-<br />
| 502 || [5.0.0+] AcquirePalmaOperationCompleteEvent<br />
|-<br />
| 503 || [5.0.0+] GetPalmaOperationInfo<br />
|-<br />
| 504 || [5.0.0+] PlayPalmaActivity<br />
|-<br />
| 505 || [5.0.0+] SetPalmaFrModeType<br />
|-<br />
| 506 || [5.0.0+] ReadPalmaStep<br />
|-<br />
| 507 || [5.0.0+] EnablePalmaStep<br />
|-<br />
| 508 || [5.0.0+] ResetPalmaStep<br />
|-<br />
| 509 || [5.0.0+] ReadPalmaApplicationSection<br />
|-<br />
| 510 || [5.0.0+] WritePalmaApplicationSection<br />
|-<br />
| 511 || [5.0.0+] ReadPalmaUniqueCode<br />
|-<br />
| 512 || [5.0.0+] SetPalmaUniqueCodeInvalid<br />
|-<br />
| 513 || [5.0.0+] WritePalmaActivityEntry<br />
|-<br />
| 514 || [5.0.0+] WritePalmaRgbLedPatternEntry<br />
|-<br />
| 515 || [5.0.0+] WritePalmaWaveEntry<br />
|-<br />
| 516 || [5.0.0+] SetPalmaDataBaseIdentificationVersion<br />
|-<br />
| 517 || [5.0.0+] GetPalmaDataBaseIdentificationVersion<br />
|-<br />
| 518 || [5.0.0+] SuspendPalmaFeature<br />
|-<br />
| 519 || [5.1.0+] GetPalmaOperationResult<br />
|-<br />
| 520 || [5.1.0+] ReadPalmaPlayLog<br />
|-<br />
| 521 || [5.1.0+] ResetPalmaPlayLog<br />
|-<br />
| 522 || [5.1.0+] SetIsPalmaAllConnectable<br />
|-<br />
| 523 || [5.1.0+] SetIsPalmaPairedConnectable<br />
|-<br />
| 524 || [5.1.0+] PairPalma<br />
|-<br />
| 525 || [5.1.0+] SetPalmaBoostMode<br />
|-<br />
| 526 || [7.0.0+] CancelWritePalmaWaveEntry<br />
|-<br />
| 527 || [8.0.0+] EnablePalmaBoostMode<br />
|-<br />
| 528 || [8.0.0+] GetPalmaBluetoothAddress<br />
|-<br />
| 529 || [8.0.0+] SetDisallowedPalmaConnection<br />
|-<br />
| 1000 || SetNpadCommunicationMode<br />
|-<br />
| 1001 || GetNpadCommunicationMode<br />
|}<br />
<br />
== CreateAppletResource ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an [[#IAppletResource]].<br />
<br />
== SetSupportedNpadStyleSet ==<br />
Takes an u32 [[#NpadStyleTag]].<br />
<br />
== GetSupportedNpadStyleSet ==<br />
Returns an u32 [[#NpadStyleTag]].<br />
<br />
== SetSupportedNpadIdType ==<br />
Takes a PID-descriptor, a type-0x9 input buffer, and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
The input buffer contains an array of u32 [[#NpadIdType]].<br />
<br />
== AcquireNpadStyleSetUpdateEventHandle ==<br />
Takes an input u32, an u64 [[AM_services|AppletResourceUserId]], and an u64. Returns an output event handle, autoclear for this is user-specified.<br />
<br />
The value for the last u64 doesn't seem to matter (?): official sw sets this to the address of the structure used for storing the event which is initialized after using this cmd.<br />
<br />
== SetNpadJoyAssignmentModeSingleByDefault ==<br />
Takes a PID-descriptor, an u32, and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== SetNpadJoyAssignmentModeSingle ==<br />
Takes a PID-descriptor, an u32, [[AM_services|AppletResourceUserId]], and s64 '''NpadJoyDeviceType'''. No output.<br />
<br />
== SetNpadJoyAssignmentModeDual ==<br />
Takes a PID-descriptor, an u32, and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== MergeSingleJoyAsDualJoy ==<br />
Takes a PID-descriptor, two u32s, and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== GetNpadHandheldActivationMode ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an output u64. Official user-processes panic if the output u64 is not 0-2.<br />
<br />
== GetVibrationDeviceInfo ==<br />
Takes a [[#VibrationDeviceHandle]]. Returns an output [[#VibrationDeviceInfo]].<br />
<br />
== SendVibrationValue ==<br />
Takes a PID-descriptor, a [[#VibrationDeviceHandle]], a [[#VibrationValue]] immediately after that, and an u64 [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== GetActualVibrationValue ==<br />
Takes a PID-descriptor, a [[#VibrationDeviceHandle]], and an u64 [[AM_services|AppletResourceUserId]]. Returns an output [[#VibrationValue]].<br />
<br />
== CreateActiveVibrationDeviceList ==<br />
No input. Returns an [[#IActiveVibrationDeviceList]].<br />
<br />
== PermitVibration ==<br />
Takes an input u8 bool. No output.<br />
<br />
This affects the config displayed by System Settings.<br />
<br />
== IsVibrationPermitted ==<br />
No input. Returns an output u8 bool.<br />
<br />
== SendVibrationValues ==<br />
Takes an u64 [[AM_services|AppletResourceUserId]], and two type-0x9 input buffers containing an array of: [[#VibrationDeviceHandle]] for first buffer, and [[#VibrationValue]] for the second buffer.<br />
<br />
Official sw uses the same entry-count for each array.<br />
<br />
== IsVibrationDeviceMounted ==<br />
Takes a total of 0x10-bytes of input and a PID, returns an output u8 bool.<br />
<br />
== ActivateSevenSixAxisSensor ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.<br />
<br />
== StartSevenSixAxisSensor ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.<br />
<br />
== StopSevenSixAxisSensor ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.<br />
<br />
== InitializeSevenSixAxisSensor ==<br />
Takes a PID, an u64 [[AM_services|AppletResourceUserId]], two u64s for the size of each TransferMemory, and two TransferMemory handles. No output.<br />
<br />
The size of the first TransferMemory is 0x1000 with MemoryPermission=read-only, while the second one has size 0x7F000 with MemoryPermission=none.<br />
<br />
== FinalizeSevenSixAxisSensor ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.<br />
<br />
== SetSevenSixAxisSensorFusionStrength ==<br />
Takes a PID, a float, and an u64 [[AM_services|AppletResourceUserId]], no output.<br />
<br />
== GetSevenSixAxisSensorFusionStrength ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], returns an output float.<br />
<br />
== ResetSevenSixAxisSensorTimestamp ==<br />
Takes a PID and an u64 [[AM_services|AppletResourceUserId]], no output.<br />
<br />
== VibrationDeviceHandle ==<br />
This is an u32.<br />
<br />
== VibrationDeviceInfo ==<br />
This is a 0x8-byte struct.<br />
<br />
== VibrationValue ==<br />
This is a 0x10-byte struct, which contains 4 float values.<br />
<br />
== IAppletResource ==<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [[#GetSharedMemoryHandle]]<br />
|}<br />
<br />
=== GetSharedMemoryHandle ===<br />
No input. Returned a [[HID_Shared_Memory|sharedmem]] handle.<br />
<br />
== IActiveVibrationDeviceList ==<br />
This is "nn::hid::IActiveVibrationDeviceList".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [[#ActivateVibrationDevice]]<br />
|}<br />
<br />
=== ActivateVibrationDevice ===<br />
Takes an input [[#VibrationDeviceHandle]]. No output.<br />
<br />
== NpadStyleTag ==<br />
This is a bitfield describing which controller styles are supported.<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
! Notes<br />
|-<br />
| 0<br />
| NpadFullKey<br />
| Pro Controller.<br />
|-<br />
| 1<br />
| NpadHandheld<br />
| Joy-Con controller in handheld mode.<br />
|-<br />
| 2<br />
| NpadJoyDual<br />
| Joy-Con controller in dual mode.<br />
|-<br />
| 3<br />
| NpadJoyLeft<br />
| Joy-Con left controller in single mode.<br />
|-<br />
| 4<br />
| NpadJoyRight<br />
| Joy-Con right controller in single mode.<br />
|-<br />
| 5<br />
| NpadGc<br />
| GameCube controller.<br />
|-<br />
| 6<br />
| NpadPalma<br />
| Poké Ball Plus controller.<br />
|-<br />
| 7<br />
| NpadLark<br />
| NES controller.<br />
|-<br />
| 8<br />
| NpadHandheldLark<br />
| NES controller in handheld mode.<br />
|-<br />
| 9<br />
| NpadLucia<br />
| <br />
|-<br />
| 10-28<br />
| Reserved<br />
|<br />
|-<br />
| 29<br />
| NpadSystemExt<br />
|<br />
|-<br />
| 30<br />
| NpadSystem<br />
|<br />
|-<br />
| 31<br />
| Reserved<br />
|<br />
|}<br />
<br />
== NpadIdType ==<br />
This is an u32. This is the controller index used in [[HID_Shared_Memory#Controllers|sharedmem]]. 0x20 is handheld.<br />
<br />
= hid:dbg =<br />
This is "nn::hid::IHidDebugServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || DeactivateDebugPad<br />
|-<br />
| 1 || SetDebugPadAutoPilotState<br />
|-<br />
| 2 || UnsetDebugPadAutoPilotState<br />
|-<br />
| 10 || DeactivateTouchScreen<br />
|-<br />
| 11 || SetTouchScreenAutoPilotState<br />
|-<br />
| 12 || UnsetTouchScreenAutoPilotState<br />
|-<br />
| 20 || DeactivateMouse<br />
|-<br />
| 21 || SetMouseAutoPilotState<br />
|-<br />
| 22 || UnsetMouseAutoPilotState<br />
|-<br />
| 30 || DeactivateKeyboard<br />
|-<br />
| 31 || SetKeyboardAutoPilotState<br />
|-<br />
| 32 || UnsetKeyboardAutoPilotState<br />
|-<br />
| 50 || DeactivateXpad<br />
|-<br />
| 51 || SetXpadAutoPilotState<br />
|-<br />
| 52 || UnsetXpadAutoPilotState<br />
|-<br />
| 60 || DeactivateJoyXpad<br />
|-<br />
| 91 || DeactivateGesture<br />
|-<br />
| 110 || DeactivateHomeButton<br />
|-<br />
| 111 || SetHomeButtonAutoPilotState<br />
|-<br />
| 112 || UnsetHomeButtonAutoPilotState<br />
|-<br />
| 120 || DeactivateSleepButton<br />
|-<br />
| 121 || SetSleepButtonAutoPilotState<br />
|-<br />
| 122 || UnsetSleepButtonAutoPilotState<br />
|-<br />
| 123 || DeactivateInputDetector<br />
|-<br />
| 130 || DeactivateCaptureButton<br />
|-<br />
| 131 || SetCaptureButtonAutoPilotState<br />
|-<br />
| 132 || UnsetCaptureButtonAutoPilotState<br />
|-<br />
| 133 || [3.0.0+] SetShiftAccelerometerCalibrationValue<br />
|-<br />
| 134 || [3.0.0+] GetShiftAccelerometerCalibrationValue<br />
|-<br />
| 135 || [3.0.0+] SetShiftGyroscopeCalibrationValue<br />
|-<br />
| 136 || [3.0.0+] GetShiftGyroscopeCalibrationValue<br />
|-<br />
| 140 || [3.0.0+] DeactivateConsoleSixAxisSensor<br />
|-<br />
| 141 || [5.0.0+] GetConsoleSixAxisSensorSamplingFrequency<br />
|-<br />
| 142 || [5.0.0+] DeactivateSevenSixAxisSensor<br />
|-<br />
| 143 || [5.0.0+] GetConsoleSixAxisSensorCountStates<br />
|-<br />
| 144 || [8.0.0+] GetAccelerometerFsr<br />
|-<br />
| 145 || [8.0.0+] SetAccelerometerFsr<br />
|-<br />
| 146 || [8.0.0+] GetAccelerometerOdr<br />
|-<br />
| 147 || [8.0.0+] SetAccelerometerOdr<br />
|-<br />
| 148 || [8.0.0+] GetGyroscopeFsr<br />
|-<br />
| 149 || [8.0.0+] SetGyroscopeFsr<br />
|-<br />
| 150 || [8.0.0+] GetGyroscopeOdr<br />
|-<br />
| 151 || [8.0.0+] SetGyroscopeOdr<br />
|-<br />
| 201 || ActivateFirmwareUpdate<br />
|-<br />
| 202 || DeactivateFirmwareUpdate<br />
|-<br />
| 203 || [[#StartFirmwareUpdate]]<br />
|-<br />
| 204 || GetFirmwareUpdateStage<br />
|-<br />
| 205 || [[#GetFirmwareVersion]]<br />
|-<br />
| 206 || [[#GetDestinationFirmwareVersion]]<br />
|-<br />
| 207 || [[#DiscardFirmwareInfoCacheForRevert]]<br />
|-<br />
| 208 || [3.0.0+] StartFirmwareUpdateForRevert<br />
|-<br />
| 209 || [3.0.0+] GetAvailableFirmwareVersionForRevert<br />
|-<br />
| 210 || [4.0.0+] IsFirmwareUpdatingDevice<br />
|-<br />
| 211 || [6.0.0+] StartFirmwareUpdateIndividual<br />
|-<br />
| 215 || [6.0.0+] SetUsbFirmwareForceUpdateEnabled<br />
|-<br />
| 216 || [6.0.0+] SetAllKuinaDevicesToFirmwareUpdateMode<br />
|-<br />
| 221 || [3.0.0+] [[#UpdateControllerColor]]<br />
|-<br />
| 222 || [4.0.0+] ConnectUsbPadsAsync<br />
|-<br />
| 223 || [4.0.0+] DisconnectUsbPadsAsync<br />
|-<br />
| 224 || [5.0.0+] [[#UpdateDesignInfo]]<br />
|-<br />
| 225 || [5.0.0+] GetUniquePadDriverState<br />
|-<br />
| 226 || [5.0.0+] GetSixAxisSensorDriverStates<br />
|-<br />
| 227 || [5.0.0+] GetRxPacketHistory<br />
|-<br />
| 228 || [6.0.0+] AcquireOperationEventHandle<br />
|-<br />
| 229 || [6.0.0+] [[#ReadSerialFlash]]<br />
|-<br />
| 230 || [6.0.0+] WriteSerialFlash<br />
|-<br />
| 231 || [6.0.0+] GetOperationResult<br />
|-<br />
| 232 || [6.0.0+] EnableShipmentMode<br />
|-<br />
| 233 || [6.0.0+] ClearPairingInfo<br />
|-<br />
| 234 || [6.0.0+] GetUniquePadDeviceTypeSetInternal<br />
|-<br />
| 235 || [7.0.0+] EnableAnalogStickPower<br />
|-<br />
| 301 || [5.0.0+] [[#GetAbstractedPadHandles]]<br />
|-<br />
| 302 || [5.0.0+] GetAbstractedPadState<br />
|-<br />
| 303 || [5.0.0+] GetAbstractedPadsState<br />
|-<br />
| 321 || [5.0.0+] SetAutoPilotVirtualPadState<br />
|-<br />
| 322 || [5.0.0+] UnsetAutoPilotVirtualPadState<br />
|-<br />
| 323 || [5.0.0+] UnsetAllAutoPilotVirtualPadState<br />
|-<br />
| 324 || [7.0.0+] [[#AttachHdlsWorkBuffer]]<br />
|-<br />
| 325 || [7.0.0+] [[#ReleaseHdlsWorkBuffer]]<br />
|-<br />
| 326 || [7.0.0+] [[#DumpHdlsNpadAssignmentState]]<br />
|-<br />
| 327 || [7.0.0+] [[#DumpHdlsStates]]<br />
|-<br />
| 328 || [7.0.0+] [[#ApplyHdlsNpadAssignmentState]]<br />
|-<br />
| 329 || [7.0.0+] [[#ApplyHdlsStateList]]<br />
|-<br />
| 330 || [7.0.0+] [[#AttachHdlsVirtualDevice]]<br />
|-<br />
| 331 || [7.0.0+] [[#DetachHdlsVirtualDevice]]<br />
|-<br />
| 332 || [7.0.0+] [[#SetHdlsState]]<br />
|-<br />
| 350 || [5.0.0+] AddRegisteredDevice<br />
|-<br />
| 400 || [6.0.0+] DisableExternalMcuOnNxDevice<br />
|-<br />
| 401 || [6.0.0+] DisableRailDeviceFiltering<br />
|-<br />
| 500 || [8.0.0+] SetFactoryInt<br />
|-<br />
| 501 || [8.0.0+] IsFactoryBootEnabled<br />
|}<br />
<br />
== StartFirmwareUpdate ==<br />
Takes a total of 0x20-bytes of input, 2 handles, and returns an output handle.<br />
<br />
[3.0.0+] Now takes a total of 8-bytes of input, and no longer uses any input/output handles.<br />
<br />
== GetFirmwareVersion ==<br />
Takes a total of 8-bytes of input, and returns a total of 4-bytes of output.<br />
<br />
[3.0.0+] Now returns an additional 0xC-bytes of output.<br />
<br />
== GetDestinationFirmwareVersion ==<br />
Takes a total of 8-bytes of input, and returns a total of 4-bytes of output.<br />
<br />
[3.0.0+] Now returns an additional 0xC-bytes of output.<br />
<br />
== DiscardFirmwareInfoCacheForRevert ==<br />
Takes a total of 8-bytes of input, and returns a total of 5-bytes of output.<br />
<br />
[3.0.0+] No input/output.<br />
<br />
== UpdateControllerColor ==<br />
Takes two input u32s for the colors, an input u64 '''UniquePadId''', and no output.<br />
<br />
A state flag must be clear, otherwise an error is thrown. Afterwards, this flag is set.<br />
<br />
Sends the spi-write subcommand to the specified controller, for writing the [[Joy-Con#Colors|color data]]. This writes to offset 0x6050 size 0x6, where the first 3-bytes are from the first u32 and the remaining 3-bytes are from the second u32.<br />
<br />
== UpdateDesignInfo ==<br />
Takes 4 input u32s for the colors, an input u8, an input u64 '''UniquePadId''', and no output.<br />
<br />
A state flag must be clear (same as [[#UpdateControllerColor]]), otherwise an error is thrown. Afterwards, this flag is set.<br />
<br />
Sends the spi-write subcommand to the specified controller, for writing to offset 0x6050 size 0xD. The first 3-bytes from each u32 is used for the spi-write-data, with the u8 being copied immediately afterwards the color data.<br />
<br />
== ReadSerialFlash ==<br />
Takes an input TransferMemory handle, an input u32 offset, an input u64 size, and an u64 '''UniquePadId''', no output.<br />
<br />
Reads from the specified controller's spi-flash. The input size is the original size without page-alignment. The TransferMemory permissions is RW-.<br />
<br />
This doesn't seem to be usable?<br />
<br />
== GetAbstractedPadHandles ==<br />
Takes a type-0xA output buffer containing an array of u64 '''AbstractedPadHandle''' and returns an output s32 for total entries.<br />
<br />
Returns a handle for each controller detected by the system.<br />
<br />
== AttachHdlsWorkBuffer ==<br />
Takes an input TransferMemory handle and an u64 for the TransferMemory size, no output.<br />
<br />
Official user-processes use TransferMemory size=0x1000 and permissions=RW.<br />
<br />
This TransferMemory is used as input/output by the other Hdls commands.<br />
<br />
Hdls is for virtual HID controllers.<br />
<br />
== ReleaseHdlsWorkBuffer ==<br />
No input/output.<br />
<br />
== DumpHdlsNpadAssignmentState ==<br />
No input/output.<br />
<br />
After using this cmd, the output [[#HdlsNpadAssignment]] is located at tmem+0.<br />
<br />
== DumpHdlsStates ==<br />
No input/output.<br />
<br />
After using this cmd, the output [[#HdlsStateList]] struct is located at tmem+0.<br />
<br />
== ApplyHdlsNpadAssignmentState ==<br />
Takes an input u8 bool, no output.<br />
<br />
Prior to using this cmd, the input [[#HdlsNpadAssignment]] is written to tmem+0 by the user-process.<br />
<br />
== ApplyHdlsStateList ==<br />
No input/output.<br />
<br />
Prior to using this cmd, the input [[#HdlsStateList]] is written to tmem+0 by the user-process.<br />
<br />
The [[#HdlsState]] will be applied for each HdlsHandle. If a HdlsHandle is not found, code similar to [[#AttachHdlsVirtualDevice]] will run with the [[#HdlsDeviceInfo]], then it will continue with applying state with the new device.<br />
<br />
== AttachHdlsVirtualDevice ==<br />
Takes an [[#HdlsDeviceInfo]], returns a 8-byte '''HdlsHandle'''.<br />
<br />
== DetachHdlsVirtualDevice ==<br />
Takes an input 8-byte '''HdlsHandle''', no output.<br />
<br />
== SetHdlsState ==<br />
Takes an input [[#HdlsState]] and an input 8-byte '''HdlsHandle''', no output.<br />
<br />
== HdlsNpadAssignment ==<br />
This is a 0x208-byte struct. This seems to be an array, structure unknown.<br />
<br />
== HdlsStateList ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || Total entries<br />
|-<br />
| 0x4 || 0x4 || Padding<br />
|-<br />
| 0x8 || 0x400(0x40*0x10) || Array of [[#HdlsStateListEntry]].<br />
|}<br />
<br />
This is a 0x408-byte struct.<br />
<br />
This contains a list of all controllers, including non-virtual controllers.<br />
<br />
=== HdlsStateListEntry ===<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x8 || HdlsHandle<br />
|-<br />
| 0x8 || 0x10 || [[#HdlsDeviceInfo]]. With [[#ApplyHdlsStateList]] this is only used when creating new devices.<br />
|-<br />
| 0x18 || 0x24 || [[#HdlsState]]<br />
|-<br />
| 0x3C || 0x4 || Padding<br />
|}<br />
<br />
This is a 0x40-byte struct.<br />
<br />
== HdlsDeviceInfo ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x4 || Only one bit can be set, see below.<br />
|-<br />
| 0x4 || 0x4 || RGBA Single Body Color<br />
|-<br />
| 0x8 || 0x4 || RGBA Single Buttons Color<br />
|-<br />
| 0xC || 0x1 || Additional type field used with the above type field, if the value doesn't match one of the following a default is used. Type Pro-Controller: value 0x3 indicates that the controller is connected via USB. Type Joy-Con Left/Right: with value 0x2 the system doesn't list the controller in hid sharedmem. Type bit21: value 0x3 = unknown.<br />
|-<br />
| 0xD || 0x3 || Padding<br />
|}<br />
<br />
This is a 0x10-byte struct.<br />
<br />
Bits for the above type field:<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
! Notes<br />
|-<br />
| 0-7<br />
| <br />
| BIT(N*4+0) = Pro-Controller, BIT(N*4+1) = Joy-Con Left, BIT(N*4+2) = Joy-Con Right, BIT(N*4+3) = invalid. Where N is 0-1.<br />
|-<br />
| 8-10<br />
| <br />
| Pro-Controller<br />
|-<br />
| 11<br />
| <br />
| Famicom-Controller<br />
|-<br />
| 12<br />
| <br />
| Famicom-Controller II with microphone<br />
|-<br />
| 13<br />
| <br />
| NES-Controller ([[#DeviceType]]=0x200)<br />
|-<br />
| 14<br />
| <br />
| NES-Controller ([[#DeviceType]]=0x400)<br />
|-<br />
| 15-16<br />
| <br />
| Invalid<br />
|-<br />
| 17<br />
| <br />
| Unknown ([[#DeviceType]]=0x8000)<br />
|-<br />
| 18-20<br />
| <br />
| Invalid<br />
|-<br />
| 21-23<br />
| <br />
| Unknown ([[#DeviceType]]=0x80000000)<br />
|}<br />
<br />
== HdlsState ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x1 || powerConnected for the main [[HID_Shared_Memory#Controllers|PowerInfo]].<br />
|-<br />
| 0x1 || 0x1 || ORRed with powerConnected to set the value of the first byte for the controller [[HID_Shared_Memory#Flags|flags]].<br />
|-<br />
| 0x2 || 0x6 || Unknown<br />
|-<br />
| 0x8 || 0x4 || batteryCharge for the main [[HID_Shared_Memory#Controllers|PowerInfo]].<br />
|-<br />
| 0xC || 0x4 || Buttons<br />
|-<br />
| 0x10 || 0x10(4*2*2) || Joystick data, see [[HID_Shared_Memory#Controller_State]].<br />
|-<br />
| 0x20 || 0x1 || Unused for input. Set with output from [[#DumpHdlsStates]] (zero in some cases).<br />
|-<br />
| 0x21 || 0x3 || Padding<br />
|}<br />
<br />
This is a 0x24-byte struct.<br />
<br />
= hid:sys =<br />
This is "nn::hid::IHidSystemServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 31 || SendKeyboardLockKeyEvent<br />
|-<br />
| 101 || AcquireHomeButtonEventHandle<br />
|-<br />
| 111 || ActivateHomeButton<br />
|-<br />
| 121 || AcquireSleepButtonEventHandle<br />
|-<br />
| 131 || ActivateSleepButton<br />
|-<br />
| 141 || AcquireCaptureButtonEventHandle<br />
|-<br />
| 151 || ActivateCaptureButton<br />
|-<br />
| 161 || [7.0.0+] GetPlatformConfig<br />
|-<br />
| 210 || AcquireNfcDeviceUpdateEventHandle<br />
|-<br />
| 211 || GetNpadsWithNfc<br />
|-<br />
| 212 || AcquireNfcActivateEventHandle<br />
|-<br />
| 213 || ActivateNfc<br />
|-<br />
| 214 || [4.0.0+] GetXcdHandleForNpadWithNfc<br />
|-<br />
| 215 || [4.0.0+] IsNfcActivated<br />
|-<br />
| 230 || AcquireIrSensorEventHandle<br />
|-<br />
| 231 || ActivateIrSensor<br />
|-<br />
| 301 || ActivateNpadSystem<br />
|-<br />
| 303 || ApplyNpadSystemCommonPolicy<br />
|-<br />
| 304 || EnableAssigningSingleOnSlSrPress<br />
|-<br />
| 305 || DisableAssigningSingleOnSlSrPress<br />
|-<br />
| 306 || GetLastActiveNpad<br />
|-<br />
| 307 || GetNpadSystemExtStyle<br />
|-<br />
| 308 || [5.0.0+] ApplyNpadSystemCommonPolicyFull<br />
|-<br />
| 309 || [5.0.0+] GetNpadFullKeyGripColor<br />
|-<br />
| 310 || [6.0.0+] GetMaskedSupportedNpadStyleSet<br />
|-<br />
| 311 || SetNpadPlayerLedBlinkingDevice<br />
|-<br />
| 312 || [6.0.0+] SetSupportedNpadStyleSetAll<br />
|-<br />
| 321 || [3.0.0+] [[#GetUniquePadsFromNpad]]<br />
|-<br />
| 322 || GetIrSensorState<br />
|-<br />
| 323 || GetXcdHandleForNpadWithIrSensor<br />
|-<br />
| 500 || SetAppletResourceUserId<br />
|-<br />
| 501 || RegisterAppletResourceUserId<br />
|-<br />
| 502 || UnregisterAppletResourceUserId<br />
|-<br />
| 503 || EnableAppletToGetInput<br />
|-<br />
| 504 || SetAruidValidForVibration<br />
|-<br />
| 505 || EnableAppletToGetSixAxisSensor<br />
|-<br />
| 510 || [[#SetVibrationMasterVolume]]<br />
|-<br />
| 511 || GetVibrationMasterVolume<br />
|-<br />
| 512 || [3.0.0+] BeginPermitVibrationSession<br />
|-<br />
| 513 || [3.0.0+] EndPermitVibrationSession<br />
|-<br />
| 520 || EnableHandheldHids<br />
|-<br />
| 521 || DisableHandheldHids<br />
|-<br />
| 540 || AcquirePlayReportControllerUsageUpdateEvent<br />
|-<br />
| 541 || GetPlayReportControllerUsages<br />
|-<br />
| 542 || AcquirePlayReportRegisteredDeviceUpdateEvent<br />
|-<br />
| 543 || GetRegisteredDevicesOld ([1.0.0-4.1.0] GetRegisteredDevices)<br />
|-<br />
| 544 || [3.0.0+] AcquireConnectionTriggerTimeoutEvent<br />
|-<br />
| 545 || [3.0.0+] SendConnectionTrigger<br />
|-<br />
| 546 || [3.0.0+] AcquireDeviceRegisteredEventForControllerSupport<br />
|-<br />
| 547 || [3.0.0+] GetAllowedBluetoothLinksCount<br />
|-<br />
| 548 || [5.0.0+] GetRegisteredDevices<br />
|-<br />
| 549 || [6.0.0+] GetConnectableRegisteredDevices<br />
|-<br />
| 700 || ActivateUniquePad<br />
|-<br />
| 702 || AcquireUniquePadConnectionEventHandle<br />
|-<br />
| 703 || [[#GetUniquePadIds]]<br />
|-<br />
| 751 || AcquireJoyDetachOnBluetoothOffEventHandle<br />
|-<br />
| 800 || ListSixAxisSensorHandles<br />
|-<br />
| 801 || IsSixAxisSensorUserCalibrationSupported<br />
|-<br />
| 802 || ResetSixAxisSensorCalibrationValues<br />
|-<br />
| 803 || StartSixAxisSensorUserCalibration<br />
|-<br />
| 804 || CancelSixAxisSensorUserCalibration<br />
|-<br />
| 805 || [3.0.0+] GetUniquePadBluetoothAddress<br />
|-<br />
| 806 || [3.0.0+] DisconnectUniquePad<br />
|-<br />
| 807 || [5.0.0+] GetUniquePadType<br />
|-<br />
| 808 || [5.0.0+] GetUniquePadInterface<br />
|-<br />
| 809 || [5.0.0+] GetUniquePadSerialNumber<br />
|-<br />
| 810 || [5.0.0+] GetUniquePadControllerNumber<br />
|-<br />
| 811 || [5.0.0+] GetSixAxisSensorUserCalibrationStage<br />
|-<br />
| 812 || [8.0.0+] GetConsoleUniqueSixAxisSensorHandle<br />
|-<br />
| 821 || StartAnalogStickManualCalibration<br />
|-<br />
| 822 || RetryCurrentAnalogStickManualCalibrationStage<br />
|-<br />
| 823 || CancelAnalogStickManualCalibration<br />
|-<br />
| 824 || ResetAnalogStickManualCalibration<br />
|-<br />
| 825 || [5.0.0+] GetAnalogStickState<br />
|-<br />
| 826 || [5.0.0+] GetAnalogStickManualCalibrationStage<br />
|-<br />
| 827 || [5.0.0+] IsAnalogStickButtonPressed<br />
|-<br />
| 828 || [5.0.0+] IsAnalogStickInReleasePosition<br />
|-<br />
| 829 || [5.0.0+] IsAnalogStickInCircumference<br />
|-<br />
| 830 || [7.0.0+] [[#SetNotificationLedPattern]]<br />
|-<br />
| 850 || [3.0.0+] IsUsbFullKeyControllerEnabled<br />
|-<br />
| 851 || [3.0.0+] EnableUsbFullKeyController<br />
|-<br />
| 852 || [3.0.0+] IsUsbConnected<br />
|-<br />
| 870 || [5.1.0+] IsHandheldButtonPressedOnConsoleMode<br />
|-<br />
| 900 || ActivateInputDetector<br />
|-<br />
| 901 || [[#NotifyInputDetector]]<br />
|-<br />
| 1000 || [3.0.0+] InitializeFirmwareUpdate<br />
|-<br />
| 1001 || [3.0.0+] GetFirmwareVersion<br />
|-<br />
| 1002 || [3.0.0+] GetAvailableFirmwareVersion<br />
|-<br />
| 1003 || [3.0.0+] IsFirmwareUpdateAvailable<br />
|-<br />
| 1004 || [3.0.0+] CheckFirmwareUpdateRequired<br />
|-<br />
| 1005 || [3.0.0+] StartFirmwareUpdate<br />
|-<br />
| 1006 || [3.0.0+] AbortFirmwareUpdate<br />
|-<br />
| 1007 || [3.0.0+] GetFirmwareUpdateState<br />
|-<br />
| 1008 || [4.0.0+] ActivateAudioControl<br />
|-<br />
| 1009 || [4.0.0+] AcquireAudioControlEventHandle<br />
|-<br />
| 1010 || [4.0.0+] GetAudioControlStates<br />
|-<br />
| 1011 || [4.0.0+] DeactivateAudioControl<br />
|-<br />
| 1050 || [5.0.0+] IsSixAxisSensorAccurateUserCalibrationSupported<br />
|-<br />
| 1051 || [5.0.0+] StartSixAxisSensorAccurateUserCalibration<br />
|-<br />
| 1052 || [5.0.0+] CancelSixAxisSensorAccurateUserCalibration<br />
|-<br />
| 1053 || [5.0.0+] GetSixAxisSensorAccurateUserCalibrationState<br />
|-<br />
| 1100 || [5.0.0+] [[#GetHidbusSystemServiceObject]]<br />
|-<br />
| 1120 || [6.0.0+] SetFirmwareHotfixUpdateSkipEnabled<br />
|-<br />
| 1130 || [6.0.0+] InitializeUsbFirmwareUpdate<br />
|-<br />
| 1131 || [6.0.0+] FinalizeUsbFirmwareUpdate<br />
|-<br />
| 1132 || [6.0.0+] CheckUsbFirmwareUpdateRequired<br />
|-<br />
| 1133 || [6.0.0+] StartUsbFirmwareUpdate<br />
|-<br />
| 1134 || [6.0.0+] GetUsbFirmwareUpdateState<br />
|-<br />
| 1150 || [8.0.0+] SetTouchScreenMagnification<br />
|}<br />
<br />
== GetUniquePadsFromNpad ==<br />
Takes an input u32 [[#NpadIdType]], a type-0xA output buffer, and returns an output u64 for total output entries.<br />
<br />
The output buffer contains an array of u64 '''UniquePadId'''.<br />
<br />
== SetVibrationMasterVolume ==<br />
Takes an input 32bit float.<br />
<br />
== GetUniquePadIds ==<br />
Takes a type-0xA output buffer, and returns an output u64 for total output entries.<br />
<br />
The output buffer contains an array of u64 '''UniquePadId'''.<br />
<br />
== NotifyInputDetector ==<br />
Takes an input u32 bitmask InputSourceId, no output.<br />
<br />
This is the only hid:sys command used by USB-sysmodule (with value 0x40).<br />
<br />
== SetNotificationLedPattern ==<br />
Takes an input [[#NotificationLedPattern]] and an u64 '''UniquePadId''', no output.<br />
<br />
The specified controller must have a HOME button.<br />
<br />
This sends subcommand 0x38 to the specified controller, for setting the pattern for the HOME button notification LED. The input structure is converted to the format used by this [https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_subcommands_notes.md#subcommand-0x38-set-home-light subcommand].<br />
<br />
== GetHidbusSystemServiceObject ==<br />
No input, returns an [[#IHidbusSystemServer]].<br />
<br />
== NotificationLedPattern ==<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Subcommand argdata bytepos || Subcommand argdata nibble || Description<br />
|-<br />
| 0x0 || 0x1 || 0x0 || Low || Mini Cycle Base Duration. Value 0x1-0xF: 12.5ms - 187.5ms. Value 0x0 = 0ms/OFF.<br />
|-<br />
| 0x1 || 0x1 || 0x0 || High || Number of Mini Cycles + 1. Value 0x0-0xF: 1 - 16 mini cycles.<br />
|-<br />
| 0x2 || 0x1 || 0x1 || Low || Number of Full Cycles. Value 0x1-0xF: 1 - 15 full cycles. Value 0x0 is repeat forever, but if Mini Cycle Base Duration is set to 0x0, it does the 1st Mini Cycle with a 12.5ms base duration and then the LED stays on with LED Start Intensity.<br />
|-<br />
| 0x3 || 0x1 || 0x1 || High || LED Start Intensity. Value 0x0-0xF: 0% - 100%. (In HW, 1 - 241 duty)<br />
|-<br />
| 0x4 || 0x1 || 0x2 || High || Mini Cycle 1 LED Intensity. Value 0x0-0xF: 0% - 100%. (In HW, 1 - 241 duty)<br />
|-<br />
| 0x5 || 0x1 || 0x3 || High || Fading Transition Steps to Mini Cycle 1 (Uses PWM). Value 0x0: Instant. Each step duration is based on Mini Cycle Step Duration Multiplier.<br />
|-<br />
| 0x6 || 0x1 || 0x3 || Low || Final Step Duration Multiplier of Mini Cycle 1. Value is a Multiplier of Mini Cycle Base Duration. Value 0x0: 12.5ms, 0x1 - xF: 1x - 15x.<br />
|-<br />
| 0x7 || 0x1 || || || Unused<br />
|-<br />
| 0x8 || 0x1 || 0x2 || Low || Mini Cycle 2 LED Intensity.<br />
|-<br />
| 0x9 || 0x1 || 0x4 || High || Fading Transition Steps to Mini Cycle 2 (see above).<br />
|-<br />
| 0xA || 0x1 || 0x4 || Low || Final Step Duration Multiplier of Mini Cycle 2 (see above).<br />
|-<br />
| 0xB || 0x1 || || || Unused<br />
|-<br />
| 0xC || 0x1 || 0x5 || High || Mini Cycle 3 LED Intensity.<br />
|-<br />
| 0xD || 0x1 || 0x6 || High || Fading Transition Steps to Mini Cycle 3 (see above).<br />
|-<br />
| 0xE || 0x1 || 0x6 || Low || Final Step Duration Multiplier of Mini Cycle 3 (see above).<br />
|-<br />
| 0xF || 0x1 || || || Unused<br />
|-<br />
| 0x10 || 0x1 || 0x5 || Low || Mini Cycle 4 LED Intensity.<br />
|-<br />
| 0x11 || 0x1 || 0x7 || High || Fading Transition Duration to Mini Cycle 4 (see above).<br />
|-<br />
| 0x12 || 0x1 || 0x7 || Low || Final Step Duration Multiplier of Mini Cycle 4 (see above).<br />
|-<br />
| 0x13 || 0x1 || || || Unused<br />
|-<br />
| 0x14 || 0x1 || 0x8 || High || Mini Cycle 5 LED Intensity.<br />
|-<br />
| 0x15 || 0x1 || 0x9 || High || Fading Transition Steps to Mini Cycle 5 (see above).<br />
|-<br />
| 0x16 || 0x1 || 0x9 || Low || Final Step Duration Multiplier of Mini Cycle 5 (see above).<br />
|-<br />
| 0x17 || 0x1 || || || Unused<br />
|-<br />
| 0x18 || 0x1 || 0x8 || Low || Mini Cycle 6 LED Intensity.<br />
|-<br />
| 0x19 || 0x1 || 0xA || High || Fading Transition Steps to Mini Cycle 6 (see above).<br />
|-<br />
| 0x1A || 0x1 || 0xA || Low || Final Step Duration Multiplier of Mini Cycle 6 (see above).<br />
|-<br />
| 0x1B || 0x1 || || || Unused<br />
|-<br />
| 0x1C || 0x1 || 0xB || High || Mini Cycle 7 LED Intensity.<br />
|-<br />
| 0x1D || 0x1 || 0xC || High || Fading Transition Steps to Mini Cycle 7 (see above).<br />
|-<br />
| 0x1E || 0x1 || 0xC || Low || Final Step Duration Multiplier of Mini Cycle 7 (see above).<br />
|-<br />
| 0x1F || 0x1 || || || Unused<br />
|-<br />
| 0x20 || 0x1 || 0xB || Low || Mini Cycle 8 LED Intensity.<br />
|-<br />
| 0x21 || 0x1 || 0xD || Low || Fading Transition Steps to Mini Cycle 8 (see above).<br />
|-<br />
| 0x22 || 0x1 || 0xD || High || Final Step Duration Multiplier of Mini Cycle 8 (see above).<br />
|-<br />
| 0x23 || 0x1 || || || Unused<br />
|-<br />
| 0x24 || 0x1 || 0xE || High || Mini Cycle 9 LED Intensity.<br />
|-<br />
| 0x25 || 0x1 || 0xF || High || Fading Transition Steps to Mini Cycle 9 (see above).<br />
|-<br />
| 0x26 || 0x1 || 0xF || Low || Final Step Duration Multiplier of Mini Cycle 9 (see above).<br />
|-<br />
| 0x27 || 0x1 || || || Unused<br />
|-<br />
| 0x28 || 0x1 || 0xE || Low || Mini Cycle 10 LED Intensity.<br />
|-<br />
| 0x29 || 0x1 || 0x10 || High || Fading Transition Steps to Mini Cycle 10 (see above).<br />
|-<br />
| 0x2A || 0x1 || 0x10 || Low || Final Step Duration Multiplier of Mini Cycle 10 (see above).<br />
|-<br />
| 0x2B || 0x1 || || || Unused<br />
|-<br />
| 0x2C || 0x1 || 0x11 || High || Mini Cycle 11 LED Intensity.<br />
|-<br />
| 0x2D || 0x1 || 0x12 || High || Fading Transition Steps to Mini Cycle 11 (see above).<br />
|-<br />
| 0x2E || 0x1 || 0x12 || Low || Final Step Duration Multiplier of Mini Cycle 11 (see above).<br />
|-<br />
| 0x2F || 0x1 || || || Unused<br />
|-<br />
| 0x30 || 0x1 || 0x11 || Low || Mini Cycle 12 LED Intensity.<br />
|-<br />
| 0x31 || 0x1 || 0x13 || High || Fading Transition Steps to Mini Cycle 12 (see above).<br />
|-<br />
| 0x32 || 0x1 || 0x13 || Low || Final Step Duration Multiplier of Mini Cycle 12 (see above).<br />
|-<br />
| 0x33 || 0x1 || || || Unused<br />
|-<br />
| 0x34 || 0x1 || 0x14 || High || Mini Cycle 13 LED Intensity.<br />
|-<br />
| 0x35 || 0x1 || 0x15 || High || Fading Transition Steps to Mini Cycle 13 (see above).<br />
|-<br />
| 0x36 || 0x1 || 0x15 || Low || Final Step Duration Multiplier of Mini Cycle 13 (see above).<br />
|-<br />
| 0x37 || 0x1 || || || Unused<br />
|-<br />
| 0x38 || 0x1 || 0x14 || Low || Mini Cycle 14 LED Intensity.<br />
|-<br />
| 0x39 || 0x1 || 0x16 || High || Fading Transition Steps to Mini Cycle 14 (see above).<br />
|-<br />
| 0x3A || 0x1 || 0x16 || Low || Final Step Duration Multiplier of Mini Cycle 14 (see above).<br />
|-<br />
| 0x3B || 0x1 || || || Unused<br />
|-<br />
| 0x3C || 0x1 || 0x17 || High || Mini Cycle 15 LED Intensity.<br />
|-<br />
| 0x3D || 0x1 || 0x18 || High || Fading Transition Steps to Mini Cycle 15 (see above).<br />
|-<br />
| 0x3E || 0x1 || 0x18 || Low || Final Step Duration Multiplier of Mini Cycle 15 (see above).<br />
|-<br />
| 0x3F || 0x1 || || || Unused<br />
|-<br />
| 0x40 || 0x1 || 0x17 || Low || Mini Cycle 16 LED Intensity.<br />
|-<br />
| 0x41 || 0x1 || 0x19 || High || Fading Transition Steps to Mini Cycle 16 (see above). (Unused in older Joy-Con / Pro-Con FW. Unknown for new.)<br />
|-<br />
| 0x42 || 0x1 || 0x19 || Low || Final Step Duration Multiplier of Mini Cycle 16 (see above). (Unused in older Joy-Con / Pro-Con FW. Unknown for new.)<br />
|-<br />
| 0x43 || 0x1 || || || Unused<br />
|-<br />
| 0x44 || 0x1 || 0x1A || High || Unknown (Unused in older Joy-Con / Pro-Con FW. Unknown for new.)<br />
|-<br />
| 0x45 || 0x1 || 0x1A || Low || Unknown (Unused in older Joy-Con / Pro-Con FW. Unknown for new.)<br />
|-<br />
| 0x46 || 0x1 || || || Padding<br />
|-<br />
| 0x47 || 0x1 || || || Padding<br />
|-<br />
|}<br />
<br />
This is "nn::hid::system::NotificationLedPattern".<br />
<br />
This is a 0x48-byte struct.<br />
<br />
The above descriptions in the table are based on the info from [https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_subcommands_notes.md here].<br />
<br />
argdata in the subcommand is initialized as follows: <code>((u8*)cmd_argdata)[pos] = u8_in[pos2] | u8_in[pos3]<<4;</code> Hence, 4bits from pairs of 2-bytes of the input struct are combined to write to the subcommand. Only the low 4bits of each used byte in the struct is used. This is written to stack initially, then copied to the actual cmd_argdata (the data immediately following the subcommandID byte). There's a total of 0x1B-bytes of cmd_argdata initialized from this.<br />
<br />
The layout of cmd_argdata is as follows:<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description<br />
|-<br />
| 0x0 || 0x1B || See above.<br />
|-<br />
| 0x1B || 0xB || Cleared to zero.<br />
|-<br />
| 0x26 || 0x5 || Unused<br />
|-<br />
| 0x2B || 0x8 || Set to an input value, which is hard-coded 0.<br />
|-<br />
| 0x33 || 0x2 || Set to value 0.<br />
|-<br />
| 0x35 || 0x1 || Set to value 1.<br />
|}<br />
<br />
== DeviceType ==<br />
This is a bitmask describing the controller device type.<br />
<br />
{| class="wikitable" border="1"<br />
! Bits<br />
! Description<br />
! Notes<br />
|-<br />
| 0<br />
| <br />
| Pro Controller.<br />
|-<br />
| 1<br />
| <br />
| Unknown<br />
|-<br />
| 2<br />
| <br />
| Unknown<br />
|-<br />
| 3<br />
| <br />
| Unknown<br />
|-<br />
| 4<br />
| <br />
| Joy-Con left controller.<br />
|-<br />
| 5<br />
| <br />
| Joy-Con right controller.<br />
|-<br />
| 6<br />
| <br />
| Unknown<br />
|-<br />
| 7<br />
| <br />
| Famicom controller.<br />
|-<br />
| 8<br />
| <br />
| Famicom controller II with microphone.<br />
|-<br />
| 9<br />
| <br />
| NES controller.<br />
|-<br />
| 10<br />
| <br />
| NES controller (same as above?).<br />
|-<br />
| 11-14<br />
| Unknown<br />
| <br />
|-<br />
| 15<br />
| <br />
| Unknown controller type.<br />
|-<br />
| 16-30<br />
| <br />
| Unknown<br />
|-<br />
| 31<br />
| <br />
| Unknown controller type (similar to bit15?).<br />
|}<br />
<br />
== IHidbusSystemServer ==<br />
This is "nn::hidbus::IHidbusSystemServer".<br />
<br />
This was added with [5.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 500 || <br />
|-<br />
| 501 || <br />
|-<br />
| 502 || <br />
|}<br />
<br />
= hid:tmp =<br />
This is "nn::hid::IHidTemporaryServer".<br />
<br />
This service was added with [3.0.0+], then removed with [8.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetConsoleSixAxisSensorCalibrationValues<br />
|}<br />
<br />
= irs =<br />
This is "nn::irsensor::IIrSensorServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 302 || [[#ActivateIrsensor]]<br />
|-<br />
| 303 || [[#DeactivateIrsensor]]<br />
|-<br />
| 304 || [[#GetIrsensorSharedMemoryHandle]]<br />
|-<br />
| 305 || [[#StopImageProcessor]]<br />
|-<br />
| 306 || [[#RunMomentProcessor]]<br />
|-<br />
| 307 || [[#RunClusteringProcessor]]<br />
|-<br />
| 308 || [[#RunImageTransferProcessor]]<br />
|-<br />
| 309 || [[#GetImageTransferProcessorState]]<br />
|-<br />
| 310 || [[#RunTeraPluginProcessor]]<br />
|-<br />
| 311 || [[#GetNpadIrCameraHandle]]<br />
|-<br />
| 312 || [[#RunPointingProcessor]]<br />
|-<br />
| 313 || [[#SuspendImageProcessor]]<br />
|-<br />
| 314 || [3.0.0+] [[#CheckFirmwareVersion]]<br />
|-<br />
| 315 || [4.0.0+] SetFunctionLevel<br />
|-<br />
| 316 || [4.0.0+] RunImageTransferExProcessor<br />
|-<br />
| 317 || [4.0.0+] RunIrLedProcessor<br />
|-<br />
| 318 || [4.0.0+] StopImageProcessorAsync<br />
|-<br />
| 319 || [4.0.0+] ActivateIrsensorWithFunctionLevel<br />
|}<br />
<br />
== ActivateIrsensor ==<br />
Takes a PID-descriptor and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== DeactivateIrsensor ==<br />
Takes a PID-descriptor and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== GetIrsensorSharedMemoryHandle ==<br />
Takes a PID-descriptor and an [[AM_services|AppletResourceUserId]]. Returns a SharedMemory handle.<br />
<br />
The SharedMemory is mapped with permissions=read-only and size=0x8000.<br />
<br />
== StopImageProcessor ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== RunMomentProcessor ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], an [[AM_services|AppletResourceUserId]], and a [[#PackedMomentProcessorConfig]]. No output.<br />
<br />
== RunClusteringProcessor ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], an [[AM_services|AppletResourceUserId]], and a [[#PackedClusteringProcessorConfig]]. No output.<br />
<br />
== RunImageTransferProcessor ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], an [[AM_services|AppletResourceUserId]], a [[#PackedImageTransferProcessorConfig]], an u64 for the TransferMemory_size, and a TransferMemory handle. No output.<br />
<br />
Official sw creates the TransferMemory with an user-specified buffer and permissions=0.<br />
<br />
== GetImageTransferProcessorState ==<br />
Takes a PID-descriptor, a type-0x6 output buffer, an [[#IrCameraHandle]], and an [[AM_services|AppletResourceUserId]]. Returns an [[#ImageTransferProcessorState]]. No output.<br />
<br />
== RunTeraPluginProcessor==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], a [[#PackedTeraPluginProcessorConfig]] (immediately after the previous word), and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== GetNpadIrCameraHandle ==<br />
Takes an input u32 NpadTypeId. Returns an output [[#IrCameraHandle]].<br />
<br />
== RunPointingProcessor ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], a [[#PackedDpdProcessorConfig]] (immediately after the previous word), and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== SuspendImageProcessor ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== CheckFirmwareVersion ==<br />
Takes a PID-descriptor, an [[#IrCameraHandle]], a [[#PackedMcuVersion]], and an [[AM_services|AppletResourceUserId]]. No output.<br />
<br />
== IrCameraHandle ==<br />
This is an u32.<br />
<br />
== PackedMomentProcessorConfig ==<br />
This is a 0x20-byte struct. This is converted from another structure by the official user-process.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset || Size || Description || DefaultConfig<br />
|-<br />
| 0x0 || 0x8 || ? || 0x493E0<br />
|-<br />
| 0x8 || 0x1 || ? || 0x0<br />
|-<br />
| 0x9 || 0x1 || ? || 0x8<br />
|-<br />
| 0xA || 0x1 || ? || 0x0<br />
|-<br />
| 0xB || 0x5 || Padding || <br />
|-<br />
| 0x10 || 0x8 || u16, u32, u16 || {Not written}, 0x1400000, 0xF0<br />
|-<br />
| 0x18 || 0x4 || Hard-coded to 0xA0003. || <br />
|-<br />
| 0x1C || 0x1 || ? || 0x1<br />
|-<br />
| 0x1D || 0x1 || ? || 0x50<br />
|-<br />
| 0x1E || 0x2 || Padding || <br />
|}<br />
<br />
== PackedClusteringProcessorConfig ==<br />
This is a 0x28-byte struct.<br />
<br />
== PackedImageTransferProcessorConfig ==<br />
This is a 0x18-byte struct. This is converted from another structure by the official user-process. The conversion is the same as PackedMomentProcessorConfig, except the code using out +0x1C/+0x1D was removed, and the constant is now located at out+0x10. The code which wrote to out u64 +0x10 from in+0x24 was replaced with code which writes an u8 to out+0x14.<br />
<br />
== ImageTransferProcessorState ==<br />
This is a 0x10-byte struct.<br />
<br />
== PackedTeraPluginProcessorConfig ==<br />
This is an u64.<br />
<br />
== PackedDpdProcessorConfig ==<br />
This is a 0x10-byte struct.<br />
<br />
== PackedMcuVersion ==<br />
This is an u32.<br />
<br />
= irs:sys =<br />
This is "nn::irsensor::IIrSensorSystemServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 500 || SetAppletResourceUserId<br />
|-<br />
| 501 || RegisterAppletResourceUserId<br />
|-<br />
| 502 || UnregisterAppletResourceUserId<br />
|-<br />
| 503 || EnableAppletToGetInput<br />
|}<br />
<br />
= ahid:cd =<br />
This is "nn::ahid::IServerSession".<br />
<br />
Used for USB HID devices. <br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || || Takes an input s32, no output.<br />
|-<br />
| 1 || || Takes an input s32, no output.<br />
|-<br />
| 2 || || Takes an input u32, returns an [[#ICtrlSession]].<br />
|-<br />
| 3 || || Takes an input u32, returns an [[#IReadSession]].<br />
|-<br />
| [1.0.0-2.3.0] 4 || || Takes an input u32, returns an [[#IWriteSession]].<br />
|}<br />
<br />
== ICtrlSession ==<br />
This is "nn::ahid::ICtrlSession".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || || <br />
|-<br />
| 1 || || <br />
|-<br />
| 2 || || <br />
|-<br />
| 3 || || <br />
|-<br />
| 4 || || <br />
|-<br />
| 5 || || <br />
|-<br />
| 6 || || <br />
|-<br />
| 7 || || <br />
|-<br />
| 8 || || <br />
|-<br />
| 9 || || <br />
|-<br />
| 10 || || <br />
|-<br />
| 11 || || <br />
|-<br />
| 12 || [3.0.0+] || <br />
|}<br />
<br />
All of these use USB [[USB_services|CtrlXfer]], except for cmd10-11 which are event(?) related, and cmd1 which copies 0x4000-bytes from state to output.<br />
<br />
== IReadSession ==<br />
This is "nn::ahid::IReadSession".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || || <br />
|}<br />
<br />
Cmd0 uses [[USB_services|PostBufferAsync]] etc with the INPUT endpoint. The size must be <=0x1000. The actual transfer size is returned in an output u64. The data is copied from the tmpbuf to the output buffer using the actual-transfer-size.<br />
<br />
[3.0.0+] Cmd0 now takes a total of 8-bytes of input.<br />
<br />
== IWriteSession ==<br />
This is "nn::ahid::IWriteSession".<br />
<br />
This was removed with [3.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || || This is the inverse of [[#IReadSession]] cmd0. Uses the OUTPUT endpoint with an input buffer.<br />
|}<br />
<br />
= ahid:hdr =<br />
This is "nn::ahid::hdr::ISession".<br />
<br />
Used internally for USB HID devices.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || <br />
|-<br />
| 1 || <br />
|-<br />
| 2 || <br />
|-<br />
| 3 || <br />
|-<br />
| 4 ||<br />
|-<br />
| 5 || [6.0.0+]<br />
|}<br />
<br />
= xcd:sys =<br />
This is "nn::xcd::detail::ISystemServer".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetDataFormat<br />
|-<br />
| 1 || SetDataFormat<br />
|-<br />
| 2 || GetMcuState<br />
|-<br />
| 3 || SetMcuState<br />
|-<br />
| 4 || GetMcuVersionForNfc<br />
|-<br />
| 5 || CheckNfcDevicePower<br />
|-<br />
| 6 || [5.0.0+]<br />
|-<br />
| 10 || SetNfcEvent<br />
|-<br />
| 11 || GetNfcInfo<br />
|-<br />
| 12 || StartNfcDiscovery<br />
|-<br />
| 13 || StopNfcDiscovery<br />
|-<br />
| 14 || StartNtagRead<br />
|-<br />
| 15 || StartNtagWrite<br />
|-<br />
| 16 || SendNfcRawData<br />
|-<br />
| 17 || RegisterMifareKey<br />
|-<br />
| 18 || ClearMifareKey<br />
|-<br />
| 19 || StartMifareRead<br />
|-<br />
| 20 || StartMifareWrite<br />
|-<br />
| 101 || GetAwakeTriggerReasonForLeftRail<br />
|-<br />
| 102 || GetAwakeTriggerReasonForRightRail<br />
|}<br />
<br />
[5.0.0+] SetDataFormat, SetMcuState, and ClearMifareKey: now takes a total of 0xC-bytes of input instead of 0x10.<br />
<br />
[6.0.0+]: The buffer type used by GetNfcInfo is now 0x32 instead of 0x1A.<br />
<br />
= hidbus =<br />
This is "nn::hidbus::IHidbusServer".<br />
<br />
This was added with [5.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 1 || GetBusHandle<br />
|-<br />
| 2 || IsExternalDeviceConnected<br />
|-<br />
| 3 || Initialize<br />
|-<br />
| 4 || Finalize<br />
|-<br />
| 5 || EnableExternalDevice<br />
|-<br />
| 6 || GetExternalDeviceId<br />
|-<br />
| 7 || SendCommandAsync<br />
|-<br />
| 8 || GetSendCommandAsynceResult<br />
|-<br />
| 9 || SetEventForSendCommandAsycResult<br />
|-<br />
| 10 || GetSharedMemoryHandle<br />
|-<br />
| 11 || EnableJoyPollingReceiveMode<br />
|-<br />
| 12 || DisableJoyPollingReceiveMode<br />
|-<br />
| [5.0.0-6.2.0] 13 || GetPollingData<br />
|-<br />
| 14 || [6.0.0+] SetStatusManagerType<br />
|}<br />
<br />
= RomFS =<br />
The hid-sysmodule RomFS contains:<br />
ftmFwUpdate<br />
├── NTD_4CD_1801.fts256<br />
├── NTD_4CD_2602.fts256<br />
├── NTD_4CD_3801.fts256<br />
└── NTD_4CD_xxxx.fts256 [7.0.0+]<br />
<br />
These are firmware files for the touchscreen controller.<br />
<br />
= Firmware update =<br />
HID-sysmodule mounts the contents of title [[Title_list|0100000000000822]] as "systemData" or the contents of title [[Title_list|010000000000B22B]] as "systemDataD". Both titles contain the same files, but [[Title_list|0100000000000822]] is used on retail units while [[Title_list|010000000000B22B]] is used for development.<br />
<br />
These titles contain the following files:<br />
* '''ExpectVersionInfo.csv''' - List in the format "[device],[type],[version]" where "device" can be "JoyLeft", "JoyRight", "FullKey" or "Palma", "type" can be "BT", "MCU" or "USB" and "version" is the hexadecimal representation of the firmware file's version.<br />
* '''FirmwareInfo.csv''' - List in the format "[device],[type],[version],[file]" where "device", "type" and "version" should match the values from "ExpectVersionInfo" and "file" is the name of the firmware file.<br />
* '''ukyosakyo_ep2_ota.bin''' - Left/Right Joy-Con BT firmware.<br />
* '''raizo_ep2_ota.bin''' - Pro Controller BT firmware.<br />
* '''tera_ota.bin''' - Right Joy-Con MCU firmware. <br />
* '''tera_ota_iap.bin''' - Right Joy-Con MCU (IAP profile) firmware.<br />
* '''tera_fullkey_ota.bin''' - Pro Controller MCU firmware.<br />
* '''tera_fullkey_ota_iap.bin''' - Pro Controller MCU (IAP profile) firmware.<br />
* [6.0.0+] '''ProController.dfu''' - Pro Controller USB firmware.<br />
* [6.1.0+] '''PalmaFw.bin''' - Poké Ball Plus BT firmware.<br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=BCAT_services&diff=7054
BCAT services
2019-06-25T23:23:48Z
<p>Ac K: </p>
<hr />
<div>BCAT (Background Content Asymmetric synchronized delivery and Transmission) encompasses a set of content download/upload related services.<br />
<br />
= bcat:a, bcat:m, bcat:u, bcat:s =<br />
These are "nn::bcat::detail::ipc::IServiceCreator".<br />
<br />
These were added with [2.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || CreateBcatService || Takes an input u64 ProcessId, returns an [[#IBcatService]]<br />
|-<br />
| 1 || CreateDeliveryCacheStorageService || Takes an input u64 ProcessId, returns an [[#IDeliveryCacheStorageService]]<br />
|-<br />
| 2 || CreateDeliveryCacheStorageServiceWithApplicationId || Takes an input u64 TitleId, returns an [[#IDeliveryCacheStorageService]]<br />
|-<br />
| [2.0.0-2.3.0] 3 || CreateDeliveryCacheProgressService || Takes an input u64 ProcessId, returns an [[#IDeliveryCacheProgressService]]<br />
|-<br />
| [2.0.0-2.3.0] 4 || CreateDeliveryCacheProgressServiceWithApplicationId || Takes an input u64 TitleId, returns an [[#IDeliveryCacheProgressService]]<br />
|}<br />
<br />
Equivalent to 3DS BOSS(SpotPass). See [[BCAT_Content_Container|here]] for BCAT-content-container.<br />
<br />
== IBcatService ==<br />
This is "nn::bcat::detail::ipc::IBcatService".<br />
<br />
This was added with [2.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 10100 || [[#RequestSyncDeliveryCache]]<br />
|-<br />
| 10101 || [5.0.0+] RequestSyncDeliveryCacheWithDirectoryName<br />
|-<br />
| 10200 || [5.0.0+] CancelSyncDeliveryCacheRequest<br />
|-<br />
| 20100 || [[#RequestSyncDeliveryCacheWithApplicationId]]<br />
|-<br />
| 20101 || [5.0.0+] RequestSyncDeliveryCacheWithApplicationIdAndDirectoryName<br />
|-<br />
| 20300 || [8.0.0+] [[#GetDeliveryCacheStorageUpdateNotifier]]<br />
|-<br />
| 20301 || [8.0.0+] [[#RequestSuspendDeliveryTask]]<br />
|-<br />
| 30100 || SetPassphrase<br />
|-<br />
| [2.0.0-2.3.0] 30101 || <br />
|-<br />
| [2.0.0-2.3.0] 30102 || <br />
|-<br />
| 30200 || [3.0.0+] RegisterDeliveryTask<br />
|-<br />
| 30201 || [3.0.0+] UnregisterDeliveryTask<br />
|-<br />
| 30202 || [3.0.0+] BlockDeliveryTask<br />
|-<br />
| 30203 || [3.0.0+] UnblockDeliveryTask<br />
|-<br />
| 30300 || [8.0.0+] RegisterSystemApplicationDeliveryTasks<br />
|-<br />
| 90100 || GetDeliveryTaskList<br />
|-<br />
| 90200 || [[#GetDeliveryList]]<br />
|-<br />
| 90201 || [3.0.0+] ClearDeliveryCacheStorage<br />
|-<br />
| 90202 || [8.0.0+] ClearDeliveryTaskSubscriptionStatus<br />
|-<br />
| 90300 || [3.0.0+] GetPushNotificationLog<br />
|}<br />
<br />
=== RequestSyncDeliveryCache ===<br />
No input/output.<br />
<br />
[3.0.0+] Now returns an [[#IDeliveryCacheProgressService]].<br />
<br />
=== RequestSyncDeliveryCacheWithApplicationId ===<br />
Takes a total of 8-bytes of input, no output.<br />
<br />
[3.0.0+] Now takes an additional 8-bytes of input, and returns an [[#IDeliveryCacheProgressService]].<br />
<br />
=== GetDeliveryCacheStorageUpdateNotifier ===<br />
Takes a total of 8-bytes of input, returns an [[#INotifierService]].<br />
<br />
=== RequestSuspendDeliveryTask ===<br />
Takes a total of 8-bytes of input, returns an [[#IDeliveryTaskSuspensionService]].<br />
<br />
=== GetDeliveryList ===<br />
Takes a type-0x6 output buffer, returns a total of 4-bytes of output.<br />
<br />
[3.0.0+] Now takes a total of 8-bytes of input, and returns an additional 4-bytes of output.<br />
<br />
=== IDeliveryCacheProgressService ===<br />
This is "nn::bcat::detail::ipc::IDeliveryCacheProgressService".<br />
<br />
This was added with [2.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetEvent<br />
|-<br />
| 1 || GetImpl<br />
|}<br />
<br />
== IDeliveryCacheStorageService ==<br />
This is "nn::bcat::detail::ipc::IDeliveryCacheStorageService".<br />
<br />
This was added with [2.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateFileService<br />
|-<br />
| 1 || CreateDirectoryService<br />
|-<br />
| 10 || EnumerateDeliveryCacheDirectory<br />
|}<br />
<br />
=== IDeliveryCacheFileService ===<br />
This is "nn::bcat::detail::ipc::IDeliveryCacheFileService".<br />
<br />
This was added with [2.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || Open<br />
|-<br />
| 1 || Read<br />
|-<br />
| 2 || GetSize<br />
|-<br />
| 3 || GetDigest<br />
|}<br />
<br />
=== IDeliveryCacheDirectoryService ===<br />
This is "nn::bcat::detail::ipc::IDeliveryCacheDirectoryService".<br />
<br />
This was added with [2.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || Open<br />
|-<br />
| 1 || Read<br />
|-<br />
| 2 || GetCount<br />
|}<br />
<br />
=== INotifierService ===<br />
This is "nn::bcat::detail::ipc::INotifierService".<br />
<br />
Added with [8.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || GetEvent || <br />
|}<br />
<br />
=== IDeliveryTaskSuspensionService ===<br />
This is "nn::bcat::detail::ipc::IDeliveryTaskSuspensionService".<br />
<br />
Added with [8.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || GetEvent || <br />
|}<br />
<br />
= <nowiki>news:a, news:c, news:m, news:p, news:v</nowiki> =<br />
These are <nowiki>"nn::news::detail::ipc::IServiceCreator"</nowiki>.<br />
<br />
On [1.0.0] these are <nowiki>"nn::news::detail::ipc::INewsService"</nowiki>, see [[#INewsService]].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || || No input, returns an [[#INewsService]].<br />
|-<br />
| 1 || || No input, returns an [[#INewlyArrivedEventHolder]].<br />
|-<br />
| 2 || || No input, returns an [[#INewsDataService]].<br />
|-<br />
| 3 || || No input, returns an [[#INewsDatabaseService]].<br />
|-<br />
| 4 || || No input, returns an [[#IOverwriteEventHolder]].<br />
|}<br />
<br />
== INewsService ==<br />
This is <nowiki>"nn::news::detail::ipc::INewsService"</nowiki>.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 10100 || <br />
|-<br />
| 20100 || <br />
|-<br />
| 30100 || <br />
|-<br />
| 30101 || [3.0.0+]<br />
|-<br />
| 30110 || [6.0.0+]<br />
|-<br />
| 30200 || <br />
|-<br />
| 30201 || [8.0.0+]<br />
|-<br />
| 30300 || <br />
|-<br />
| 30400 || [3.0.0+]<br />
|-<br />
| 30500 || [8.0.0+] ? (Takes a total of 8-bytes of input, a handle, and a type-0x9 input buffer, returns an [[#IUnknown2]])<br />
|-<br />
| [1.0.0] 30900 || (No input, returns an [[#INewlyArrivedEventHolder]])<br />
|-<br />
| [1.0.0] 30901 || (No input, returns an [[#INewsDataService]])<br />
|-<br />
| [1.0.0] 30902 || (No input, returns an [[#INewsDatabaseService]])<br />
|-<br />
| 40100 || <br />
|-<br />
| 40101 || [3.0.0+]<br />
|-<br />
| 40200 || <br />
|-<br />
| 40201 || <br />
|-<br />
| 90100 || <br />
|}<br />
<br />
== INewlyArrivedEventHolder ==<br />
This is <nowiki>"nn::news::detail::ipc::INewlyArrivedEventHolder"</nowiki>.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || <br />
|}<br />
<br />
== INewsDataService ==<br />
This is <nowiki>"nn::news::detail::ipc::INewsDataService"</nowiki>.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || <br />
|-<br />
| 1 || <br />
|-<br />
| 2 || <br />
|-<br />
| 3 || <br />
|-<br />
| 1001 || [6.0.0+]<br />
|}<br />
<br />
== INewsDatabaseService ==<br />
This is <nowiki>"nn::news::detail::ipc::INewsDatabaseService"</nowiki>.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || <br />
|-<br />
| 1 || <br />
|-<br />
| 2 || <br />
|-<br />
| 3 || <br />
|-<br />
| 4 || <br />
|-<br />
| 5 || <br />
|-<br />
| 1000 || [6.0.0+]<br />
|}<br />
<br />
== IOverwriteEventHolder ==<br />
This is <nowiki>"nn::news::detail::ipc::IOverwriteEventHolder"</nowiki>.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || <br />
|}<br />
<br />
== IUnknown2 ==<br />
This was added with [8.0.0+].<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || <br />
|-<br />
| 1 || <br />
|-<br />
| 2 || <br />
|-<br />
| 3 || <br />
|}<br />
<br />
= prepo:a, prepo:a2, prepo:m, prepo:u, prepo:s =<br />
These are "nn::prepo::detail::ipc::IPrepoService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 10100 || SaveReportOld ([1.0.0-5.1.0] SaveReport)<br />
|-<br />
| 10101 || SaveReportWithUserOld ([1.0.0-5.1.0] SaveReportWithUser)<br />
|-<br />
| 10102 || [6.0.0+] SaveReport<br />
|-<br />
| 10103 || [6.0.0+] SaveReportWithUser<br />
|-<br />
| 10200 || RequestImmediateTransmission<br />
|-<br />
| 10300 || GetTransmissionStatus<br />
|-<br />
| 20100 || SaveSystemReport<br />
|-<br />
| 20101 || SaveSystemReportWithUser<br />
|-<br />
| 20200 || [4.0.0+] SetOperationMode<br />
|-<br />
| 30100 || ClearStorage<br />
|-<br />
| 30200 || [6.0.0+] ClearStatistics<br />
|-<br />
| 30300 || [6.0.0+] GetStorageUsage<br />
|-<br />
| 30400 || [6.0.0+] GetStatistics<br />
|-<br />
| 30401 || [6.0.0+] GetThroughputHistory<br />
|-<br />
| 30500 || [6.0.0+] GetLastUploadError<br />
|-<br />
| 40100 || [2.0.0+] IsUserAgreementCheckEnabled<br />
|-<br />
| 40101 || [2.0.0+] SetUserAgreementCheckEnabled<br />
|-<br />
| 90100 || [6.0.0+] ReadAllReportFiles ([1.0.0-5.1.0] GetStorageUsage)<br />
|-<br />
| [1.0.0] 90101 || <br />
|-<br />
| [1.0.0] 90102 || <br />
|-<br />
| [5.0.0-5.1.0] 90200 || GetStatistics<br />
|-<br />
| [5.0.0-5.1.0] 90201 || GetThroughputHistory<br />
|-<br />
| [5.0.0-5.1.0] 90300 || GetLastUploadError<br />
|}<br />
<br />
== Data reporting ==<br />
The "Play Report" (prepo) service uploads system and user information to a cloud server.<br />
This includes the following fields:<br />
sys_info<br />
data<br />
application_id<br />
event_id<br />
operation_mode<br />
lc_recorded_at (followed by a timestamp)<br />
nc_recorded_at (followed by a timestamp)<br />
nsa_id<br />
os_version<br />
<br />
And the contents of the following file:<br />
is_user_agreement_check_enabled.bin<br />
<br />
All the information is periodically uploaded to the following URL:<br><br />
* <nowiki>https://receive-%.dg.srv.nintendo.net/post</nowiki><br />
<br />
It also checks the validity of the device's authentication token using the following URL:<br><br />
* <nowiki>https://dauth-%.ndas.srv.nintendo.net/v1/device_auth_token</nowiki><br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=Friend_services&diff=7046
Friend services
2019-06-24T00:27:16Z
<p>Ac K: </p>
<hr />
<div>= friend:u, friend:v, friend:m, friend:s, friend:a =<br />
This is "nn::friends::detail::ipc::IServiceCreator".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || CreateFriendService || Returns an [[#IFriendService]].<br />
|-<br />
| 1 || [2.0.0+] CreateNotificationService || Takes an input userID and returns [[#INotificationService]].<br />
|-<br />
| 2 || [4.0.0+] CreateDaemonSuspendSessionService || Returns an [[#IDaemonSuspendSessionService]].<br />
|}<br />
<br />
== IFriendService ==<br />
This is "nn::friends::detail::ipc::IFriendService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetCompletionEvent<br />
|-<br />
| 1 || Cancel<br />
|-<br />
| 10100 || GetFriendListIds<br />
|-<br />
| 10101 || GetFriendList<br />
|-<br />
| 10102 || UpdateFriendInfo<br />
|-<br />
| 10110 || GetFriendProfileImage<br />
|-<br />
| 10200 || SendFriendRequestForApplication<br />
|-<br />
| 10211 || AddFacedFriendRequestForApplication<br />
|-<br />
| 10400 || GetBlockedUserListIds<br />
|-<br />
| 10500 || GetProfileList<br />
|-<br />
| 10600 || DeclareOpenOnlinePlaySession<br />
|-<br />
| 10601 || DeclareCloseOnlinePlaySession<br />
|-<br />
| 10610 || UpdateUserPresence<br />
|-<br />
| 10700 || GetPlayHistoryRegistrationKey<br />
|-<br />
| 10701 || GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId<br />
|-<br />
| 10702 || AddPlayHistory<br />
|-<br />
| 11000 || GetProfileImageUrl<br />
|-<br />
| 20100 || GetFriendCount<br />
|-<br />
| 20101 || GetNewlyFriendCount<br />
|-<br />
| 20102 || GetFriendDetailedInfo<br />
|-<br />
| 20103 || SyncFriendList<br />
|-<br />
| 20104 || RequestSyncFriendList<br />
|-<br />
| 20110 || LoadFriendSetting<br />
|-<br />
| 20200 || GetReceivedFriendRequestCount<br />
|-<br />
| 20201 || GetFriendRequestList<br />
|-<br />
| 20300 || GetFriendCandidateList<br />
|-<br />
| 20301 || [3.0.0+] GetNintendoNetworkIdInfo<br />
|-<br />
| 20302 || [5.0.0+] GetSnsAccountLinkage<br />
|-<br />
| 20303 || [5.0.0+] GetSnsAccountProfile<br />
|-<br />
| 20304 || [5.0.0+] GetSnsAccountFriendList<br />
|-<br />
| 20400 || GetBlockedUserList<br />
|-<br />
| 20401 || SyncBlockedUserList<br />
|-<br />
| 20500 || GetProfileExtraList<br />
|-<br />
| 20501 || GetRelationship<br />
|-<br />
| 20600 || GetUserPresenceView<br />
|-<br />
| 20700 || GetPlayHistoryList<br />
|-<br />
| 20701 || GetPlayHistoryStatistics<br />
|-<br />
| 20800 || LoadUserSetting<br />
|-<br />
| 20801 || SyncUserSetting<br />
|-<br />
| 20900 || RequestListSummaryOverlayNotification<br />
|-<br />
| 21000 || GetExternalApplicationCatalog<br />
|-<br />
| 30100 || DropFriendNewlyFlags<br />
|-<br />
| 30101 || DeleteFriend<br />
|-<br />
| 30110 || DropFriendNewlyFlag<br />
|-<br />
| 30120 || ChangeFriendFavoriteFlag<br />
|-<br />
| 30121 || ChangeFriendOnlineNotificationFlag<br />
|-<br />
| 30200 || SendFriendRequest<br />
|-<br />
| 30201 || SendFriendRequestWithApplicationInfo<br />
|-<br />
| 30202 || CancelFriendRequest<br />
|-<br />
| 30203 || AcceptFriendRequest<br />
|-<br />
| 30204 || RejectFriendRequest<br />
|-<br />
| 30205 || ReadFriendRequest<br />
|-<br />
| 30210 || GetFacedFriendRequestRegistrationKey<br />
|-<br />
| 30211 || AddFacedFriendRequest<br />
|-<br />
| 30212 || CancelFacedFriendRequest<br />
|-<br />
| 30213 || GetFacedFriendRequestProfileImage<br />
|-<br />
| 30214 || GetFacedFriendRequestProfileImageFromPath<br />
|-<br />
| 30215 || SendFriendRequestWithExternalApplicationCatalogId<br />
|-<br />
| 30216 || ResendFacedFriendRequest<br />
|-<br />
| 30217 || [3.0.0+] SendFriendRequestWithNintendoNetworkIdInfo<br />
|-<br />
| 30300 || [5.0.0+] GetSnsAccountLinkPageUrl<br />
|-<br />
| 30301 || [5.0.0+] UnlinkSnsAccount<br />
|-<br />
| 30400 || BlockUser<br />
|-<br />
| 30401 || BlockUserWithApplicationInfo<br />
|-<br />
| 30402 || UnblockUser<br />
|-<br />
| 30500 || GetProfileExtraFromFriendCode<br />
|-<br />
| 30700 || DeletePlayHistory<br />
|-<br />
| 30810 || ChangePresencePermission<br />
|-<br />
| 30811 || ChangeFriendRequestReception<br />
|-<br />
| 30812 || ChangePlayLogPermission<br />
|-<br />
| 30820 || IssueFriendCode<br />
|-<br />
| 30830 || ClearPlayLog<br />
|-<br />
| 49900 || DeleteNetworkServiceAccountCache<br />
|}<br />
<br />
== INotificationService ==<br />
This is "nn::friends::detail::ipc::INotificationService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || [2.0.0+] GetEvent || Returns an output event handle<br />
|-<br />
| 1 || [2.0.0+] Clear ||<br />
|-<br />
| 2 || [2.0.0+] Pop ||<br />
|}<br />
<br />
== IDaemonSuspendSessionService ==<br />
This is "nn::friends::detail::ipc::IDaemonSuspendSessionService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [4.0.0+]<br />
|-<br />
| 1 || [4.0.0+]<br />
|-<br />
| 2 || [4.0.0+]<br />
|-<br />
| 3 || [4.0.0+]<br />
|-<br />
| 4 || [4.0.0+]<br />
|}<br />
<br />
= nd:app =<br />
<br />
= nd:sys =<br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=Friend_services&diff=7011
Friend services
2019-06-16T23:44:55Z
<p>Ac K: </p>
<hr />
<div>= friend:u, friend:v, friend:m, friend:s, friend:a =<br />
This is "nn::friends::detail::ipc::IServiceCreator".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || CreateFriendService || Returns an [[#IFriendService]].<br />
|-<br />
| 1 || [2.0.0+] CreateNotificationService || Takes an input userID and returns [[#INotificationService]].<br />
|-<br />
| 2 || [4.0.0+] CreateDaemonSuspendSessionService || Returns an [[#IDaemonSuspendSessionService]].<br />
|}<br />
<br />
== IFriendService ==<br />
This is "nn::friends::detail::ipc::IFriendService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetCompletionEvent<br />
|-<br />
| 1 || Cancel<br />
|-<br />
| 10100 || GetFriendListIds<br />
|-<br />
| 10101 || GetFriendList<br />
|-<br />
| 10102 || UpdateFriendInfo<br />
|-<br />
| 10110 || GetFriendProfileImage<br />
|-<br />
| 10200 || SendFriendRequestForApplication<br />
|-<br />
| 10211 || AddFacedFriendRequestForApplication<br />
|-<br />
| 10400 || GetBlockedUserListIds<br />
|-<br />
| 10500 || GetProfileList<br />
|-<br />
| 10600 || DeclareOpenOnlinePlaySession<br />
|-<br />
| 10601 || DeclareCloseOnlinePlaySession<br />
|-<br />
| 10610 || UpdateUserPresence<br />
|-<br />
| 10700 || GetPlayHistoryRegistrationKey<br />
|-<br />
| 10701 || GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId<br />
|-<br />
| 10702 || AddPlayHistory<br />
|-<br />
| 11000 || GetProfileImageUrl<br />
|-<br />
| 20100 || GetFriendCount<br />
|-<br />
| 20101 || GetNewlyFriendCount<br />
|-<br />
| 20102 || GetFriendDetailedInfo<br />
|-<br />
| 20103 || SyncFriendList<br />
|-<br />
| 20104 || RequestSyncFriendList<br />
|-<br />
| 20110 || LoadFriendSetting<br />
|-<br />
| 20200 || GetReceivedFriendRequestCount<br />
|-<br />
| 20201 || GetFriendRequestList<br />
|-<br />
| 20300 || GetFriendCandidateList<br />
|-<br />
| 20301 || [3.0.0+] GetNintendoNetworkIdInfo<br />
|-<br />
| 20302 || [5.0.0+] GetSnsAccountLinkage<br />
|-<br />
| 20303 || [5.0.0+] GetSnsAccountProfile<br />
|-<br />
| 20304 || [5.0.0+] GetSnsAccountFriendList<br />
|-<br />
| 20400 || GetBlockedUserList<br />
|-<br />
| 20401 || SyncBlockedUserList<br />
|-<br />
| 20500 || GetProfileExtraList<br />
|-<br />
| 20501 || GetRelationship<br />
|-<br />
| 20600 || GetUserPresenceView<br />
|-<br />
| 20700 || GetPlayHistoryList<br />
|-<br />
| 20701 || GetPlayHistoryStatistics<br />
|-<br />
| 20800 || LoadUserSetting<br />
|-<br />
| 20801 || SyncUserSetting<br />
|-<br />
| 20900 || RequestListSummaryOverlayNotification<br />
|-<br />
| 21000 || GetExternalApplicationCatalog<br />
|-<br />
| 30100 || DropFriendNewlyFlags<br />
|-<br />
| 30101 || DeleteFriend<br />
|-<br />
| 30110 || DropFriendNewlyFlag<br />
|-<br />
| 30120 || ChangeFriendFavoriteFlag<br />
|-<br />
| 30121 || ChangeFriendOnlineNotificationFlag<br />
|-<br />
| 30200 || SendFriendRequest<br />
|-<br />
| 30201 || SendFriendRequestWithApplicationInfo<br />
|-<br />
| 30202 || CancelFriendRequest<br />
|-<br />
| 30203 || AcceptFriendRequest<br />
|-<br />
| 30204 || RejectFriendRequest<br />
|-<br />
| 30205 || ReadFriendRequest<br />
|-<br />
| 30210 || GetFacedFriendRequestRegistrationKey<br />
|-<br />
| 30211 || AddFacedFriendRequest<br />
|-<br />
| 30212 || CancelFacedFriendRequest<br />
|-<br />
| 30213 || GetFacedFriendRequestProfileImage<br />
|-<br />
| 30214 || GetFacedFriendRequestProfileImageFromPath<br />
|-<br />
| 30215 || SendFriendRequestWithExternalApplicationCatalogId<br />
|-<br />
| 30216 || ResendFacedFriendRequest<br />
|-<br />
| 30217 || [3.0.0+] SendFriendRequestWithNintendoNetworkIdInfo<br />
|-<br />
| 30300 || [5.0.0+] GetSnsAccountLinkPageUrl<br />
|-<br />
| 30301 || [5.0.0+] UnlinkSnsAccount<br />
|-<br />
| 30400 || BlockUser<br />
|-<br />
| 30401 || BlockUserWithApplicationInfo<br />
|-<br />
| 30402 || UnblockUser<br />
|-<br />
| 30500 || GetProfileExtraFromFriendCode<br />
|-<br />
| 30700 || DeletePlayHistory<br />
|-<br />
| 30810 || ChangePresencePermission<br />
|-<br />
| 30811 || ChangeFriendRequestReception<br />
|-<br />
| 30812 || ChangePlayLogPermission<br />
|-<br />
| 30820 || IssueFriendCode<br />
|-<br />
| 30830 || ClearPlayLog<br />
|-<br />
| 49900 || DeleteNetworkServiceAccountCache<br />
|}<br />
<br />
== INotificationService ==<br />
This is "nn::friends::detail::ipc::INotificationService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || GetEvent<br />
|-<br />
| 1 || Clear<br />
|-<br />
| 2 || Pop<br />
|}<br />
<br />
== IDaemonSuspendSessionService ==<br />
This is "nn::friends::detail::ipc::IDaemonSuspendSessionService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || [4.0.0+]<br />
|-<br />
| 1 || [4.0.0+]<br />
|-<br />
| 2 || [4.0.0+]<br />
|-<br />
| 3 || [4.0.0+]<br />
|-<br />
| 4 || [4.0.0+]<br />
|}<br />
<br />
= nd:app =<br />
<br />
= nd:sys =<br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=Glue_services&diff=6999
Glue services
2019-06-14T00:20:26Z
<p>Ac K: </p>
<hr />
<div>= arp:r =<br />
This is "nn::arp::detail::IReader".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || GetApplicationLaunchProperty || Takes an input u64 ProcessId, returns an [[#ApplicationLaunchProperty]]<br />
|-<br />
| 1 || GetApplicationLaunchPropertyWithApplicationId || Takes an input u64 TitleId, returns an [[#ApplicationLaunchProperty]]<br />
|-<br />
| 2 || GetApplicationControlProperty || Takes an input u64 ProcessId, returns a type-0x16 buffer filled with the contents of [[NACP_Format|control.nacp]]<br />
|-<br />
| 3 || GetApplicationControlPropertyWithApplicationId || Takes an input u64 TitleId, returns a type-0x16 buffer filled with the contents of [[NACP_Format|control.nacp]]<br />
|}<br />
<br />
= arp:w =<br />
This is "nn::arp::detail::IWriter".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || AcquireRegistrar || Returns an [[#IRegistrar]]<br />
|-<br />
| 1 || DeleteProperties || Takes an input u64 unknown<br />
|}<br />
<br />
== IRegistrar ==<br />
This is "nn::arp::detail::IRegistrar".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name || Notes<br />
|-<br />
| 0 || Issue || Takes an input u64 unknown<br />
|-<br />
| 1 || SetApplicationLaunchProperty || Takes an input [[#ApplicationLaunchProperty]]<br />
|-<br />
| 2 || SetApplicationControlProperty || Takes an input type-0x15 buffer filled with the contents of [[NACP_Format|control.nacp]]<br />
|}<br />
<br />
= bgtc:t =<br />
This is "nn::bgtc::ITaskService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 1 || NotifyTaskStarting<br />
|-<br />
| 2 || NotifyTaskFinished<br />
|-<br />
| 3 || GetTriggerEvent<br />
|-<br />
| 4 || IsInHalfAwake<br />
|-<br />
| 5 || NotifyClientName<br />
|-<br />
| 6 || [3.0.0+] IsInFullAwake<br />
|-<br />
| 11 || ScheduleTask<br />
|-<br />
| 12 || GetScheduledTaskInterval<br />
|-<br />
| 13 || UnscheduleTask<br />
|-<br />
| 14 || GetScheduleEvent<br />
|-<br />
| 15 || SchedulePeriodicTask<br />
|-<br />
| 101 || [3.0.0+] GetOperationMode<br />
|-<br />
| 102 || [3.0.0+] WillDisconnectNetworkWhenEnteringSleep<br />
|-<br />
| 103 || [3.0.0+] WillStayHalfAwakeInsteadSleep<br />
|-<br />
|}<br />
<br />
= bgtc:sc =<br />
This is "nn::bgtc::IStateControlService".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 1 || GetState<br />
|-<br />
| 2 || GetStateChangedEvent<br />
|-<br />
| 3 || NotifyEnteringHalfAwake<br />
|-<br />
| 4 || NotifyLeavingHalfAwake<br />
|-<br />
| 5 || [3.0.0+] SetIsUsingSleepUnsupportedDevices<br />
|-<br />
|}<br />
<br />
= ApplicationLaunchProperty =<br />
<br />
Total size is 0x10-bytes.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Size<br />
! Description<br />
|-<br />
| 0x00<br />
| 0x08<br />
| Title ID<br />
|-<br />
| 0x08<br />
| 0x04<br />
| Version<br />
|-<br />
| 0x0C<br />
| 0x01<br />
| Base Game [[Filesystem_services#StorageId|Storage Id]]<br />
|-<br />
| 0x0D<br />
| 0x01<br />
| Update [[Filesystem_services#StorageId|Storage Id]]<br />
|-<br />
| 0x0E<br />
| 0x02<br />
| Padding<br />
|}<br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=NFC_services&diff=6719
NFC services
2019-04-23T21:18:47Z
<p>Ac K: /* IUser */</p>
<hr />
<div>= nfc:am =<br />
This is "nn::nfc::am::detail::IAmManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateAmInterface<br />
|}<br />
<br />
== IAm ==<br />
This is "nn::nfc::am::detail::IAm".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || Initialize<br />
|-<br />
| 1 || Finalize<br />
|-<br />
| 2 || NotifyForegroundApplet<br />
|}<br />
<br />
= nfc:mf:u =<br />
This is "nn::nfc::mifare::detail::IUserManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateUserInterface<br />
|}<br />
<br />
== IUser ==<br />
This is "nn::nfc::mifare::detail::IUser".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || Initialize<br />
|-<br />
| 1 || Finalize<br />
|-<br />
| 2 || ListDevices<br />
|-<br />
| 3 || StartDetection<br />
|-<br />
| 4 || StopDetection<br />
|-<br />
| 5 || Read<br />
|-<br />
| 6 || Write<br />
|-<br />
| 7 || GetTagInfo<br />
|-<br />
| 8 || GetActivateEventHandle<br />
|-<br />
| 9 || GetDeactivateEventHandle<br />
|-<br />
| 10 || GetState<br />
|-<br />
| 11 || GetDeviceState<br />
|-<br />
| 12 || GetNpadId<br />
|-<br />
| 13 || GetAvailabilityChangeEventHandle<br />
|}<br />
<br />
= nfc:user =<br />
This is "nn::nfc::detail::IUserManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateUserInterface<br />
|}<br />
<br />
== IUser ==<br />
This is "nn::nfc::detail::IUser".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || InitializeOld<br />
|-<br />
| 1 || FinalizeOld<br />
|-<br />
| 2 || GetStateOld<br />
|-<br />
| 3 || IsNfcEnabledOld<br />
|-<br />
| 400 || [4.0.0+] Initialize<br />
|-<br />
| 401 || [4.0.0+] Finalize<br />
|-<br />
| 402 || [4.0.0+] GetState<br />
|-<br />
| 403 || [4.0.0+] IsNfcEnabled<br />
|-<br />
| 404 || [4.0.0+] ListDevices<br />
|-<br />
| 405 || [4.0.0+] GetDeviceState<br />
|-<br />
| 406 || [4.0.0+] GetNpadId<br />
|-<br />
| 407 || [4.0.0+] AttachAvailabilityChangeEvent<br />
|-<br />
| 408 || [4.0.0+] StartDetection<br />
|-<br />
| 409 || [4.0.0+] StopDetection<br />
|-<br />
| 410 || [4.0.0+] GetTagInfo<br />
|-<br />
| 411 || [4.0.0+] AttachActivateEvent<br />
|-<br />
| 412 || [4.0.0+] AttachDeactivateEvent<br />
|-<br />
| 1000 || [4.0.0+] ReadMifare<br />
|-<br />
| 1001 || [4.0.0+] WriteMifare<br />
|-<br />
| 1300 || [4.0.0+] SendCommandByPassThrough<br />
|-<br />
| 1301 || [4.0.0+] KeepPassThroughSession<br />
|-<br />
| 1302 || [4.0.0+] ReleasePassThroughSession<br />
|}<br />
<br />
= nfc:sys =<br />
This is "nn::nfc::detail::ISystemManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateSystemInterface<br />
|}<br />
<br />
== ISystem ==<br />
This is "nn::nfc::detail::ISystem".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || Initialize<br />
|-<br />
| 1 || Finalize<br />
|-<br />
| 2 || GetStateOld<br />
|-<br />
| 3 || IsNfcEnabledOld<br />
|-<br />
| 100 || SetNfcEnabledOld<br />
|-<br />
| 400 || [4.0.0+] InitializeSystem<br />
|-<br />
| 401 || [4.0.0+] FinalizeSystem<br />
|-<br />
| 402 || [4.0.0+] GetState<br />
|-<br />
| 403 || [4.0.0+] IsNfcEnabled<br />
|-<br />
| 404 || [4.0.0+] ListDevices<br />
|-<br />
| 405 || [4.0.0+] GetDeviceState<br />
|-<br />
| 406 || [4.0.0+] GetNpadId<br />
|-<br />
| 407 || [4.0.0+] AttachAvailabilityChangeEvent<br />
|-<br />
| 408 || [4.0.0+] StartDetection<br />
|-<br />
| 409 || [4.0.0+] StopDetection<br />
|-<br />
| 410 || [4.0.0+] GetTagInfo<br />
|-<br />
| 411 || [4.0.0+] AttachActivateEvent<br />
|-<br />
| 412 || [4.0.0+] AttachDeactivateEvent<br />
|-<br />
| 500 || [4.0.0+] SetNfcEnabled<br />
|-<br />
| 510 || [7.0.0+]<br />
|-<br />
| 1000 || [4.0.0+] ReadMifare<br />
|-<br />
| 1001 || [4.0.0+] WriteMifare<br />
|-<br />
| 1300 || [4.0.0+] SendCommandByPassThrough<br />
|-<br />
| 1301 || [4.0.0+] KeepPassThroughSession<br />
|-<br />
| 1302 || [4.0.0+] ReleasePassThroughSession<br />
|}<br />
<br />
= nfp:user =<br />
This is "nn::nfp::detail::IUserManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateUserInterface<br />
|}<br />
<br />
== IUser ==<br />
This is "nn::nfp::detail::IUser".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || Initialize<br />
|-<br />
| 1 || Finalize<br />
|-<br />
| 2 || ListDevices<br />
|-<br />
| 3 || StartDetection<br />
|-<br />
| 4 || StopDetection<br />
|-<br />
| 5 || Mount<br />
|-<br />
| 6 || Unmount<br />
|-<br />
| 7 || OpenApplicationArea<br />
|-<br />
| 8 || GetApplicationArea<br />
|-<br />
| 9 || SetApplicationArea<br />
|-<br />
| 10 || Flush<br />
|-<br />
| 11 || Restore<br />
|-<br />
| 12 || CreateApplicationArea<br />
|-<br />
| 13 || GetTagInfo<br />
|-<br />
| 14 || GetRegisterInfo<br />
|-<br />
| 15 || GetCommonInfo<br />
|-<br />
| 16 || GetModelInfo<br />
|-<br />
| 17 || AttachActivateEvent<br />
|-<br />
| 18 || AttachDeactivateEvent<br />
|-<br />
| 19 || GetState<br />
|-<br />
| 20 || GetDeviceState<br />
|-<br />
| 21 || GetNpadId<br />
|-<br />
| 22 || GetApplicationArea2<br />
|-<br />
| 23 || [3.0.0+] AttachAvailabilityChangeEvent<br />
|-<br />
| 24 || [3.0.0+] RecreateApplicationArea<br />
|}<br />
<br />
= nfp:dbg =<br />
This is "nn::nfp::detail::IDebugManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateDebugInterface<br />
|}<br />
<br />
== IDebug ==<br />
This is "nn::nfp::detail::IDebug".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || InitializeDebug<br />
|-<br />
| 1 || FinalizeDebug<br />
|-<br />
| 2 || ListDevices<br />
|-<br />
| 3 || StartDetection<br />
|-<br />
| 4 || StopDetection<br />
|-<br />
| 5 || Mount<br />
|-<br />
| 6 || Unmount<br />
|-<br />
| 7 || OpenApplicationArea<br />
|-<br />
| 8 || GetApplicationArea<br />
|-<br />
| 9 || SetApplicationArea<br />
|-<br />
| 10 || Flush<br />
|-<br />
| 11 || Restore<br />
|-<br />
| 12 || CreateApplicationArea<br />
|-<br />
| 13 || GetTagInfo<br />
|-<br />
| 14 || GetRegisterInfo<br />
|-<br />
| 15 || GetCommonInfo<br />
|-<br />
| 16 || GetModelInfo<br />
|-<br />
| 17 || AttachActivateEvent<br />
|-<br />
| 18 || AttachDeactivateEvent<br />
|-<br />
| 19 || GetState<br />
|-<br />
| 20 || GetDeviceState<br />
|-<br />
| 21 || GetNpadId<br />
|-<br />
| 22 || GetApplicationArea2<br />
|-<br />
| 23 || AttachAvailabilityChangeEvent<br />
|-<br />
| 24 || RecreateApplicationArea<br />
|-<br />
| 100 || Format<br />
|-<br />
| 101 || GetAdminInfo<br />
|-<br />
| 102 || GetRegisterInfo<br />
|-<br />
| 103 || SetRegisterInfo<br />
|-<br />
| 104 || DeleteRegisterInfo<br />
|-<br />
| 105 || DeleteApplicationArea<br />
|-<br />
| 106 || ExistsApplicationArea<br />
|-<br />
| 200 || GetAll<br />
|-<br />
| 201 || SetAll<br />
|-<br />
| 202 || FlushDebug<br />
|-<br />
| 203 || BreakTag<br />
|-<br />
| 204 || ReadBackupData<br />
|-<br />
| 205 || WriteBackupData<br />
|-<br />
| 206 || WriteNtf<br />
|-<br />
| 300 || [1.0.0-3.0.2]<br />
|-<br />
| 301 || [1.0.0-3.0.2]<br />
|-<br />
| 302 || [1.0.0-3.0.2]<br />
|-<br />
| 303 || [1.0.0-3.0.2]<br />
|-<br />
| 304 || [1.0.0-3.0.2]<br />
|-<br />
| 305 || [1.0.0-3.0.2]<br />
|-<br />
| 306 || [1.0.0-3.0.2]<br />
|-<br />
| 307 || [1.0.0-3.0.2]<br />
|-<br />
| 308 || [1.0.0-3.0.2]<br />
|-<br />
| 309 || [1.0.0-3.0.2]<br />
|-<br />
| 310 || [1.0.0-3.0.2]<br />
|-<br />
| 311 || [1.0.0-3.0.2]<br />
|-<br />
| 312 || [1.0.0-3.0.2]<br />
|-<br />
| 313 || [1.0.0-3.0.2]<br />
|-<br />
| 314 || [1.0.0-3.0.2]<br />
|}<br />
<br />
= nfp:sys =<br />
This is "nn::nfp::detail::ISystemManager".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || CreateSystemInterface<br />
|}<br />
<br />
== ISystem ==<br />
This is "nn::nfp::detail::ISystem".<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Cmd || Name<br />
|-<br />
| 0 || InitializeSystem<br />
|-<br />
| 1 || FinalizeSystem<br />
|-<br />
| 2 || ListDevices<br />
|-<br />
| 3 || StartDetection<br />
|-<br />
| 4 || StopDetection<br />
|-<br />
| 5 || Mount<br />
|-<br />
| 6 || Unmount<br />
|-<br />
| 10 || Flush<br />
|-<br />
| 11 || Restore<br />
|-<br />
| 13 || GetTagInfo<br />
|-<br />
| 14 || GetRegisterInfo<br />
|-<br />
| 15 || GetCommonInfo<br />
|-<br />
| 16 || GetModelInfo<br />
|-<br />
| 17 || AttachActivateEvent<br />
|-<br />
| 18 || AttachDeactivateEvent<br />
|-<br />
| 19 || GetState<br />
|-<br />
| 20 || GetDeviceState<br />
|-<br />
| 21 || GetNpadId<br />
|-<br />
| 23 || AttachAvailabilityChangeEvent<br />
|-<br />
| 100 || Format<br />
|-<br />
| 101 || GetAdminInfo<br />
|-<br />
| 102 || GetRegisterInfo<br />
|-<br />
| 103 || SetRegisterInfo<br />
|-<br />
| 104 || DeleteRegisterInfo<br />
|-<br />
| 105 || DeleteApplicationArea<br />
|-<br />
| 106 || ExistsApplicationArea<br />
|}<br />
<br />
= Application IDs =<br />
Application IDs (also referenced as "access_id" in official software) are game-unique u32s used to access the amiibo 0xd8-big application area.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Game || AppID<br />
|-<br />
| Super Smash Bros. Ultimate || 0x34f80200<br />
|}<br />
<br />
[[Category:Services]]</div>
Ac K
https://switchbrew.org/w/index.php?title=Error_codes&diff=6692
Error codes
2019-04-20T02:05:52Z
<p>Ac K: </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 />
= 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 || Sockets<br />
|-<br />
| 18 || HTC<br />
|-<br />
| 20 || NCM Content<br />
|-<br />
| 21 || SM<br />
|-<br />
| 22 || RO userland<br />
|-<br />
| 24 || SDMMC<br />
|-<br />
| 25 || OVLN<br />
|-<br />
| 26 || SPL<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 />
| 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 || EC (Shop)<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 HTTP Stream<br />
|-<br />
| 157 || ARP<br />
|-<br />
| 158 || Boot<br />
|-<br />
| 159 || SWKBD<br />
|-<br />
| 161 || NFC Mifare<br />
|-<br />
| 162 || Userland assert<br />
|-<br />
| 163 || Fatal<br />
|-<br />
| 164 || NIM Shop<br />
|-<br />
| 165 || SPSM<br />
|-<br />
| 167 || BGTC<br />
|-<br />
| 168 || Userland crash<br />
|-<br />
| 178 || PDM<br />
|-<br />
| 179 || OLSC<br />
|-<br />
| 180 || SREPO<br />
|-<br />
| 181 || Dauth<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 ||<br />
|-<br />
| 212 || GRC<br />
|-<br />
| 216 || Migration<br />
|-<br />
| 217 || Migration Idc Server<br />
|-<br />
| 345 || libnx<br />
|-<br />
| 346 || [[Homebrew ABI]]<br />
|-<br />
| 347 || Homebrew Loader<br />
|-<br />
| 348 || libnx Nvidia errors<br />
|-<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 || Process already started/Wrong memory permission?<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 || The specified [[NCA]]-type doesn't exist for this title.<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 />
| 0x13DA02 || 2 || 2541 || Version check failed when mounting gamecard sysupdate partition?<br />
|-<br />
| 0x171402 || 2 || 2954 || Invalid gamecard handle.<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 />
| 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 />
| 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 />
| 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 />
| 0x19009 || 9 || 200 || Invalid access control sizes in NPDM.<br />
|-<br />
| 0x809 || 9 || 4 || Invalid NPDM.<br />
|-<br />
| 0xA09 || 9 || 5 || Invalid files.<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 />
| 0x6609 || 9 || 51 || Invalid memory state/permission<br />
|-<br />
| 0x6A09 || 9 || 53 || Invalid NRR<br />
|-<br />
| 0xA209 || 9 || 81 || Unaligned NRR address<br />
|-<br />
| 0xA409 || 9 || 82 || Bad NRR size<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 || Gamecard sysupdate not required<br />
|-<br />
| 0x1F610 || 16 || 251 || Unexpected StorageId<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 />
| 0x41A || 26 || 2 || Argument is invalid<br />
|-<br />
| 0xC81A || 26 || 100 || Incorrect buffer size<br />
|-<br />
| 0xCA1A || 26 || 101 || Unknown TZ error<br />
|-<br />
| 0xD01A || 26 || 104 || All AES engines busy<br />
|-<br />
| 0xD21A || 26 || 105 || Invalid AES engine-id<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 />
| 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 />
| 0xCC74 || 116 || 102 || Time not set<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 />
| 0x7BA74 || 116 || 989 || Entry not found<br />
|-<br />
| 0x7BC74 || 116 || 990 || Unimplemented functionality<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 />
| 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 />
| 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 IStorage size (negative?)<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 />
| 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 />
| 0x4B080 || 128 || 600 || Failed to allocate memory for IStorage<br />
|-<br />
| 0x59080 || 128 || 712 || Thread stack pool exhausted (out of memory)<br />
|-<br />
| 0x7A880 || 128 || 980 || <code>am.debug!dev_function</code> setting needs to be set<br />
|-<br />
| 0xA83 || 131 || 5 || Unrecognized applet ID<br />
|-<br />
| 0x485 || 133 || 2 || Invalid DVFS table ID<br />
|-<br />
| 0x885 || 133 || 4 || Invalid parameter<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 />
| 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 />
| 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 />
| 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 />
| 0x58ACA || 202 || 709 || Npad ID is out of range.<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 />
| 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 />
<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 />
| 0x7802 || 60 || Error: Specified mount name already exists.<br />
|-<br />
| 0xD401 || 106 || Error: Passed buffer is not usable for fs library.<br />
|-<br />
| 0x7D202 || 1001 || Error: Specified partition is not found.<br />
|-<br />
| 0x7D402 || 1002 || Error: Specified target is not found.<br />
|-<br />
| 0xFA002 - 0x138602 || 2000 - 2499 || Error: Failed to access SD card.<br />
|-<br />
| 0x136802 - 0x176E02 || 2500 - 2999 || Error: Failed to access game card.<br />
|-<br />
| 0x177202 || 3001 || Error: Specified operation is not implemented.<br />
|-<br />
| 0x177A02 || 3005 || Error: Specified value is out of range.<br />
|-<br />
| 0x1B5802 - 0x1F3E02 || 3500 - 3999 || Error: Failed to access MMC.<br />
|-<br />
| 0x1F4202 - 0x219602 || 4001 - 4299 || Error: ROM is corrupted.<br />
|-<br />
| 0x219A02 - 0x232602 || 4301 - 4499 || Error: Save data is corrupted.<br />
|-<br />
| 0x232A02 - 0x23EE02 || 4501 - 4599 || Error: NCA is corrupted.<br />
|-<br />
| 0x23F202 - 0x243E02 || 4601 - 4639 || Error: Integrity verification failed.<br />
|-<br />
| 0x244202 - 0x246602 || 4641 - 4659 || Error: Partition FS is corrupted.<br />
|-<br />
| 0x246A02 - 0x248E02 || 4661 - 4679 || Error: Built-in-storage is corrupted.<br />
|-<br />
| 0x249202 - 0x24B602 || 4681 - 4699 || Error: FAT FS is corrupted.<br />
|-<br />
| 0x24BA02 - 0x24DE02 || 4701 - 4719 || Error: HOST FS is corrupted.<br />
|-<br />
| 0x1F4002 - 0x270E02 || 4000, 4300, 4500, 4600, 4640, 4660, 4680, 4700, 4720-4999 || Error: Data is corrupted.<br />
|-<br />
| 0x271002 - 0x2EDE02 || 5000-5999 || Error: Unexpected failure occurred.<br />
|-<br />
| 0x2EE402 - 0x2F1A02 || 6002-6029 || Error: Invalid path was specified.<br />
|-<br />
| 0x2F5A02 || 6061 || Error: Invalid offset was specified.<br />
|-<br />
| 0x2F5C02 || 6062 || Error: Invalid size was specified.<br />
|-<br />
| 0x2F5E02 || 6063 || Error: Null pointer argument was specified.<br />
|-<br />
| 0x2EE002 || 6000 || Error: Precondition violation.<br />
|-<br />
| 0x2EE202 - 0x306E02 || 6001-6199 || Error: Invalid argument was specified.<br />
|-<br />
| 0x307202 || 6201 || Error: OpenMode_AllowAppend is required for implicit extension of file size by WriteFile().<br />
|-<br />
| 0x307002 - 0x313602 || 6200, 6202 - 6299 || Error: Invalid operation for the open mode.<br />
|-<br />
| 0x313802 - 0x31FE02 || 6300-6399 || Error: Unsupported operation.<br />
|-<br />
| 0x320002 - 0x32C602 || 6400-6499 || Error: Permission denied.<br />
|-<br />
| 0x346402 || 6706 || Error: Enough journal space is not left.<br />
|-<br />
| 0x346A02 || 6709 || Error: The open count of files and directories reached the limitation.<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 />
== Support Modules ==<br />
{| class=wikitable<br />
! Value || Name<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 />
== Errors ==<br />
{| class=wikitable<br />
! Error || 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.</div>
Ac K
https://switchbrew.org/w/index.php?title=Error_codes&diff=6691
Error codes
2019-04-20T01:39:49Z
<p>Ac K: </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 />
= 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 || Sockets<br />
|-<br />
| 18 || HTC<br />
|-<br />
| 20 || NCM Content<br />
|-<br />
| 21 || SM<br />
|-<br />
| 22 || RO userland<br />
|-<br />
| 24 || SDMMC<br />
|-<br />
| 25 || OVLN<br />
|-<br />
| 26 || SPL<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 />
| 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 || EC (Shop)<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 HTTP Stream<br />
|-<br />
| 157 || ARP<br />
|-<br />
| 158 || Boot<br />
|-<br />
| 159 || SWKBD<br />
|-<br />
| 161 || NFC Mifare<br />
|-<br />
| 162 || Userland assert<br />
|-<br />
| 163 || Fatal<br />
|-<br />
| 164 || NIM Shop<br />
|-<br />
| 165 || SPSM<br />
|-<br />
| 167 || BGTC<br />
|-<br />
| 168 || Userland crash<br />
|-<br />
| 178 || PDM<br />
|-<br />
| 179 || OLSC<br />
|-<br />
| 180 || SREPO<br />
|-<br />
| 181 || Dauth<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 ||<br />
|-<br />
| 212 || GRC<br />
|-<br />
| 216 || Migration<br />
|-<br />
| 217 || Migration Idc Server<br />
|-<br />
| 345 || libnx<br />
|-<br />
| 346 || [[Homebrew ABI]]<br />
|-<br />
| 347 || Homebrew Loader<br />
|-<br />
| 348 || libnx Nvidia errors<br />
|-<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 || Process already started/Wrong memory permission?<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 || The specified [[NCA]]-type doesn't exist for this title.<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 />
| 0x13DA02 || 2 || 2541 || Version check failed when mounting gamecard sysupdate partition?<br />
|-<br />
| 0x171402 || 2 || 2954 || Invalid gamecard handle.<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 />
| 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 />
| 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 />
| 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 />
| 0x19009 || 9 || 200 || Invalid access control sizes in NPDM.<br />
|-<br />
| 0x809 || 9 || 4 || Invalid NPDM.<br />
|-<br />
| 0xA09 || 9 || 5 || Invalid files.<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 />
| 0x6609 || 9 || 51 || Invalid memory state/permission<br />
|-<br />
| 0x6A09 || 9 || 53 || Invalid NRR<br />
|-<br />
| 0xA209 || 9 || 81 || Unaligned NRR address<br />
|-<br />
| 0xA409 || 9 || 82 || Bad NRR size<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 || Gamecard sysupdate not required<br />
|-<br />
| 0x1F610 || 16 || 251 || Unexpected StorageId<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 />
| 0x41A || 26 || 2 || Argument is invalid<br />
|-<br />
| 0xC81A || 26 || 100 || Incorrect buffer size<br />
|-<br />
| 0xCA1A || 26 || 101 || Unknown TZ error<br />
|-<br />
| 0xD01A || 26 || 104 || All AES engines busy<br />
|-<br />
| 0xD21A || 26 || 105 || Invalid AES engine-id<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 />
| 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 />
| 0xCC74 || 116 || 102 || Time not set<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 />
| 0x7BA74 || 116 || 989 || Entry not found<br />
|-<br />
| 0x7BC74 || 116 || 990 || Unimplemented functionality<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 />
| 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 />
| 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 IStorage size (negative?)<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 />
| 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 />
| 0x4B080 || 128 || 600 || Failed to allocate memory for IStorage<br />
|-<br />
| 0x59080 || 128 || 712 || Thread stack pool exhausted (out of memory)<br />
|-<br />
| 0x7A880 || 128 || 980 || <code>am.debug!dev_function</code> setting needs to be set<br />
|-<br />
| 0xA83 || 131 || 5 || Unrecognized applet ID<br />
|-<br />
| 0x485 || 133 || 2 || Invalid DVFS table ID<br />
|-<br />
| 0x885 || 133 || 4 || Invalid parameter<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 />
| 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 />
| 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 />
| 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 />
| 0xF0CD || 205 || 120 || IR image data not available/ready.<br />
|-<br />
| 0x1A8CD || 205 || 212 || IR camera handle pointer is null.<br />
|-<br />
| 0x58ACA || 205 || 709 || NpadId is out of range.<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 />
<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 />
| 0x7802 || 60 || Error: Specified mount name already exists.<br />
|-<br />
| 0xD401 || 106 || Error: Passed buffer is not usable for fs library.<br />
|-<br />
| 0x7D202 || 1001 || Error: Specified partition is not found.<br />
|-<br />
| 0x7D402 || 1002 || Error: Specified target is not found.<br />
|-<br />
| 0xFA002 - 0x138602 || 2000 - 2499 || Error: Failed to access SD card.<br />
|-<br />
| 0x136802 - 0x176E02 || 2500 - 2999 || Error: Failed to access game card.<br />
|-<br />
| 0x177202 || 3001 || Error: Specified operation is not implemented.<br />
|-<br />
| 0x177A02 || 3005 || Error: Specified value is out of range.<br />
|-<br />
| 0x1B5802 - 0x1F3E02 || 3500 - 3999 || Error: Failed to access MMC.<br />
|-<br />
| 0x1F4202 - 0x219602 || 4001 - 4299 || Error: ROM is corrupted.<br />
|-<br />
| 0x219A02 - 0x232602 || 4301 - 4499 || Error: Save data is corrupted.<br />
|-<br />
| 0x232A02 - 0x23EE02 || 4501 - 4599 || Error: NCA is corrupted.<br />
|-<br />
| 0x23F202 - 0x243E02 || 4601 - 4639 || Error: Integrity verification failed.<br />
|-<br />
| 0x244202 - 0x246602 || 4641 - 4659 || Error: Partition FS is corrupted.<br />
|-<br />
| 0x246A02 - 0x248E02 || 4661 - 4679 || Error: Built-in-storage is corrupted.<br />
|-<br />
| 0x249202 - 0x24B602 || 4681 - 4699 || Error: FAT FS is corrupted.<br />
|-<br />
| 0x24BA02 - 0x24DE02 || 4701 - 4719 || Error: HOST FS is corrupted.<br />
|-<br />
| 0x1F4002 - 0x270E02 || 4000, 4300, 4500, 4600, 4640, 4660, 4680, 4700, 4720-4999 || Error: Data is corrupted.<br />
|-<br />
| 0x271002 - 0x2EDE02 || 5000-5999 || Error: Unexpected failure occurred.<br />
|-<br />
| 0x2EE402 - 0x2F1A02 || 6002-6029 || Error: Invalid path was specified.<br />
|-<br />
| 0x2F5A02 || 6061 || Error: Invalid offset was specified.<br />
|-<br />
| 0x2F5C02 || 6062 || Error: Invalid size was specified.<br />
|-<br />
| 0x2F5E02 || 6063 || Error: Null pointer argument was specified.<br />
|-<br />
| 0x2EE002 || 6000 || Error: Precondition violation.<br />
|-<br />
| 0x2EE202 - 0x306E02 || 6001-6199 || Error: Invalid argument was specified.<br />
|-<br />
| 0x307202 || 6201 || Error: OpenMode_AllowAppend is required for implicit extension of file size by WriteFile().<br />
|-<br />
| 0x307002 - 0x313602 || 6200, 6202 - 6299 || Error: Invalid operation for the open mode.<br />
|-<br />
| 0x313802 - 0x31FE02 || 6300-6399 || Error: Unsupported operation.<br />
|-<br />
| 0x320002 - 0x32C602 || 6400-6499 || Error: Permission denied.<br />
|-<br />
| 0x346402 || 6706 || Error: Enough journal space is not left.<br />
|-<br />
| 0x346A02 || 6709 || Error: The open count of files and directories reached the limitation.<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 />
== Support Modules ==<br />
{| class=wikitable<br />
! Value || Name<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 />
== Errors ==<br />
{| class=wikitable<br />
! Error || 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.</div>
Ac K