Settings services: Difference between revisions

No edit summary
No edit summary
 
(28 intermediate revisions by 4 users not shown)
Line 61: Line 61:


== GetKeyCodeMap ==
== GetKeyCodeMap ==
Takes a type-0x16 output buffer containing KeyCodeMap, official sw uses fixed size 0x1000. This is probably related to HID keyboard.
Takes a type-0x16 output buffer containing KeyCodeMap, official sw uses fixed size 0x1000. This is related to the USB HID keyboard.
 
The returned buffer consists of a 0x20-byte header followed by an array of key mapping structures.
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Magic number? (0x01000001)
|-
| 0x4 || 0x4 || Entry count per key (3 for US English, 4 for German as it includes AltGr mappings)
|-
| 0x8 || 0x4 || Map count
|-
| 0xC || 0x4 || Layout ID (e.g. 3 = German QWERTZ)
|-
| 0x10 || 0x10 || Reserved
|-
| 0x20 || 0x8 * MapCount || Array of <code>KeyMapEntry</code> structures. Indexed by the standard USB HID Usage ID (Keyboard/Keypad page 0x07).
|-
| ... || ... || Padding (remaining space up to 0x1000)
|}
 
=== KeyMapEntry ===
Structure defining the output characters and modifier behaviors for a single physical key. Size may vary depending on the symbol count per key.
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x2 || Normal char: UTF-16 code point when no modifiers are pressed. Dead keys map directly to Unicode combining characters (like U+0301 for combining acute accent).
|-
| 0x2 || 0x2 || Flags: Bitmask for character behavior and modifier rules.
|-
| 0x4 || 0x2 || Shift char: UTF-16 code point emitted when Shift is held.
|-
| 0x6 || 0x2 || AltGr char: UTF-16 code point emitted when AltGr is held (only included if the 'entry count per key' = 4)
|}
 
The Flags field changes how state changes are handled (like Caps Lock or NumLock) for that specific code point:
* 0x1001: Standard character. Uses standard Shift and Caps Lock rules.
* 0x1000: Static/dead character (e.g., Space).
* 0x20FF: Keypad modifier. State influenced by NumLock.


== GetFirmwareVersionForDebug ==
== GetFirmwareVersionForDebug ==
Line 96: Line 138:
|-
|-
| 23 || [9.0.0+] SetMemoryUsageRateFlag
| 23 || [9.0.0+] SetMemoryUsageRateFlag
|-
| 24 || [20.0.0+] CommitSettings
|-
| 27 || [21.0.0+] SetHttpAuthConfigs
|}
|}


Line 119: Line 165:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || [[#GetBluetoothBdAddress]]
| 0 || [S1] [[#GetBluetoothBdAddress]]
|-
|-
| 1 || [[#GetConfigurationId1]]
| 1 || [[#GetConfigurationId1]]
|-
|-
| 2 || [[#GetAccelerometerOffset]]
| 2 || [S1] [[#GetAccelerometerOffset]]
|-
|-
| 3 || [[#GetAccelerometerScale]]
| 3 || [S1] [[#GetAccelerometerScale]]
|-
|-
| 4 || [[#GetGyroscopeOffset]]
| 4 || [S1] [[#GetGyroscopeOffset]]
|-
|-
| 5 || [[#GetGyroscopeScale]]
| 5 || [S1] [[#GetGyroscopeScale]]
|-
|-
| 6 || [[#GetWirelessLanMacAddress]]
| 6 || [[#GetWirelessLanMacAddress]]
|-
|-
| 7 || [[#GetWirelessLanCountryCodeCount]]
| 7 || [S1] [[#GetWirelessLanCountryCodeCount]]
|-
|-
| 8 || [[#GetWirelessLanCountryCodes]]
| 8 || [S1] [[#GetWirelessLanCountryCodes]]
|-
|-
| 9 || [[#GetSerialNumber]]
| 9 || [[#GetSerialNumber]]
|-
|-
| 10 || [[#SetInitialSystemAppletProgramId]]
| 10 || [S1] [[#SetInitialSystemAppletProgramId]]
|-
|-
| 11 || [[#SetOverlayDispProgramId]]
| 11 || [S1] [[#SetOverlayDispProgramId]]
|-
|-
| 12 || [[#GetBatteryLot]]
| 12 || [[#GetBatteryLot]]
|-
|-
| 14 || [[#GetEciDeviceCertificate]]
| 14 || [S1] [[#GetEciDeviceCertificate]]
|-
| 15 || [S1] [[#GetEticketDeviceCertificate]]
|-
|-
| 15 || [[#GetEticketDeviceCertificate]]
| 16 || [S1] [[#GetSslKey]]
|-
|-
| 16 || [[#GetSslKey]]
| 17 || [S1] [[#GetSslCertificate]]
|-
|-
| 17 || [[#GetSslCertificate]]
| 18 || [S1] [[#GetGameCardKey]]
|-
|-
| 18 || [[#GetGameCardKey]]
| 19 || [S1] [[#GetGameCardCertificate]]
|-
|-
| 19 || [[#GetGameCardCertificate]]
| 20 || [S1] [[#GetEciDeviceKey]]
|-
|-
| 20 || [[#GetEciDeviceKey]]
| 21 || [S1] [[#GetEticketDeviceKey]]
|-
|-
| 21 || [[#GetEticketDeviceKey]]
| 22 || [S1] [[#GetSpeakerParameter]]
|-
|-
| 22 || [[#GetSpeakerParameter]]
| 23 || [S1] [4.0.0+] [[#GetLcdVendorId]]
|-
|-
| 23 || [4.0.0+] [[#GetLcdVendorId]]
| 24 || [S1] [5.0.0+] [[#GetEciDeviceCertificate2]]
|-
|-
| 24 || [5.0.0+] [[#GetEciDeviceCertificate2]]
| 25 || [S1] [5.0.0+] [[#GetEciDeviceKey2]]
|-
|-
| 25 || [5.0.0+] [[#GetEciDeviceKey2]]
| 26 || [S1] [5.0.0+] [[#GetAmiiboKey]]
|-
|-
| 26 || [5.0.0+] [[#GetAmiiboKey]]
| 27 || [S1] [5.0.0+] [[#GetAmiiboEcqvCertificate]]
|-
|-
| 27 || [5.0.0+] [[#GetAmiiboEcqvCertificate]]
| 28 || [S1] [5.0.0+] [[#GetAmiiboEcdsaCertificate]]
|-
|-
| 28 || [5.0.0+] [[#GetAmiiboEcdsaCertificate]]
| 29 || [S1] [5.0.0+] [[#GetAmiiboEcqvBlsKey]]
|-
|-
| 29 || [5.0.0+] [[#GetAmiiboEcqvBlsKey]]
| 30 || [S1] [5.0.0+] [[#GetAmiiboEcqvBlsCertificate]]
|-
|-
| 30 || [5.0.0+] [[#GetAmiiboEcqvBlsCertificate]]
| 31 || [S1] [5.0.0+] [[#GetAmiiboEcqvBlsRootCertificate]]
|-
|-
| 31 || [5.0.0+] [[#GetAmiiboEcqvBlsRootCertificate]]
| 32 || [S1] [5.0.0+] [[#GetUsbTypeCPowerSourceCircuitVersion]]
|-
|-
| 32 || [5.0.0+] [[#GetUsbTypeCPowerSourceCircuitVersion]]
| 33 || [S1] [8.1.1+] [[#GetAnalogStickModuleTypeL]]
|-
|-
| 33 || [8.1.1+] [[#GetAnalogStickModuleTypeL]]
| 34 || [S1] [8.1.1+] [[#GetAnalogStickModelParameterL]]
|-
|-
| 34 || [8.1.1+] [[#GetAnalogStickModelParameterL]]
| 35 || [S1] [8.1.1+] [[#GetAnalogStickFactoryCalibrationL]]
|-
|-
| 35 || [8.1.1+] [[#GetAnalogStickFactoryCalibrationL]]
| 36 || [S1] [8.1.1+] [[#GetAnalogStickModuleTypeR]]
|-
|-
| 36 || [8.1.1+] [[#GetAnalogStickModuleTypeR]]
| 37 || [S1] [8.1.1+] [[#GetAnalogStickModelParameterR]]
|-
|-
| 37 || [8.1.1+] [[#GetAnalogStickModelParameterR]]
| 38 || [S1] [8.1.1+] [[#GetAnalogStickFactoryCalibrationR]]
|-
|-
| 38 || [8.1.1+] [[#GetAnalogStickFactoryCalibrationR]]
| 39 || [S1] [8.1.1+] [[#GetConsoleSixAxisSensorModuleType]]
|-
|-
| 39 || [8.1.1+] [[#GetConsoleSixAxisSensorModuleType]]
| 40 || [S1] [8.1.1+] [[#GetConsoleSixAxisSensorHorizontalOffset]]
|-
|-
| 40 || [8.1.1+] [[#GetConsoleSixAxisSensorHorizontalOffset]]
| 41 || [S1] [6.0.0+] [[#GetBatteryVersion]]
|-
|-
| 41 || [6.0.0+] [[#GetBatteryVersion]]
| 42 || [S1] [10.0.0+] [[#GetDeviceId]]
|-
|-
| 42 || [10.0.0+] [[#GetDeviceId]]
| 43 || [S1] [10.0.0+] [[#GetConsoleSixAxisSensorMountType]]
|-
|-
| 43 || [10.0.0+] [[#GetConsoleSixAxisSensorMountType]]
| 44 || [S2] GetCpDeviceKeyFileSize
|}
|-
 
| 45 || [S2] GetCpDeviceKeyFile
Used for accessing data [[Calibration|calibrated]] at the factory.
|-
 
| 46 || [S2] GetCpCertificateFileSize
== GetBluetoothBdAddress ==
|-
No input. Returns a [[#BdAddress]].
| 47 || [S2] GetCpCertificateFile
 
|-
== GetConfigurationId1 ==
| 48 || [S2] GetRaCertificateFileSize
No input. Returns a [[#ConfigurationId1]].
|-
 
| 49 || [S2] GetRaCertificateFile
== GetAccelerometerOffset ==
|-
No input. Returns a [[#AccelerometerOffset]].
| 50 || [S2] GetRaOemEkFileSize
 
|-
== GetAccelerometerScale ==
| 51 || [S2] GetRaOemEkFile
No input. Returns a [[#AccelerometerScale]].
|-
 
| 52 || [S2] GetRaPkaKekFileSize
== GetGyroscopeOffset ==
|-
No input. Returns a [[#GyroscopeOffset]].
| 53 || [S2] GetRaPkaKekFile
 
|-
== GetGyroscopeScale ==
| 54 || [S2] GetGcNxPkKekFileSize
No input. Returns a [[#GyroscopeScale]].
|-
 
| 55 || [S2] GetGcNxPkKekFile
== GetWirelessLanMacAddress ==
|-
No input. Returns a [[#MacAddress]].
| 56 || [S2] GetGcUniqueImportKeyFileSize
 
|-
== GetWirelessLanCountryCodeCount ==
| 57 || [S2] GetGcUniqueImportKeyFile
No input. Returns a s32 '''OutCount'''.
|-
 
| 58 || [S2] GetGcUniqueEncryptionKeyFileSize
== GetWirelessLanCountryCodes ==
|-
Takes a type-0x16 output buffer containing an array of [[#CountryCode]]. Returns a s32 '''OutCount'''.
| 59 || [S2] GetGcUniqueEncryptionKeyFile
 
|-
== GetSerialNumber ==
| 60 || [S2] GetGcCertificateFileSize
No input. Returns a [[#SerialNumber]].
|-
 
| 61 || [S2] GetGcCertificateFile
== SetInitialSystemAppletProgramId ==
|-
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output.
| 62 || [S2] GetGcUniqueKeyAFileSize
 
|-
== SetOverlayDispProgramId ==
| 63 || [S2] GetGcUniqueKeyAFile
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output.
|-
 
| 64 || [S2] GetGcUniqueKeyBFileSize
== GetBatteryLot ==
|-
No input. Returns a [[#BatteryLot]].
| 65 || [S2] GetGcUniqueKeyBFile
 
|-
== GetEciDeviceCertificate ==
| 66 || [S2] GetGcNxKeyFileSize
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate]]. No output.
|-
 
| 67 || [S2] GetGcNxKeyFile
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this.
|-
 
| 68 || [S2] GetGcNxCertificateFileSize
== GetEticketDeviceCertificate ==
|-
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate]]. No output.
| 69 || [S2] GetGcNxCertificateFile
 
|-
Returns the ETicket certificate (RSA signed).
| 70 || [S2] GetWirelessLanRegulatoryDomain
 
|-
== GetSslKey ==
| 71 || [S2] GetDeviceId
Takes a type-0x16 output buffer containing a [[#SslKey]]. No output.
|-
 
| 72 || [S2] GetBluetoothBdAddressSet
Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes).
|-
 
| 73 || [S2] GetToolModel
Used by SSL-sysmodule, see [[SSL_services|here]].
|-
 
| 74 || [S2] IsRadioForbidden
== GetSslCertificate ==
|-
Takes a type-0x16 output buffer containing a [[#SslCertificate]]. No output.
| 75 || [S2] GetDisplayModuleId
|-
| 76 || [S2] GetAnalogStickModuleTypeL
|-
| 77 || [S2] GetAnalogStickModelParameterL
|-
| 78 || [S2] GetAnalogStickFactoryCalibrationL
|-
| 79 || [S2] GetAnalogStickModuleTypeR
|-
| 80 || [S2] GetAnalogStickModelParameterR
|-
| 81 || [S2] GetAnalogStickFactoryCalibrationR
|-
| 82 || [S2] GetConsoleSixAxisSensorModuleType
|-
| 83 || [S2] GetConsoleSixAxisSensorMountType
|-
| 84 || [S2] GetConsoleSixAxisSensorFactoryCalibration
|-
| 85 || [S2] GetOta0DeviceKeyFileSize
|-
| 86 || [S2] GetOta0DeviceKeyFile
|-
| 87 || [S2] GetOta0CertificateFileSize
|-
| 88 || [S2] GetOta0CertificateFile
|-
| 89 || [S2] GetOta1DeviceKeyFileSize
|-
| 90 || [S2] GetOta1DeviceKeyFile
|-
| 91 || [S2] GetOta1CertificateFileSize
|-
| 92 || [S2] GetOta1CertificateFile
|-
| 93 || [S2] GetOta2DeviceKeyFileSize
|-
| 94 || [S2] GetOta2DeviceKeyFile
|-
| 95 || [S2] GetOta2CertificateFileSize
|-
| 96 || [S2] GetOta2CertificateFile
|-
| 97 || [S2] GetJc0CertificateFileSize
|-
| 98 || [S2] GetJc0CertificateFile
|-
| 99 || [S2] GetJc0PrivateKeyFileSize
|-
| 100 || [S2] GetJc0PrivateKeyFile
|-
| 101 || [S2] GetJc0PkKekFileSize
|-
| 102 || [S2] GetJc0PkKekFile
|-
| 103 || [S2] GetJc1CertificateFileSize
|-
| 104 || [S2] GetJc1CertificateFile
|-
| 105 || [S2] GetJc1PrivateKeyFileSize
|-
| 106 || [S2] GetJc1PrivateKeyFile
|-
| 107 || [S2] GetJc1PkKekFileSize
|-
| 108 || [S2] GetJc1PkKekFile
|-
| 109 || [S2] GetWirelessLanPowerTable
|-
| 110 || [S2] GetConsoleSixAxisSensorFactoryAccelerationLog
|-
| 111 || [S2] GetDrmCertificateFileSize
|-
| 112 || [S2] GetDrmCertificateFile
|-
| 113 || [S2] GetCalibrationTimeStampUtc
|-
| 114 || [S2] GetEncryptedSecretDeviceIdFileSize
|-
| 115 || [S2] GetEncryptedSecretDeviceIdFile
|-
| 116 || [S2] GetEncryptedSecretDeviceIdEncryptionKeyFileSize
|-
| 117 || [S2] GetEncryptedSecretDeviceIdEncryptionKeyFile
|-
| 118 || [S2]
|-
| 119 || [22.0.0+] GetRegionCode
|}


Used by SSL-sysmodule, see [[SSL_services|here]].
Used for accessing data [[Calibration|calibrated]] at the factory.


== GetGameCardKey ==
== GetBluetoothBdAddress ==
Takes a type-0x16 output buffer containing a [[#GameCardKey]]. No output.
No input. Returns a [[#BdAddress|BdAddress]].


Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes).
== GetConfigurationId1 ==
No input. Returns a [[#ConfigurationId1|ConfigurationId1]].


== GetGameCardCertificate ==
== GetAccelerometerOffset ==
Takes a type-0x16 output buffer containing a [[#GameCardCertificate]]. No output.
No input. Returns a [[#AccelerometerOffset|AccelerometerOffset]].


== GetEciDeviceKey ==
== GetAccelerometerScale ==
No input. Returns an [[#EccB233DeviceKey]].
No input. Returns a [[#AccelerometerScale|AccelerometerScale]].


Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes).
== GetGyroscopeOffset ==
No input. Returns a [[#GyroscopeOffset|GyroscopeOffset]].


== GetEticketDeviceKey ==
== GetGyroscopeScale ==
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey]]. No output.
No input. Returns a [[#GyroscopeScale|GyroscopeScale]].


Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes).
== GetWirelessLanMacAddress ==
No input. Returns a [[#MacAddress|MacAddress]].


== GetSpeakerParameter ==
== GetWirelessLanCountryCodeCount ==
No input. Returns a [[#SpeakerParameter]].
No input. Returns a s32 '''OutCount'''.


== GetLcdVendorId ==
== GetWirelessLanCountryCodes ==
No input. Returns a [[#LcdVendorId]].
Takes a type-0x16 output buffer containing an array of [[#CountryCode|CountryCode]]. Returns a s32 '''OutCount'''.  


== GetEciDeviceCertificate2 ==
== GetSerialNumber ==
Same as [[#GetEciDeviceCertificate]], but returns a [[#Rsa2048DeviceCertificate|RSA-2048]] variant of the device certificate.
No input. Returns a [[#SerialNumber|SerialNumber]].


== GetEciDeviceKey2 ==
== SetInitialSystemAppletProgramId ==
Same as [[#GetEciDeviceKey]], but returns a [[#Rsa2048DeviceKey|RSA-2048]] variant of the device key.
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output.


== GetAmiiboKey ==
== SetOverlayDispProgramId ==
No input. Returns an [[#AmiiboKey]].
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output.


== GetAmiiboEcqvCertificate ==
== GetBatteryLot ==
No input. Returns an [[#AmiiboEcqvCertificate]].
No input. Returns a [[#BatteryLot|BatteryLot]].


== GetAmiiboEcdsaCertificate ==
== GetEciDeviceCertificate ==
No input. Returns an [[#AmiiboEcdsaCertificate]].
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate|EccB233DeviceCertificate]]. No output.


== GetAmiiboEcqvBlsKey ==
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this.
No input. Returns an [[#AmiiboEcqvBlsKey]].


== GetAmiiboEcqvBlsCertificate ==
== GetEticketDeviceCertificate ==
No input. Returns an [[#AmiiboEcqvBlsCertificate]].
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate|Rsa2048DeviceCertificate]]. No output.


== GetAmiiboEcqvBlsRootCertificate ==
Returns the ETicket certificate (RSA signed).
No input. Returns an [[#AmiiboEcqvBlsRootCertificate]].


== GetUsbTypeCPowerSourceCircuitVersion ==
== GetSslKey ==
No input. Returns an [[#UsbTypeCPowerSourceCircuitVersion]].
Takes a type-0x16 output buffer containing a [[#SslKey|SslKey]]. No output.


== GetAnalogStickModuleTypeL ==
Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes).
No input. Returns an [[#AnalogStickModuleType]].


== GetAnalogStickModelParameterL ==
Used by SSL-sysmodule, see [[SSL_services|here]].
No input. Returns an [[#AnalogStickModelParameter]].


== GetAnalogStickFactoryCalibrationL ==
== GetSslCertificate ==
No input. Returns an [[#AnalogStickFactoryCalibration]].
Takes a type-0x16 output buffer containing a [[#SslCertificate|SslCertificate]]. No output.


== GetAnalogStickModuleTypeR ==
Used by SSL-sysmodule, see [[SSL_services|here]].
No input. Returns an [[#AnalogStickModuleType]].


== GetAnalogStickModelParameterR ==
== GetGameCardKey ==
No input. Returns an [[#AnalogStickModelParameter]].
Takes a type-0x16 output buffer containing a [[#GameCardKey|GameCardKey]]. No output.


== GetAnalogStickFactoryCalibrationR ==
Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes).
No input. Returns an [[#AnalogStickFactoryCalibration]].


== GetConsoleSixAxisSensorModuleType ==
== GetGameCardCertificate ==
No input. Returns a [[#ConsoleSixAxisSensorModuleType]].
Takes a type-0x16 output buffer containing a [[#GameCardCertificate|GameCardCertificate]]. No output.


== GetConsoleSixAxisSensorHorizontalOffset ==
== GetEciDeviceKey ==
No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset]].
No input. Returns an [[#EccB233DeviceKey|EccB233DeviceKey]].


== GetBatteryVersion ==
Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes).
No input. Returns a [[#BatteryVersion]].


== GetDeviceId ==
== GetEticketDeviceKey ==
No input. Returns an u64 '''DeviceId''' by reading and converting the hexadecimal string at offset 0xC6 inside [[#EccB233DeviceCertificate]] or [[#Rsa2048DeviceCertificate]].
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey|Rsa2048DeviceKey]]. No output.


== GetConsoleSixAxisSensorMountType ==
Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes).
No input. Returns a [[#ConsoleSixAxisSensorMountType]].


= set:sys =
== GetSpeakerParameter ==
This is "nn::settings::ISystemSettingsServer".
No input. Returns a [[#SpeakerParameter|SpeakerParameter]].
 
== GetLcdVendorId ==
No input. Returns a [[Calibration#LcdVendorId|LcdVendorId]].
 
== GetEciDeviceCertificate2 ==
Same as [[#GetEciDeviceCertificate]], but returns a [[#Rsa2048DeviceCertificate|RSA-2048]] variant of the device certificate.
 
== GetEciDeviceKey2 ==
Same as [[#GetEciDeviceKey]], but returns a [[#Rsa2048DeviceKey|RSA-2048]] variant of the device key.
 
== GetAmiiboKey ==
No input. Returns an [[#AmiiboKey|AmiiboKey]].
 
== GetAmiiboEcqvCertificate ==
No input. Returns an [[#AmiiboEcqvCertificate|AmiiboEcqvCertificate]].
 
== GetAmiiboEcdsaCertificate ==
No input. Returns an [[#AmiiboEcdsaCertificate|AmiiboEcdsaCertificate]].


{| class="wikitable" border="1"
== GetAmiiboEcqvBlsKey ==
|-
No input. Returns an [[#AmiiboEcqvBlsKey|AmiiboEcqvBlsKey]].
! Cmd || Name
 
|-
== GetAmiiboEcqvBlsCertificate ==
| 0 || [[#SetLanguageCode]]
No input. Returns an [[#AmiiboEcqvBlsCertificate|AmiiboEcqvBlsCertificate]].
|-
 
| 1 || SetNetworkSettings
== GetAmiiboEcqvBlsRootCertificate ==
|-
No input. Returns an [[#AmiiboEcqvBlsRootCertificate|AmiiboEcqvBlsRootCertificate]].
| 2 || GetNetworkSettings
 
|-
== GetUsbTypeCPowerSourceCircuitVersion ==
| 3 || [[#GetFirmwareVersion]]
No input. Returns an [[Calibration#UsbTypeCPowerSourceCircuit|UsbTypeCPowerSourceCircuitVersion]].
|-
 
| 4 || [3.0.0+] GetFirmwareVersion2
== GetAnalogStickModuleTypeL ==
|-
No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]].
| 5 || [5.0.0+] GetFirmwareVersionDigest
 
|-
== GetAnalogStickModelParameterL ==
| 7 || GetLockScreenFlag
No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]].
|-
 
| 8 || SetLockScreenFlag
== GetAnalogStickFactoryCalibrationL ==
|-
No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]].
| 9 || GetBacklightSettings
 
|-
== GetAnalogStickModuleTypeR ==
| 10 || SetBacklightSettings
No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]].
|-
 
| 11 || SetBluetoothDevicesSettings
== GetAnalogStickModelParameterR ==
|-
No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]].
| 12 || GetBluetoothDevicesSettings
 
|-
== GetAnalogStickFactoryCalibrationR ==
| 13 || GetExternalSteadyClockSourceId
No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]].
|-
 
| 14 || SetExternalSteadyClockSourceId
== GetConsoleSixAxisSensorModuleType ==
|-
No input. Returns a [[Calibration#ConsoleSixAxisSensorModuleType|ConsoleSixAxisSensorModuleType]].
| 15 || GetUserSystemClockContext
 
== GetConsoleSixAxisSensorHorizontalOffset ==
No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]].
 
== GetBatteryVersion ==
No input. Returns a [[Calibration#BatteryVersion|BatteryVersion]].
 
== GetDeviceId ==
No input. Returns an u64 '''DeviceId''' by reading and converting the hexadecimal string at offset 0xC6 inside [[#EccB233DeviceCertificate]] or [[#Rsa2048DeviceCertificate]].
 
== GetConsoleSixAxisSensorMountType ==
No input. Returns a [[Calibration#ConsoleSixAxisSensorMountType|ConsoleSixAxisSensorMountType]].
 
= set:sys =
This is "nn::settings::ISystemSettingsServer".
 
{| class="wikitable" border="1"
|-
|-
| 16 || SetUserSystemClockContext
! Cmd || Name
|-
|-
| 17 || [[#GetAccountSettings]]
| 0 || [[#SetLanguageCode]]
|-
|-
| 18 || [[#SetAccountSettings]]
| 1 || SetNetworkSettings
|-
|-
| 19 || GetAudioVolume
| 2 || GetNetworkSettings
|-
|-
| 20 || SetAudioVolume
| 3 || [S1] [[#GetFirmwareVersion]]
|-
|-
| 21 || [[#GetEulaVersions]]
| 4 || [3.0.0+] GetFirmwareVersion2
|-
|-
| 22 || [[#SetEulaVersions]]
| 5 || [S1] [5.0.0+] GetFirmwareVersionDigest
|-
| 7 || GetLockScreenFlag
|-
| 8 || SetLockScreenFlag
|-
| 9 || GetBacklightSettings
|-
| 10 || SetBacklightSettings
|-
| 11 || [S1] SetBluetoothDevicesSettings
|-
| 12 || [S1] GetBluetoothDevicesSettings
|-
| 13 || GetExternalSteadyClockSourceId
|-
| 14 || SetExternalSteadyClockSourceId
|-
| 15 || GetUserSystemClockContext
|-
| 16 || SetUserSystemClockContext
|-
| 17 || [[#GetAccountSettings]]
|-
| 18 || [[#SetAccountSettings]]
|-
| 19 || GetAudioVolume
|-
| 20 || SetAudioVolume
|-
| 21 || [[#GetEulaVersions]]
|-
| 22 || [[#SetEulaVersions]]
|-
|-
| 23 || [[#GetColorSetId]]
| 23 || [[#GetColorSetId]]
Line 408: Line 606:
| 24 || [[#SetColorSetId]]
| 24 || [[#SetColorSetId]]
|-
|-
| 25 || GetConsoleInformationUploadFlag
| 25 || [S1] GetConsoleInformationUploadFlag
|-
|-
| 26 || SetConsoleInformationUploadFlag
| 26 || [S1] SetConsoleInformationUploadFlag
|-
|-
| 27 || GetAutomaticApplicationDownloadFlag
| 27 || [S1] GetAutomaticApplicationDownloadFlag
|-
|-
| 28 || SetAutomaticApplicationDownloadFlag
| 28 || [S1] SetAutomaticApplicationDownloadFlag
|-
|-
| 29 || [[#GetNotificationSettings]]
| 29 || [[#GetNotificationSettings]]
Line 452: Line 650:
| 48 || SetQuestFlag
| 48 || SetQuestFlag
|-
|-
| 49 || [[#GetDataDeletionSettings]]
| 49 || [S1] [[#GetDataDeletionSettings]]
|-
|-
| 50 || [[#SetDataDeletionSettings]]
| 50 || [S1] [[#SetDataDeletionSettings]]
|-
|-
| 51 || GetInitialSystemAppletProgramId
| 51 || [S1] GetInitialSystemAppletProgramId
|-
|-
| 52 || GetOverlayDispProgramId
| 52 || [S1] GetOverlayDispProgramId
|-
|-
| 53 || GetDeviceTimeZoneLocationName
| 53 || [[#GetDeviceTimeZoneLocationName]]
|-
|-
| 54 || SetDeviceTimeZoneLocationName
| 54 || [[#SetDeviceTimeZoneLocationName]]
|-
|-
| 55 || [[#GetWirelessCertificationFileSize]]
| 55 || [S1] [[#GetWirelessCertificationFileSize]]
|-
|-
| 56 || [[#GetWirelessCertificationFile]]
| 56 || [S1] [[#GetWirelessCertificationFile]]
|-
|-
| 57 || [[#SetRegionCode]]
| 57 || [[#SetRegionCode]]
Line 484: Line 682:
| 64 || [[#SetPrimaryAlbumStorage]]
| 64 || [[#SetPrimaryAlbumStorage]]
|-
|-
| 65 || GetUsb30EnableFlag
| 65 || [S1] GetUsb30EnableFlag
|-
|-
| 66 || SetUsb30EnableFlag
| 66 || [S1] SetUsb30EnableFlag
|-
|-
| 67 || [[#GetBatteryLot]]
| 67 || [[#GetBatteryLot]]
Line 504: Line 702:
| 74 || SetWirelessLanEnableFlag
| 74 || SetWirelessLanEnableFlag
|-
|-
| 75 || [[#GetInitialLaunchSettings]]
| 75 || [S1] [[#GetInitialLaunchSettings]]
|-
|-
| 76 || [[#SetInitialLaunchSettings]]
| 76 || [S1] [[#SetInitialLaunchSettings]]
|-
|-
| 77 || [[#GetDeviceNickName]]
| 77 || [[#GetDeviceNickName]]
Line 514: Line 712:
| 79 || [[#GetProductModel]]
| 79 || [[#GetProductModel]]
|-
|-
| 80 || GetLdnChannel
| 80 || [S1] GetLdnChannel
|-
|-
| 81 || SetLdnChannel
| 81 || [S1] SetLdnChannel
|-
|-
| 82 || AcquireTelemetryDirtyFlagEventHandle
| 82 || AcquireTelemetryDirtyFlagEventHandle
Line 548: Line 746:
| 96 || [2.0.0+] SetAutoUpdateEnableFlag
| 96 || [2.0.0+] SetAutoUpdateEnableFlag
|-
|-
| 97 || [2.0.0+] GetNxControllerSettings
| 97 || [S1] [2.0.0+] GetNxControllerSettings
|-
|-
| 98 || [2.0.0+] SetNxControllerSettings
| 98 || [S1] [2.0.0+] SetNxControllerSettings
|-
|-
| 99 || [2.0.0+] GetBatteryPercentageFlag
| 99 || [2.0.0+] GetBatteryPercentageFlag
Line 556: Line 754:
| 100 || [2.0.0+] SetBatteryPercentageFlag
| 100 || [2.0.0+] SetBatteryPercentageFlag
|-
|-
| 101 || [2.0.0+] GetExternalRtcResetFlag
| 101 || [S1] [2.0.0+] GetExternalRtcResetFlag
|-
|-
| 102 || [2.0.0+] SetExternalRtcResetFlag
| 102 || [S1] [2.0.0+] SetExternalRtcResetFlag
|-
|-
| 103 || [3.0.0+] GetUsbFullKeyEnableFlag
| 103 || [3.0.0+] GetUsbFullKeyEnableFlag
Line 576: Line 774:
| 110 || [3.0.0+] SetHeadphoneVolumeWarningCount
| 110 || [3.0.0+] SetHeadphoneVolumeWarningCount
|-
|-
| 111 || [3.0.0+] GetBluetoothAfhEnableFlag
| 111 || [S1] [3.0.0+] GetBluetoothAfhEnableFlag
|-
|-
| 112 || [3.0.0+] SetBluetoothAfhEnableFlag
| 112 || [S1] [3.0.0+] SetBluetoothAfhEnableFlag
|-
|-
| 113 || [3.0.0+] GetBluetoothBoostEnableFlag
| 113 || [S1] [3.0.0+] GetBluetoothBoostEnableFlag
|-
|-
| 114 || [3.0.0+] SetBluetoothBoostEnableFlag
| 114 || [S1] [3.0.0+] SetBluetoothBoostEnableFlag
|-
|-
| 115 || [3.0.0+] GetInRepairProcessEnableFlag
| 115 || [3.0.0+] GetInRepairProcessEnableFlag
Line 588: Line 786:
| 116 || [3.0.0+] SetInRepairProcessEnableFlag
| 116 || [3.0.0+] SetInRepairProcessEnableFlag
|-
|-
| 117 || [3.0.0+] GetHeadphoneVolumeUpdateFlag
| 117 || [S1] [3.0.0+] GetHeadphoneVolumeUpdateFlag
|-
|-
| 118 || [3.0.0+] SetHeadphoneVolumeUpdateFlag
| 118 || [S1] [3.0.0+] SetHeadphoneVolumeUpdateFlag
|-
|-
| 119 || [3.0.0-14.1.2] NeedsToUpdateHeadphoneVolume
| 119 || [3.0.0-14.1.2] NeedsToUpdateHeadphoneVolume
Line 610: Line 808:
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]
|-
|-
| 128 || [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
| 128 || [S1] [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
|-
|-
| 129 || [4.0.0+] SetConsoleSixAxisSensorAccelerationBias
| 129 || [S1] [4.0.0+] SetConsoleSixAxisSensorAccelerationBias
|-
|-
| 130 || [4.0.0+] GetConsoleSixAxisSensorAngularVelocityBias
| 130 || [S1] [4.0.0+] GetConsoleSixAxisSensorAngularVelocityBias
|-
|-
| 131 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityBias
| 131 || [S1] [4.0.0+] SetConsoleSixAxisSensorAngularVelocityBias
|-
|-
| 132 || [4.0.0+] GetConsoleSixAxisSensorAccelerationGain
| 132 || [S1] [4.0.0+] GetConsoleSixAxisSensorAccelerationGain
|-
|-
| 133 || [4.0.0+] SetConsoleSixAxisSensorAccelerationGain
| 133 || [S1] [4.0.0+] SetConsoleSixAxisSensorAccelerationGain
|-
|-
| 134 || [4.0.0+] GetConsoleSixAxisSensorAngularVelocityGain
| 134 || [S1] [4.0.0+] GetConsoleSixAxisSensorAngularVelocityGain
|-
|-
| 135 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
| 135 || [S1] [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
|-
|-
| 136 || [4.0.0+] [[#GetKeyboardLayout]]
| 136 || [4.0.0+] [[#GetKeyboardLayout]]
Line 640: Line 838:
| 142 || [5.0.0+] SetRequiresRunRepairTimeReviser
| 142 || [5.0.0+] SetRequiresRunRepairTimeReviser
|-
|-
| 143 || [5.0.0+] SetBlePairingSettings
| 143 || [S1] [5.0.0+] SetBlePairingSettings
|-
|-
| 144 || [5.0.0+] GetBlePairingSettings
| 144 || [S1] [5.0.0+] GetBlePairingSettings
|-
|-
| 145 || [5.0.0+] GetConsoleSixAxisSensorAngularVelocityTimeBias
| 145 || [S1] [5.0.0+] GetConsoleSixAxisSensorAngularVelocityTimeBias
|-
|-
| 146 || [5.0.0+] SetConsoleSixAxisSensorAngularVelocityTimeBias
| 146 || [S1] [5.0.0+] SetConsoleSixAxisSensorAngularVelocityTimeBias
|-
|-
| 147 || [5.0.0+] GetConsoleSixAxisSensorAngularAcceleration
| 147 || [S1] [5.0.0+] GetConsoleSixAxisSensorAngularAcceleration
|-
|-
| 148 || [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
| 148 || [S1] [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
|-
|-
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]
Line 662: Line 860:
| 153 || [6.0.0+] SetUserSystemClockAutomaticCorrectionUpdatedTime
| 153 || [6.0.0+] SetUserSystemClockAutomaticCorrectionUpdatedTime
|-
|-
| 154 || [6.0.0+] GetAccountOnlineStorageSettings
| 154 || [S1] [6.0.0+] GetAccountOnlineStorageSettings
|-
|-
| 155 || [6.0.0+] SetAccountOnlineStorageSettings
| 155 || [S1] [6.0.0+] SetAccountOnlineStorageSettings
|-
|-
| 156 || [6.0.0+] GetPctlReadyFlag
| 156 || [S1] [6.0.0+] GetPctlReadyFlag
|-
|-
| 157 || [6.0.0+] SetPctlReadyFlag
| 157 || [S1] [6.0.0+] SetPctlReadyFlag
|-
|-
| 158 || [8.1.1+] GetAnalogStickUserCalibrationL
| 158 || [S1] [8.1.1+] GetAnalogStickUserCalibrationL
|-
|-
| 159 || [8.1.1+] SetAnalogStickUserCalibrationL
| 159 || [S1] [8.1.1+] SetAnalogStickUserCalibrationL
|-
|-
| 160 || [8.1.1+] GetAnalogStickUserCalibrationR
| 160 || [S1] [8.1.1+] GetAnalogStickUserCalibrationR
|-
|-
| 161 || [8.1.1+] SetAnalogStickUserCalibrationR
| 161 || [S1] [8.1.1+] SetAnalogStickUserCalibrationR
|-
|-
| 162 || [6.0.0+] GetPtmBatteryVersion
| 162 || [6.0.0+] GetPtmBatteryVersion
Line 690: Line 888:
| 167 || [6.0.0+] SetUsb30DeviceEnableFlag
| 167 || [6.0.0+] SetUsb30DeviceEnableFlag
|-
|-
| 168 || [7.0.0+] GetThemeId
| 168 || [S1] [7.0.0+] GetThemeId
|-
|-
| 169 || [7.0.0+] SetThemeId
| 169 || [S1] [7.0.0+] SetThemeId
|-
|-
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]
Line 704: Line 902:
| 174 || [8.1.1+] [[#GetHomeMenuScheme]]
| 174 || [8.1.1+] [[#GetHomeMenuScheme]]
|-
|-
| 175 || [7.0.0+] GetThemeSettings
| 175 || [S1] [7.0.0+] GetThemeSettings
|-
|-
| 176 || [7.0.0+] SetThemeSettings
| 176 || [S1] [7.0.0+] SetThemeSettings
|-
|-
| 177 || [7.0.0+] GetThemeKey
| 177 || [S1] [7.0.0+] GetThemeKey
|-
|-
| 178 || [7.0.0+] SetThemeKey
| 178 || [S1] [7.0.0+] SetThemeKey
|-
|-
| 179 || [8.0.0+] GetZoomFlag
| 179 || [8.0.0+] GetZoomFlag
Line 716: Line 914:
| 180 || [8.0.0+] SetZoomFlag
| 180 || [8.0.0+] SetZoomFlag
|-
|-
| 181 || [8.0.0+] [[#GetT]]
| 181 || [S1] [8.0.0+] [[#GetT]]
|-
|-
| 182 || [8.0.0+] [[#SetT]]
| 182 || [S1] [8.0.0+] [[#SetT]]
|-
|-
| 183 || [9.0.0+] [[#GetPlatformRegion]]
| 183 || [9.0.0+] [[#GetPlatformRegion]]
Line 728: Line 926:
| 186 || [9.0.0+] [[#GetMemoryUsageRateFlag]]
| 186 || [9.0.0+] [[#GetMemoryUsageRateFlag]]
|-
|-
| 187 || [9.0.0+] [[#GetTouchScreenMode]]
| 187 || [S1] [9.0.0+] [[#GetTouchScreenMode]]
|-
|-
| 188 || [9.0.0+] [[#SetTouchScreenMode]]
| 188 || [S1] [9.0.0+] [[#SetTouchScreenMode]]
|-
|-
| 189 || [10.0.0+] [[#GetButtonConfigSettingsFull]]
| 189 || [S1] [10.0.0+] [[#GetButtonConfigSettingsFull]]
|-
|-
| 190 || [10.0.0+] [[#SetButtonConfigSettingsFull]]
| 190 || [S1] [10.0.0+] [[#SetButtonConfigSettingsFull]]
|-
|-
| 191 || [10.0.0+] [[#GetButtonConfigSettingsEmbedded]]
| 191 || [S1] [10.0.0+] [[#GetButtonConfigSettingsEmbedded]]
|-
|-
| 192 || [10.0.0+] [[#SetButtonConfigSettingsEmbedded]]
| 192 || [S1] [10.0.0+] [[#SetButtonConfigSettingsEmbedded]]
|-
|-
| 193 || [10.0.0+] [[#GetButtonConfigSettingsLeft]]
| 193 || [S1] [10.0.0+] [[#GetButtonConfigSettingsLeft]]
|-
|-
| 194 || [10.0.0+] [[#SetButtonConfigSettingsLeft]]
| 194 || [S1] [10.0.0+] [[#SetButtonConfigSettingsLeft]]
|-
|-
| 195 || [10.0.0+] [[#GetButtonConfigSettingsRight]]
| 195 || [S1] [10.0.0+] [[#GetButtonConfigSettingsRight]]
|-
|-
| 196 || [10.0.0+] [[#SetButtonConfigSettingsRight]]
| 196 || [S1] [10.0.0+] [[#SetButtonConfigSettingsRight]]
|-
|-
| 197 || [10.0.0+] [[#GetButtonConfigRegisteredSettingsEmbedded]]
| 197 || [S1] [10.0.0+] [[#GetButtonConfigRegisteredSettingsEmbedded]]
|-
|-
| 198 || [10.0.0+] [[#SetButtonConfigRegisteredSettingsEmbedded]]
| 198 || [S1] [10.0.0+] [[#SetButtonConfigRegisteredSettingsEmbedded]]
|-
|-
| 199 || [10.0.0+] [[#GetButtonConfigRegisteredSettings]]
| 199 || [S1] [10.0.0+] [[#GetButtonConfigRegisteredSettings]]
|-
|-
| 200 || [10.0.0+] [[#SetButtonConfigRegisteredSettings]]
| 200 || [S1] [10.0.0+] [[#SetButtonConfigRegisteredSettings]]
|-
|-
| 201 || [10.1.0+] [[#GetFieldTestingFlag]]
| 201 || [10.1.0+] [[#GetFieldTestingFlag]]
Line 764: Line 962:
| 204 || [11.0.0+] SetPanelCrcMode
| 204 || [11.0.0+] SetPanelCrcMode
|-
|-
| 205 || [13.0.0+] GetNxControllerSettingsEx
| 205 || [S1] [13.0.0+] GetNxControllerSettingsEx
|-
|-
| 206 || [13.0.0+] SetNxControllerSettingsEx
| 206 || [S1] [13.0.0+] SetNxControllerSettingsEx
|-
|-
| 207 || [14.0.0+] GetHearingProtectionSafeguardFlag
| 207 || [S1] [14.0.0+] GetHearingProtectionSafeguardFlag
|-
|-
| 208 || [14.0.0+] SetHearingProtectionSafeguardFlag
| 208 || [S1] [14.0.0+] SetHearingProtectionSafeguardFlag
|-
|-
| 209 || [14.0.0+] GetHearingProtectionSafeguardRemainingTime
| 209 || [S1] [14.0.0+] GetHearingProtectionSafeguardRemainingTime
|-
|-
| 210 || [14.0.0+] SetHearingProtectionSafeguardRemainingTime
| 210 || [S1] [14.0.0+] SetHearingProtectionSafeguardRemainingTime
|-
|-
| 221 || [17.0.0+] GetForceMonauralOutputFlag
| 211 || [S2] GetWirelessCertificationHtmlFileSize
|-
| 212 || [S2] GetWirelessCertificationHtmlFile
|-
| 213 || [S2] GetWirelessCertificationJpegFileSize
|-
| 214 || [S2] GetWirelessCertificationJpegFile
|-
| 215 || [S2] GetHighContrastFlag
|-
| 216 || [S2] SetHighContrastFlag
|-
| 217 || [S2] GetTextToSpeechFlag
|-
| 218 || [S2] SetTextToSpeechFlag
|-
| 219 || [S2] [[#GetTextMagnificationRatio]]
|-
| 220 || [S2] SetTextMagnificationRatio
|-
| 221 || [17.0.0+] GetForceMonauralOutputFlag
|-
|-
| 222 || [17.0.0+] SetForceMonauralOutputFlag
| 222 || [17.0.0+] SetForceMonauralOutputFlag
|-
|-
| 251 || [18.0.0+] GetAccountIdentificationSettings
| 223 || [S2] GetUsbAudioVolumeSettings
|-
| 224 || [S2] SetUsbAudioVolumeSettings
|-
| 225 || [S2] GetTitleIconKeepFlag
|-
| 226 || [S2] SetTitleIconKeepFlag
|-
| 227 || [S2] GetBoldTextFlag
|-
| 228 || [S2] SetBoldTextFlag
|-
| 229 || [S2] GetSpeechToTextFlag
|-
| 230 || [S2] SetSpeechToTextFlag
|-
| 235 || [S2] GetColorFilterType
|-
| 236 || [S2] SetColorFilterType
|-
| 237 || [S2] GetPrioritizedOutputAudioDeviceSettings
|-
|-
| 252 || [18.0.0+] SetAccountIdentificationSettings
| 238 || [S2] SetPrioritizedOutputAudioDeviceSettings
|}
|-
 
| 239 || [S2] GetPrioritizedInputAudioDeviceSettings
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards.
|-
 
| 240 || [S2] SetPrioritizedInputAudioDeviceSettings
== SetLanguageCode ==
|-
Takes an input [[#LanguageCode]], no output.
| 241 || [S2] GetTextToSpeechVoiceTypeForUi
 
|-
== GetFirmwareVersion ==
| 242 || [S2] SetTextToSpeechVoiceTypeForUi
Takes a type-0x1A output buffer. User-processes use hard-coded size 0x100.
|-
 
| 243 || [S2] GetLcdFlags
If needed, reads the content of the [[System_Version_Title]] "/file" into state. This is only done once.
|-
 
| 244 || [S2] SetLcdFlags
Then the above 0x100-byte data is copied to the output buffer.
|-
 
| 245 || [S2] GetTvHdrSettings
== GetAccountSettings ==
|-
No input, returns an output [[#AccountSettings]].
| 246 || [S2] SetTvHdrSettings
 
|-
== SetAccountSettings ==
| 247 || [S2] IsColorInversionEnabled
Takes an input [[#AccountSettings]], no output.
|-
 
| 248 || [S2] SetColorInversionEnabled
== GetEulaVersions ==
|-
Takes a type-0x6 output buffer containing an array of [[#EulaVersion]], returns an output s32 total_out.
| 249 || [S2] GetKeyRemapEnableFlagOnQuickSettings
 
|-
== SetEulaVersions ==
| 250 || [S2] SetKeyRemapEnableFlagOnQuickSettings
Takes a type-0x5 input buffer containing an array of [[#EulaVersion]], no output.
|-
 
| 251 || [18.0.0+] GetAccountIdentificationSettings
== GetColorSetId ==
|-
No input, returns an output s32.
| 252 || [18.0.0+] SetAccountIdentificationSettings
 
|-
This is the current Theme set by System Settings.
| 253 || [S2] GetDeviceLockPinCodeLength
 
|-
* 0: "Basic White"
| 254 || [S2] GetDeviceLockPinCode
* 1: "Basic Black"
|-
 
| 255 || [S2] SetDeviceLockPinCode
== SetColorSetId ==
|-
Takes an input s32, no output.
| 256 || [S2] GetDeviceLockEnableFlag
 
|-
== GetNotificationSettings ==
| 257 || [S2] GetDeviceLockStartPenaltyTime
No input, returns an output [[#NotificationSettings]].
|-
 
| 258 || [S2] SetDeviceLockStartPenaltyTime
== SetNotificationSettings ==
|-
Takes an input [[#NotificationSettings]], no output.
| 259 || [S2] GetDeviceLockErrorCount
 
|-
== GetAccountNotificationSettings ==
| 260 || [S2] SetDeviceLockErrorCount
Takes a type-0x6 output buffer containing an array of [[#AccountNotificationSettings]], returns an output s32 total_out.
|-
 
| 261 || [S2] GetBatteryCareModeEnableFlag
== SetAccountNotificationSettings ==
|-
Takes a type-0x5 input buffer containing an array of [[#AccountNotificationSettings]], no output.
| 262 || [S2] SetBatteryCareModeEnableFlag
 
|-
== GetSettingsItemValue ==
| 263 || [20.0.0+] AcquireVphymDirtyFlagEventHandle
Takes two type-0x19 input buffers and a type-0x6 output buffer. Returns an output u64 for the actual size written to the outbuf.
|-
 
| 264 || [20.0.0+] GetVphymDirtyFlags
The outbuf_size is compared with the config_size. When config_size is larger than outbuf_size, outbuf_size is used for the memcpy, otherwise config_size is used. Afterwards the size used for the memcpy is written to output(see above).
|-
 
| 265 || [S2] GetInitialLaunchSettings
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.
|-
 
| 266 || [S2] SetInitialLaunchSettings
== GetTvSettings ==
|-
No input, returns an output [[#TvSettings]].
| 267 || [S2] GetManufacturingTimeStamp
 
|-
== SetTvSettings ==
| 268 || [S2] SetManufacturingTimeStamp
Takes an input [[#TvSettings]], no output.
|-
 
| 269 || [S2] GetInputNoiseReductionForCommunicationFlag
== GetDebugModeFlag ==
|-
Returns an output u8.
| 270 || [S2] SetInputNoiseReductionForCommunicationFlag
 
|-
Loads the 1-byte config for <"settings_debug", "is_debug_mode_enabled">. If that fails, value 0x1 is written to output. This uses the same func as ReadSetting internally.
| 271 || [S2] GetChatTranscriptionSettings
 
|-
Returned retval is always 0.
| 272 || [S2] SetChatTranscriptionSettings
|-
| 273 || [S2] GetBuiltInMicrophoneGain
|-
| 274 || [S2] SetBuiltInMicrophoneGain
|-
| 275 || [S2] GetBuiltInMicrophoneJackGain
|-
| 276 || [S2] SetBuiltInMicrophoneJackGain
|-
| 277 || [S2] GetUsbAudioInputDeviceGainSettings
|-
| 278 || [S2] SetUsbAudioInputDeviceGainSettings
|-
| 279 || [S2] SetBluetoothStackFlag
|-
| 280 || [S2] SetHidDebugOcdUsbFlag
|-
| 281 || [S2] SetHidDebugRailFlag
|-
| 282 || [20.0.0+] [[#ConvertToProductModel|ConvertToProductModel]]
|-
| 283 || [20.0.0+] [[#ConvertToProductModelName|ConvertToProductModelName]]
|-
| 284 || [S2] GetSaveDataPurgedForRepairFlag
|-
| 285 || [S2] SetSaveDataPurgedForRepairFlag
|-
| 286 || [S2] [20.0.0+] GetAppletParameterSet
|-
| 287 || [S2] [20.0.0+] SetAppletParameterSet
|-
| 288 || [S2] [20.0.0+] BindChatTranscriptionSettingsChangedEvent
|-
| 289 || [20.0.0+] GetDefaultAccountIdentificationFlagSet
|-
| 290 || [S2] [20.0.0+] GetMouseEnableFlag
|-
| 291 || [S2] [20.0.0+] SetMouseEnableFlag
|-
| 292 || [S2] [20.0.0+] GetTextToSpeechVoiceVolume
|-
| 293 || [S2] [20.0.0+] SetTextToSpeechVoiceVolume
|-
| 294 || [S2] [20.0.0+] GetTextToSpeechVoiceSpeed
|-
| 295 || [S2] [20.0.0+] SetTextToSpeechVoiceSpeed
|-
| 296 || [S2] [20.0.0+] GetSleepSettingsEx
|-
| 297 || [S2] [20.0.0+] SetSleepSettingsEx
|-
| 298 || [S2] [20.0.0+] GetMousePointerSpeedScale
|-
| 299 || [S2] [20.0.0+] SetMousePointerSpeedScale
|-
| 300 || [20.0.0+] AcquirePushNotificationDirtyFlagEventHandle
|-
| 301 || [20.0.0+] GetPushNotificationDirtyFlags
|-
| 302 || [S2] [20.0.0+] GetTvHdrSettingsEx
|-
| 303 || [S2] [20.0.0+] SetTvHdrSettingsEx
|-
| 304 || [S2] [20.0.0+] GetOunceProControllerMicrophoneJackGain
|-
| 305 || [S2] [20.0.0+] SetOunceProControllerMicrophoneJackGain
|-
| 306 || [20.0.0+] GetPinCodeReregistrationGuideAccounts
|-
| 307 || [20.0.0+] SetPinCodeReregistrationGuideAccounts
|-
| 308 || [S2] [20.0.0+] GetChatTranscriptionSettings
|-
| 309 || [S2] [20.0.0+] SetChatTranscriptionSettings
|-
| 310 || [S2] [20.0.0+] GetDeviceLockPinCodeLsbParity
|-
| 311 || [S2] [20.0.0+] VerifyDeviceLockPinCode
|-
| 312 || [S2] [20.0.0+] GetDeviceLockVeificationForbiddenFlag
|-
| 315 || [21.0.0+] GetHttpAuthConfigs
|-
| 319 || [21.0.0+] GetAccountUserSettings
|-
| 320 || [21.0.0+] SetAccountUserSettings
|-
| 321 || [21.0.0+] GetDefaultAccountUserSettings
|-
| 324 || [22.0.0+] GetPtmQhClearCount
|-
| 325 || [22.0.0+] SetPtmQhClearCount
|-
| 326 || [22.0.0+] GetAirPlaneModeRestoreFlagSet
|-
| 327 || [22.0.0+] SetAirPlaneModeRestoreFlagSet
|-
| 328 || [22.0.0+] DeleteSettingsPerAccount
|}


== GetPrimaryAlbumStorage ==
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards.
No input, returns an output s32 [[#PrimaryAlbumStorage]].


== SetPrimaryAlbumStorage ==
== SetLanguageCode ==
Takes an input s32 [[#PrimaryAlbumStorage]], no output.
Takes an input [[#LanguageCode]], no output.


== GetBatteryLot ==
== GetFirmwareVersion ==
No input, returns an output [[#BatteryLot]].
Takes a type-0x1A output buffer. User-processes use hard-coded size 0x100.


== GetSerialNumber ==
This was removed with S2.
Returns the 0x18-byte SerialNumber string.


== GetSleepSettings ==
If needed, reads the content of the [[System_Version_Title]] "/file" into state. This is only done once.
No input, returns an output [[#SleepSettings]].


== SetSleepSettings ==
Then the above 0x100-byte data is copied to the output buffer.
Takes an input [[#SleepSettings]], no output.


== GetInitialLaunchSettings ==
== GetAccountSettings ==
No input, returns an output [[#InitialLaunchSettings]].
No input, returns an output [[#AccountSettings]].


== SetInitialLaunchSettings ==
== SetAccountSettings ==
Takes an input [[#InitialLaunchSettings]], no output.
Takes an input [[#AccountSettings]], no output.


== GetDeviceNickName ==
== GetEulaVersions ==
Takes a type-0x16 output buffer containing a [[#DeviceNickName]].
Takes a type-0x6 output buffer containing an array of [[#EulaVersion]], returns an output s32 total_out.


With [10.1.0+] sdknso now uses the set cmd instead of the setsys cmd.
== SetEulaVersions ==
Takes a type-0x5 input buffer containing an array of [[#EulaVersion]], no output.


== SetDeviceNickName ==
== GetColorSetId ==
Takes a type-0x15 input buffer containing a [[#DeviceNickName]].
 
== GetProductModel ==
No input, returns an output s32.
No input, returns an output s32.


== GetMiiAuthorId ==
This is the current Theme set by System Settings.
No input, returns an output "nn::util::Uuid".


== GetServiceDiscoveryControlSettings ==
* 0: "Basic White"
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].
* 1: "Basic Black"


== GetErrorReportSharePermission ==
== SetColorSetId ==
No input, returns an output s32 [[#ErrorReportSharePermission]].
Takes an input s32, no output.


== SetErrorReportSharePermission ==
== GetNotificationSettings ==
Takes an input s32 [[#ErrorReportSharePermission]], no output.
No input, returns an output [[#NotificationSettings]].


== GetAppletLaunchFlags ==
== SetNotificationSettings ==
No input, returns an u32 bitmask [[#AppletLaunchFlag]].
Takes an input [[#NotificationSettings]], no output.


== SetAppletLaunchFlags ==
== GetAccountNotificationSettings ==
Takes an input u32 bitmask [[#AppletLaunchFlag]], no output.
Takes a type-0x6 output buffer containing an array of [[#AccountNotificationSettings]], returns an output s32 total_out.


== GetKeyboardLayout ==
== SetAccountNotificationSettings ==
No input, returns an output s32 [[#KeyboardLayout]].
Takes a type-0x5 input buffer containing an array of [[#AccountNotificationSettings]], no output.


== SetKeyboardLayout ==
== GetSettingsItemValue ==
Takes an input s32 [[#KeyboardLayout]], no output.
Takes two type-0x19 input buffers and a type-0x6 output buffer. Returns an output u64 for the actual size written to the outbuf.


== GetAllowedSslHosts ==
The outbuf_size is compared with the config_size. When config_size is larger than outbuf_size, outbuf_size is used for the memcpy, otherwise config_size is used. Afterwards the size used for the memcpy is written to output(see above).
Takes a type-0x6 output buffer, returns an output s32 entry count. This buffer contains an array of 0x100-byte "nn::settings::system::AllowedSslHost" entries.


== GetRebootlessSystemUpdateVersion ==
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.
No input, returns an output [[#RebootlessSystemUpdateVersion]].


== GetQuestFlag ==
== GetTvSettings ==
Gets a flag determining whether the console is a kiosk unit (codenamed "Quest"). Used by qlaunch to determine whether to launch Retail Interactive Display Menu.
No input, returns an output [[#TvSettings]].


== GetDataDeletionSettings ==
== SetTvSettings ==
No input, returns an output [[#DataDeletionSettings]].
Takes an input [[#TvSettings]], no output.


== SetDataDeletionSettings ==
== GetDebugModeFlag ==
Takes an input [[#DataDeletionSettings]], no output.
Returns an output u8.


== GetWirelessCertificationFileSize ==
Loads the 1-byte config for <"settings_debug", "is_debug_mode_enabled">. If that fails, value 0x1 is written to output. This uses the same func as ReadSetting internally.
No input, returns an output u64 size.


== GetWirelessCertificationFile ==
Returned retval is always 0.
Takes a type-0x6 output buffer, returns an output u64 size.


This gets the [[Flash_Filesystem#PRODINFOF|WirelessCertificationFile]].
== GetPrimaryAlbumStorage ==
No input, returns an output s32 [[#PrimaryAlbumStorage]].


== SetRegionCode ==
== SetPrimaryAlbumStorage ==
Takes an input s32 [[#RegionCode_2|RegionCode]], no output.
Takes an input s32 [[#PrimaryAlbumStorage]], no output.


== GetChineseTraditionalInputMethod ==
== GetBatteryLot ==
No input, returns an output s32 [[#ChineseTraditionalInputMethod]].
No input, returns an output [[#BatteryLot]].


== SetChineseTraditionalInputMethod ==
== GetSerialNumber ==
Takes an input s32 [[#ChineseTraditionalInputMethod]], no output.
Returns the 0x18-byte SerialNumber string.


== GetHomeMenuScheme ==
== GetSleepSettings ==
No input, returns an output 0x14-byte struct "nn::settings::system::HomeMenuScheme".
No input, returns an output [[#SleepSettings]].


This struct contains 5 RGBA8 u32s for colors: '''Main''', '''Back''', '''Sub''', '''Bezel''' and '''Extra'''.
== SetSleepSettings ==
Takes an input [[#SleepSettings]], no output.


The colors are loaded from [[Calibration]], with the set of fields to use selected by ColorVariation. When ColorVariation is invalid (must be 1-4), the following fixed color values are returned: 0xFF323232, 0xFF323232, 0xFFFFFFFF, 0xFFFFFFFF, 0xFF000000.
== GetInitialLaunchSettings ==
No input, returns an output [[#InitialLaunchSettings]].


== GetT ==
== SetInitialLaunchSettings ==
No input, returns an output u8 bool '''IsT'''.
Takes an input [[#InitialLaunchSettings]], no output.


[9.0.0+] This is a wrapper for [[#GetPlatformRegion]]: <code>IsT = (PlatformRegion == 2)</code>.
== GetDeviceNickName ==
Takes a type-0x16 output buffer containing a [[#DeviceNickName]].


== SetT ==
With [10.1.0+] sdknso now uses the set cmd instead of the setsys cmd.
Takes an input u8 bool '''IsT''', no output.


[9.0.0+] This is a wrapper for [[#SetPlatformRegion]]: <code>PlatformRegion = 1 + (IsT & 1)</code>.
== SetDeviceNickName ==
Takes a type-0x15 input buffer containing a [[#DeviceNickName]].


== GetPlatformRegion ==
== GetProductModel ==
No input, returns an output s32.
No input, returns an output s32 [[#ProductModel|ProductModel]].


== SetPlatformRegion ==
== GetMiiAuthorId ==
Takes an input s32, no output.
No input, returns an output "nn::util::Uuid".


== GetHomeMenuSchemeModel ==
== GetServiceDiscoveryControlSettings ==
No input, returns an output u32.
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].


Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration]].
== GetErrorReportSharePermission ==
No input, returns an output s32 [[#ErrorReportSharePermission]].


== GetMemoryUsageRateFlag ==
== SetErrorReportSharePermission ==
No input, returns an output u8 bool.
Takes an input s32 [[#ErrorReportSharePermission]], no output.


== GetTouchScreenMode ==
== GetAppletLaunchFlags ==
No input, returns an output s32.
No input, returns an u32 bitmask [[#AppletLaunchFlag]].


Official sw loads the output as an u8 and copies it to an output [[#TouchScreenMode]].
== SetAppletLaunchFlags ==
Takes an input u32 bitmask [[#AppletLaunchFlag]], no output.


== SetTouchScreenMode ==
== GetKeyboardLayout ==
Takes an input s32, no output.
No input, returns an output s32 [[#KeyboardLayout]].


Official sw sets the input to an u8 loaded from an input [[#TouchScreenMode]].
== SetKeyboardLayout ==
Takes an input s32 [[#KeyboardLayout]], no output.


== GetButtonConfigSettingsFull ==
== GetAllowedSslHosts ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
Takes a type-0x6 output buffer. Returns an output s32 entry count.


== SetButtonConfigSettingsFull ==
== GetRebootlessSystemUpdateVersion ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
No input, returns an output [[#RebootlessSystemUpdateVersion]].


== GetButtonConfigSettingsEmbedded ==
== GetQuestFlag ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
Gets a flag determining whether the console is a kiosk unit (codenamed "Quest"). Used by qlaunch to determine whether to launch Retail Interactive Display Menu.


== SetButtonConfigSettingsEmbedded ==
== GetDataDeletionSettings ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
No input, returns an output [[#DataDeletionSettings]].


== GetButtonConfigSettingsLeft ==
== SetDataDeletionSettings ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
Takes an input [[#DataDeletionSettings]], no output.


== SetButtonConfigSettingsLeft ==
== GetDeviceTimeZoneLocationName ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
No input, returns an output [[Glue_services#LocationName|LocationName]].


== GetButtonConfigSettingsRight ==
== SetDeviceTimeZoneLocationName ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
Takes an input [[Glue_services#LocationName|LocationName]], no output.


== SetButtonConfigSettingsRight ==
== GetWirelessCertificationFileSize ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
No input, returns an output u64 size.


== GetButtonConfigRegisteredSettingsEmbedded ==
== GetWirelessCertificationFile ==
Takes a type-0x16 output buffer containing a [[#ButtonConfigRegisteredSettings]], no output.
Takes a type-0x6 output buffer, returns an output u64 size.


== SetButtonConfigRegisteredSettingsEmbedded ==
This gets the [[Flash_Filesystem#PRODINFOF|WirelessCertificationFile]].
Takes a type-0x15 input buffer containing a [[#ButtonConfigRegisteredSettings]], no output.


== GetButtonConfigRegisteredSettings ==
== SetRegionCode ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigRegisteredSettings]], returns an output s32.
Takes an input s32 [[#RegionCode_2|RegionCode]], no output.
 
== GetChineseTraditionalInputMethod ==
No input, returns an output s32 [[#ChineseTraditionalInputMethod]].
 
== SetChineseTraditionalInputMethod ==
Takes an input s32 [[#ChineseTraditionalInputMethod]], no output.
 
== GetHomeMenuScheme ==
No input. Returns an output [[#HomeMenuScheme]].


== SetButtonConfigRegisteredSettings ==
The colors are loaded from [[Calibration]], with the set of fields to use selected by [[Calibration#ColorVariation|ColorVariation]].
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigRegisteredSettings]], no output.


== GetFieldTestingFlag ==
== GetT ==
No input, returns an output bool.
No input, returns an output u8 bool '''IsT'''.


== SetFieldTestingFlag ==
[9.0.0+] This is a wrapper for [[#GetPlatformRegion]]: <code>IsT = (PlatformRegion == 2)</code>.
Takes an input bool, no output.


= Language =
== SetT ==
This is "nn::settings::Language".
Takes an input u8 bool '''IsT''', no output.


{| class="wikitable" border="1"
[9.0.0+] This is a wrapper for [[#SetPlatformRegion]]: <code>PlatformRegion = 1 + (IsT & 1)</code>.
|-
 
! Value
== GetPlatformRegion ==
! Description
No input, returns an output s32.
|-
 
| 0 || Japanese
== SetPlatformRegion ==
|-
Takes an input s32, no output.
| 1 || AmericanEnglish
 
|-
== GetHomeMenuSchemeModel ==
| 2 || French
No input. Returns an output u32.
|-
 
| 3 || German
Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration#ColorModel|ColorModel]].
|-
 
| 4 || Italian
== GetMemoryUsageRateFlag ==
|-
No input, returns an output u8 bool.
| 5 || Spanish
 
|-
== GetTouchScreenMode ==
| 6 || Chinese
No input, returns an output s32.
|-
 
| 7 || Korean
Official sw loads the output as an u8 and copies it to an output [[#TouchScreenMode]].
|-
 
| 8 || Dutch
== SetTouchScreenMode ==
|-
Takes an input s32, no output.
| 9 || Portuguese
|-
| 10 || Russian
|-
| 11 || Taiwanese
|-
| 12 || BritishEnglish
|-
| 13 || CanadianFrench
|-
| 14 || LatinAmericanSpanish
|-
| 15 || [4.0.0+] SimplifiedChinese
|-
| 16 || [4.0.0+] TraditionalChinese
|-
| 17 || [10.1.0+] BrazilianPortuguese
|}


= LanguageCode =
Official sw sets the input to an u8 loaded from an input [[#TouchScreenMode]].
This is "nn::settings::LanguageCode". This is an u64, which is a NUL-terminated string.


{| class="wikitable" border="1"
== GetButtonConfigSettingsFull ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
! Value || [[#Language]]
 
|-
== SetButtonConfigSettingsFull ==
| "ja" || Japanese
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
|-
 
| "en-US" || AmericanEnglish
== GetButtonConfigSettingsEmbedded ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
| "fr" || French
 
|-
== SetButtonConfigSettingsEmbedded ==
| "de" || German
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
|-
 
| "it" || Italian
== GetButtonConfigSettingsLeft ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
| "es" || Spanish
 
|-
== SetButtonConfigSettingsLeft ==
| "zh-CN" || Chinese
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
|-
 
| "ko" || Korean
== GetButtonConfigSettingsRight ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
| "nl" || Dutch
|-
| "pt" || Portuguese
|-
| "ru" || Russian
|-
| "zh-TW" || Taiwanese
|-
| "en-GB" || BritishEnglish
|-
| "fr-CA" || CanadianFrench
|-
| "es-419" || LatinAmericanSpanish
|-
| "zh-Hans" || [4.0.0+] SimplifiedChinese
|-
| "zh-Hant" || [4.0.0+] TraditionalChinese
|-
| "pt-BR" || [10.1.0+] BrazilianPortuguese
|}


= AccelerometerOffset =
== SetButtonConfigSettingsRight ==
This is "nn::settings::factory::AccelerometerOffset".
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.


{| class="wikitable" border="1"
== GetButtonConfigRegisteredSettingsEmbedded ==
|-
Takes a type-0x16 output buffer containing a [[#ButtonConfigRegisteredSettings]], no output.
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= AccelerometerScale =
== SetButtonConfigRegisteredSettingsEmbedded ==
This is "nn::settings::factory::AccelerometerScale".
Takes a type-0x15 input buffer containing a [[#ButtonConfigRegisteredSettings]], no output.


{| class="wikitable" border="1"
== GetButtonConfigRegisteredSettings ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigRegisteredSettings]], returns an output s32.
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= AmiiboEcdsaCertificate =
== SetButtonConfigRegisteredSettings ==
This is "nn::settings::factory::AmiiboEcdsaCertificate". This is a 0x70-byte struct.
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigRegisteredSettings]], no output.


= AmiiboEcqvBlsCertificate =
== GetFieldTestingFlag ==
This is "nn::settings::factory::AmiiboEcqvBlsCertificate". This is a 0x20-byte struct.
No input, returns an output bool.
 
== SetFieldTestingFlag ==
Takes an input bool, no output.
 
== GetTextMagnificationRatio ==
This is exclusive to S2.


= AmiiboEcqvBlsKey =
No input, returns an output float.
This is "nn::settings::factory::AmiiboEcqvBlsKey". This is a 0x40-byte struct.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
== ConvertToProductModel ==
{| class="wikitable" border="1"
Takes an input [[#ProductModelName|ProductModelName]], returns an output [[#ProductModel|ProductModel]].
|-
! Offset || Size || Description
|-
| 0x0 || 0x40 || Key
|-
| 0x40 || 0x4 || KeyGeneration
|}


= AmiiboEcqvBlsRootCertificate =
== ConvertToProductModelName ==
This is "nn::settings::factory::AmiiboEcqvBlsRootCertificate". This is a 0x90-byte struct.
Takes an input [[#ProductModel|ProductModel]], return an output [[#ProductModelName|ProductModelName]].


= AmiiboEcqvCertificate =
When the input [[#ProductModel|ProductModel]] is invalid, this writes 0 to output and returns 0.
This is "nn::settings::factory::AmiiboEcqvCertificate". This is a 0x14-byte struct.


= AmiiboKey =
= Language =
This is "nn::settings::factory::AmiiboKey". This is a 0x50-byte struct.
This is "nn::settings::Language".


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x50 || Key
| 0 || Japanese
|-
|-
| 0x50 || 0x4 || KeyGeneration
| 1 || AmericanEnglish
|}
|-
 
| 2 || French
= AnalogStickFactoryCalibration =
|-
This is "nn::settings::factory::AnalogStickFactoryCalibration". This is a 0x9-byte struct.
| 3 || German
 
|-
= AnalogStickModelParameter =
| 4 || Italian
This is "nn::settings::factory::AnalogStickModelParameter". This is a 0x12-byte struct.
 
= AnalogStickModuleType =
{| class="wikitable" border="1"
|-
|-
! Value
| 5 || Spanish
! Description
|-
|-
| 0 ||  
| 6 || Chinese
|}
 
= BatteryLot =
This is "nn::settings::factory::BatteryLot" or "nn::settings::BatteryLot". This is a 0x18-byte struct.
 
= BatteryVersion =
{| class="wikitable" border="1"
|-
|-
! Value
| 7 || Korean
! Description
|-
|-
| 0 ||  
| 8 || Dutch
|}
 
= BdAddress =
This is "nn::settings::factory::BdAddress". This is a 0x6-byte struct.
 
= ConfigurationId1 =
This is "nn::settings::factory::ConfigurationId1". This is a 0x1E-byte struct.
 
Usually, this is a string with the following format:
  {EventType}_{ProductModelType}_{MajorVersion}_{MinorVersion}_{MicroVersion}
 
== EventType ==
{| class="wikitable" border="1"
|-
|-
! Value
| 9 || Portuguese
! Description
|-
|-
| "FP" || Functional prototype
| 10 || Russian
|-
|-
| "EP" || Engineering prototype
| 11 || Taiwanese
|-
|-
| "DP" || Design prototype
| 12 || BritishEnglish
|-
|-
| "DPRD" || Design prototype for R&D
| 13 || CanadianFrench
|-
|-
| "HOAG" || Hoag prototype
| 14 || LatinAmericanSpanish
|-
|-
| "COPPER" || Copper prototype
| 15 || [4.0.0+] SimplifiedChinese
|-
|-
| "EDEV" || Extcon development kit for Icosa and Iowa
| 16 || [4.0.0+] TraditionalChinese
|-
|-
| "SDEV" || SPI development kit for Icosa and Iowa
| 17 || [10.1.0+] BrazilianPortuguese
|-
|}
| "MEDEV" || Mariko EDEV (deprecated)
 
= LanguageCode =
This is "nn::settings::LanguageCode". This is an u64, which is a NUL-terminated string.
 
{| class="wikitable" border="1"
|-
|-
| "MSDEV" || Mariko SDEV (deprecated)
! Value || [[#Language]]
|-
|-
| "HDEV" || Development kit for Hoag
| "ja" || Japanese
|-
|-
| "ADEV" || Development kit for Aula
| "en-US" || AmericanEnglish
|-
|-
| "MP" || Mass production (retail Icosa)
| "fr" || French
|-
|-
| "MNX" || Mariko NX (retail Iowa)
| "de" || German
|-
|-
| "ANX" || Aula NX (retail Aula)
| "it" || Italian
|}
 
== ProductModelType ==
{| class="wikitable" border="1"
|-
|-
! Value
| "es" || Spanish
! Description
|-
|-
| "00" || Icosa
| "zh-CN" || Chinese
|-
|-
| "01" || Iowa (previously Copper)
| "ko" || Korean
|-
|-
| "02" || Hoag
| "nl" || Dutch
|-
|-
| "03" || Calcio
| "pt" || Portuguese
|-
| "ru" || Russian
|-
| "zh-TW" || Taiwanese
|-
| "en-GB" || BritishEnglish
|-
| "fr-CA" || CanadianFrench
|-
| "es-419" || LatinAmericanSpanish
|-
| "zh-Hans" || [4.0.0+] SimplifiedChinese
|-
| "zh-Hant" || [4.0.0+] TraditionalChinese
|-
|-
| "04" || Aula
| "pt-BR" || [10.1.0+] BrazilianPortuguese
|}
|}


= ConsoleSixAxisSensorHorizontalOffset =
= AccelerometerOffset =
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset".
This is "nn::settings::factory::AccelerometerOffset".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,285: Line 1,552:
|}
|}


= ConsoleSixAxisSensorModuleType =
= AccelerometerScale =
This is "nn::settings::factory::AccelerometerScale".
 
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
|-
| 0 ||  
| 0x4 || 0x2 || Z
|}
|}


= ConsoleSixAxisSensorMountType =
= AmiiboEcdsaCertificate =
This is "nn::settings::factory::AmiiboEcdsaCertificate". This is a 0x70-byte struct.
 
= AmiiboEcqvBlsCertificate =
This is "nn::settings::factory::AmiiboEcqvBlsCertificate". This is a 0x20-byte struct.
 
= AmiiboEcqvBlsKey =
This is "nn::settings::factory::AmiiboEcqvBlsKey". This is a 0x40-byte struct.
 
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
| 0x0 || 0x40 || Key
|-
|-
| 0 ||  
| 0x40 || 0x4 || KeyGeneration
|}
|}


= CountryCode =
= AmiiboEcqvBlsRootCertificate =
This is "nn::settings::factory::CountryCode". This is a 0x3-byte struct.
This is "nn::settings::factory::AmiiboEcqvBlsRootCertificate". This is a 0x90-byte struct.


= EccB233DeviceCertificate =
= AmiiboEcqvCertificate =
This is "nn::settings::factory::EccB233DeviceCertificate". This is a 0x180-byte struct.
This is "nn::settings::factory::AmiiboEcqvCertificate". This is a 0x14-byte struct.


= EccB233DeviceKey =
= AmiiboKey =
This is "nn::settings::factory::EccB233DeviceKey". This is a 0x30-byte struct or a 0x54-byte struct in the extended version.
This is "nn::settings::factory::AmiiboKey". This is a 0x50-byte struct.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
Line 1,317: Line 1,599:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x54 || Key
| 0x0 || 0x50 || Key
|-
|-
| 0x54 || 0x4 || KeyGeneration
| 0x50 || 0x4 || KeyGeneration
|}
|}


= GameCardCertificate =
= AnalogStickFactoryCalibration =
This is "nn::settings::factory::GameCardCertificate". This is a 0x400-byte struct.
This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[Calibration#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]].
 
= AnalogStickModelParameter =
This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Calibration#AnalogStickModelParameter|AnalogStickModelParameter]].
 
= BatteryLot =
This is "nn::settings::BatteryLot". This is a 0x18-byte struct.


= GameCardKey =
= BdAddress =
This is "nn::settings::factory::GameCardKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version.
This is "nn::settings::factory::BdAddress". This is a 0x6-byte struct.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
= ConfigurationId1 =
{| class="wikitable" border="1"
This is "nn::settings::factory::ConfigurationId1". This is a 0x1E-byte struct.
|-
! Offset || Size || Description
|-
| 0x0 || 0x130 || Key
|-
| 0x130 || 0x4 || KeyGeneration
|}


= GyroscopeOffset =
Usually, this is a string with the following format:
This is "nn::settings::factory::GyroscopeOffset".
  {EventType}_{ProductModelType}_{MajorVersion}_{MinorVersion}_{MicroVersion}


== EventType ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x2 || X
| "FP" || Functional prototype
|-
|-
| 0x2 || 0x2 || Y
| "EP" || Engineering prototype
|-
|-
| 0x4 || 0x2 || Z
| "DP" || Design prototype
|}
 
= GyroscopeScale =
This is "nn::settings::factory::GyroscopeScale".
 
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
| "DPRD" || Design prototype for R&D
|-
|-
| 0x0 || 0x2 || X
| "HOAG" || Hoag prototype
|-
|-
| 0x2 || 0x2 || Y
| "COPPER" || Copper prototype
|-
|-
| 0x4 || 0x2 || Z
| "EDEV" || Extcon development kit for Icosa and Iowa
|}
 
= MacAddress =
This is "nn::settings::factory::MacAddress". This is a 0x6-byte struct.
 
= LcdVendorId =
{| class="wikitable" border="1"
|-
|-
! Value
| "SDEV" || SPI development kit for Icosa and Iowa
! Description
|-
|-
| 0 ||  
| "MEDEV" || Mariko EDEV (deprecated)
|}
|-
 
| "MSDEV" || Mariko SDEV (deprecated)
= Rsa2048DeviceCertificate =
|-
This is "nn::settings::factory::Rsa2048DeviceCertificate". This is a 0x240-byte struct.
| "HDEV" || Development kit for Hoag
 
|-
= Rsa2048DeviceKey =
| "ADEV" || Development kit for Aula
This is "nn::settings::factory::Rsa2048DeviceKey". This is a 0x220-byte struct or a 0x240-byte struct in the extended version.
|-
 
| "MP" || Mass production (retail Icosa)
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
| "MNX" || Mariko NX (retail Iowa)
|-
|-
| 0x0 || 0x240 || Key
| "HNX" || Hoag NX (retail Hoag)
|-
|-
| 0x240 || 0x4 || KeyGeneration
| "ANX" || Aula NX (retail Aula)
|}
|}


= SerialNumber =
== ProductModelType ==
This is "nn::settings::factory::SerialNumber". This is a 0x18-byte struct.
 
= SpeakerParameter =
This is "nn::settings::factory::SpeakerParameter".
 
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x2 || Version
| "00" || Icosa
|-
|-
| 0x2 || 0x22 || Reserved
| "01" || Iowa (previously Copper)
|-
|-
| 0x24 || 0x2 || SpeakerHpf2A1
| "02" || Hoag
|-
|-
| 0x26 || 0x2 || SpeakerHpf2A2
| "03" || Calcio
|-
|-
| 0x28 || 0x2 || SpeakerHpf2H0
| "04" || Aula
|}
 
= ConsoleSixAxisSensorHorizontalOffset =
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Calibration#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]].
 
= CountryCode =
This is "nn::settings::factory::CountryCode". This is a 0x3-byte struct.
 
= EccB233DeviceCertificate =
This is "nn::settings::factory::EccB233DeviceCertificate". This is a 0x180-byte struct.
 
= EccB233DeviceKey =
This is "nn::settings::factory::EccB233DeviceKey". This is a 0x30-byte struct or a 0x54-byte struct in the extended version.
 
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
|-
|-
| 0x2A || 0x2 || SpeakerEqInputVolume
! Offset || Size || Description
|-
|-
| 0x2C || 0x2 || SpeakerEqOutputVolume
| 0x0 || 0x54 || Key
|-
|-
| 0x2E || 0x2 || SpeakerEqCtrl1
| 0x54 || 0x4 || KeyGeneration
|-
| 0x30 || 0x2 || SpeakerEqCtrl2
|-
| 0x32 || 0x2 || SpeakerDrcAgcCtrl2
|-
| 0x34 || 0x2 || SpeakerDrcAgcCtrl3
|-
| 0x36 || 0x2 || SpeakerDrcAgcCtrl1
|-
| 0x38 || 0x2 || SpeakerAnalogVolume
|-
| 0x3A || 0x2 || HeadphoneAnalogVolume
|-
| 0x3C || 0x2 || SpeakerDigitalVolumeMin
|-
| 0x3E || 0x2 || SpeakerDigitalVolumeMax
|-
| 0x40 || 0x2 || HeadphoneDigitalVolumeMin
|-
| 0x42 || 0x2 || HeadphoneDigitalVolumeMax
|-
| 0x44 || 0x2 || MicFixedGain
|-
| 0x46 || 0x2 || MicVariableVolumeMin
|-
| 0x48 || 0x2 || MicVariableVolumeMax
|-
| 0x4A || 0x10 || Reserved
|}
|}


= SslCertificate =
= GameCardCertificate =
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct.
This is "nn::settings::factory::GameCardCertificate". This is a 0x400-byte struct.
 
= GameCardKey =
This is "nn::settings::factory::GameCardKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x4 || Size
| 0x0 || 0x130 || Key
|-
|-
| 0x4 || Variable || Data
| 0x130 || 0x4 || KeyGeneration
|}
|}


= SslKey =
= GyroscopeOffset =
This is "nn::settings::factory::SslKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version.
This is "nn::settings::factory::GyroscopeOffset".


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x130 || Key
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
|-
| 0x130 || 0x4 || KeyGeneration
| 0x4 || 0x2 || Z
|}
|}


= RegionCode =
= GyroscopeScale =
This is "nn::settings::factory::RegionCode".
This is "nn::settings::factory::GyroscopeScale".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || Japan
| 0x0 || 0x2 || X
|-
|-
| 1 || Usa
| 0x2 || 0x2 || Y
|-
|-
| 2 || Europe
| 0x4 || 0x2 || Z
|-
| 3 || Australia
|-
| 4 || China
|-
| 5 || Korea
|-
| 6 || Taiwan
|}
|}


= UsbTypeCPowerSourceCircuitVersion =
= MacAddress =
This is "nn::settings::factory::MacAddress". This is a 0x6-byte struct.
 
= Rsa2048DeviceCertificate =
This is "nn::settings::factory::Rsa2048DeviceCertificate". This is a 0x240-byte struct.
 
= Rsa2048DeviceKey =
This is "nn::settings::factory::Rsa2048DeviceKey". This is a 0x220-byte struct or a 0x240-byte struct in the extended version.
 
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
| 0x0 || 0x240 || Key
|-
|-
| 0 ||  
| 0x240 || 0x4 || KeyGeneration
|}
|}


= AudioOutputMode =
= SerialNumber =
This is "nn::settings::system::AudioOutputMode".
This is "nn::settings::factory::SerialNumber". This is a 0x18-byte struct.
 
= SpeakerParameter =
This is "nn::settings::factory::SpeakerParameter". This is copied from the first 0x5A bytes of [[Calibration#SpeakerCalibrationValue|SpeakerCalibrationValue]].
 
= SslCertificate =
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || 1ch
| 0x0 || 0x4 || Size
|-
|-
| 1 || 2ch
| 0x4 || Variable || Data
|-
| 2 || 5_1ch
|-
| 3 || 7_1ch
|}
|}


= AudioOutputModeTarget =
= SslKey =
This is "nn::settings::system::AudioOutputModeTarget".
This is "nn::settings::factory::SslKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || Hdmi
| 0x0 || 0x130 || Key
|-
|-
| 1 || Speaker
| 0x130 || 0x4 || KeyGeneration
|-
| 2 || Headphone
|}
|}


= AudioVolumeTarget =
= RegionCode =
This is "nn::settings::system::AudioVolumeTarget".
This is "nn::settings::factory::RegionCode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,546: Line 1,802:
! Description
! Description
|-
|-
| 0 || Speaker
| 0 || Japan
|-
| 1 || Usa
|-
|-
| 1 || Headphone
| 2 || Europe
|}
 
= DeviceNickName =
This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct.
 
= Edid =
This is "nn::settings::system::Edid".
 
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
| 3 || Australia
|-
|-
| 0x0 || 0x80 || Data0
| 4 || China
|-
|-
| 0x80 || 0x80 || Data1
| 5 || Korea
|-
| 6 || Taiwan
|}
|}


= RegionCode =
= AudioOutputMode =
This is "nn::settings::system::RegionCode".
This is "nn::settings::system::AudioOutputMode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,574: Line 1,825:
! Description
! Description
|-
|-
| 0 || Japan
| 0 || 1ch
|-
|-
| 1 || Usa
| 1 || 2ch
|-
|-
| 2 || Europe
| 2 || 5_1ch
|-
|-
| 3 || Australia
| 3 || 7_1ch
|-
| 4 || HongKongTaiwanKorea
|-
| 5 || China
|}
|}


= UserSelectorFlag =
= AudioOutputModeTarget =
This is "nn::settings::system::UserSelectorFlag".
This is "nn::settings::system::AudioOutputModeTarget".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
|-
! Value
! Description
! Description
|-
|-
| 0 || SkipsIfSingleUser
| 0 || Hdmi
|-
| 1 || Speaker
|-
|-
| 31 || Unknown
| 2 || Headphone
|}
|}


= UserSelectorSettings =
= AudioVolumeTarget =
This is "nn::settings::system::UserSelectorSettings".
This is "nn::settings::system::AudioVolumeTarget".
 
This contains an u32 bitmask for [[#UserSelectorFlag]].
 
= AccountSettings =
This is "nn::settings::system::AccountSettings".
 
This contains [[#UserSelectorSettings]].
 
= ClockSourceId =
This is "nn::settings::system::ClockSourceId".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,617: Line 1,857:
! Description
! Description
|-
|-
| 0 || NetworkSystemClock
| 0 || Speaker
|-
|-
| 1 || SteadyClock
| 1 || Headphone
|}
|}


= NotificationVolume =
= DeviceNickName =
This is "nn::settings::system::NotificationVolume".
This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct.
 
= Edid =
This is "nn::settings::system::Edid".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || Mute
| 0x0 || 0x80 || Data0
|-
|-
| 1 || Low
| 0x80 || 0x80 || Data1
|-
| 0x100 || 0x80 || [13.0.0+] Data2
|-
|-
| 2 || High
| 0x180 || 0x80 || [13.0.0+] Data3
|}
|}


= FriendPresenceOverlayPermission =
= RegionCode =
This is "nn::settings::system::FriendPresenceOverlayPermission".
This is "nn::settings::system::RegionCode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,645: Line 1,889:
! Description
! Description
|-
|-
| 0 || NotConfirmed
| 0 || Japan
|-
| 1 || Usa
|-
| 2 || Europe
|-
|-
| 1 || NoDisplay
| 3 || Australia
|-
|-
| 2 || FavoriteFriends
| 4 || HongKongTaiwanKorea
|-
|-
| 3 || Friends
| 5 || China
|}
|}


= TvResolution =
= UserSelectorFlag =
This is "nn::settings::system::TvResolution".
This is "nn::settings::system::UserSelectorFlag".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
! Bits
! Value
! Description
! Description
|-
|-
| 0 || Auto
| 0 || SkipsIfSingleUser
|-
|-
| 1 || 1080p
| 31 || Unknown
|}
 
= UserSelectorSettings =
This is "nn::settings::system::UserSelectorSettings".
 
This contains an u32 bitmask for [[#UserSelectorFlag]].
 
= AccountSettings =
This is "nn::settings::system::AccountSettings".
 
This contains [[#UserSelectorSettings]].
 
= ClockSourceId =
This is "nn::settings::system::ClockSourceId".
 
{| class="wikitable" border="1"
|-
|-
| 2 || 720p
! Value
! Description
|-
| 0 || NetworkSystemClock
|-
|-
| 3 || 480p
| 1 || SteadyClock
|}
|}


= HdmiContentType =
= NotificationVolume =
This is "nn::settings::system::HdmiContentType".
This is "nn::settings::system::NotificationVolume".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,679: Line 1,945:
! Description
! Description
|-
|-
| 0 || None
| 0 || Mute
|-
|-
| 1 || Graphics
| 1 || Low
|-
|-
| 2 || Cinema
| 2 || High
|-
| 3 || Photo
|-
| 4 || Game
|}
|}


= RgbRange =
= FriendPresenceOverlayPermission =
This is "nn::settings::system::RgbRange".
This is "nn::settings::system::FriendPresenceOverlayPermission".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,698: Line 1,960:
! Description
! Description
|-
|-
| 0 || Auto
| 0 || NotConfirmed
|-
| 1 || NoDisplay
|-
|-
| 1 || Full
| 2 || FavoriteFriends
|-
|-
| 2 || Limited
| 3 || Friends
|}
|}


= CmuMode =
= TvResolution =
This is "nn::settings::system::CmuMode".
This is "nn::settings::system::TvResolution".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,713: Line 1,977:
! Description
! Description
|-
|-
| 0 || None
| 0 || Auto
|-
|-
| 1 || ColorInvert
| 1 || 1080p
|-
|-
| 2 || HighContrast
| 2 || 720p
|-
|-
| 3 || GrayScale
| 3 || 480p
|}
|}


= HandheldSleepPlan =
= HdmiContentType =
This is "nn::settings::system::HandheldSleepPlan".
This is "nn::settings::system::HdmiContentType".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,730: Line 1,994:
! Description
! Description
|-
|-
| 0 || 1Min
| 0 || None
|-
|-
| 1 || 3Min
| 1 || Graphics
|-
|-
| 2 || 5Min
| 2 || Cinema
|-
|-
| 3 || 10Min
| 3 || Photo
|-
|-
| 4 || 30Min
| 4 || Game
|-
| 5 || Never
|}
|}


= ConsoleSleepPlan =
= RgbRange =
This is "nn::settings::system::ConsoleSleepPlan".
This is "nn::settings::system::RgbRange".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,751: Line 2,013:
! Description
! Description
|-
|-
| 0 || 1Hour
| 0 || Auto
|-
|-
| 1 || 2Hour
| 1 || Full
|-
|-
| 2 || 3Hour
| 2 || Limited
|-
| 3 || 6Hour
|-
| 4 || 12Hour
|-
| 5 || Never
|}
|}


= EulaVersion =
= CmuMode =
This is "nn::settings::system::EulaVersion".
This is "nn::settings::system::CmuMode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x4 || Version
| 0 || None
|-
|-
| 0x4 || 0x4 || [[#RegionCode_2|RegionCode]]
| 1 || ColorInvert
|-
|-
| 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]]
| 2 || HighContrast
|-
|-
| 0xC || 0x4 || Reserved
| 3 || GrayScale
|-
| 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkSystemClock]]
|-
| 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClock]]
|}
|}


= FirmwareVersion =
= TvUnderscan =
This is "nn::settings::system::FirmwareVersion".
This is s32. It defines the percentage point reduction from a 100% baseline.
 
= HandheldSleepPlan =
This is "nn::settings::system::HandheldSleepPlan".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x1 || Major
| 0 || 1Min
|-
|-
| 0x1 || 0x1 || Minor
| 1 || 3Min
|-
|-
| 0x2 || 0x1 || Micro
| 2 || 5Min
|-
|-
| 0x3 || 0x1 || Reserved
| 3 || 10Min
|-
|-
| 0x4 || 0x4 || ReleaseNumber
| 4 || 30Min
|-
|-
| 0x8 || 0x20 || Platform
| 5 || Never
|-
| 0x28 || 0x40 || Revision
|-
| 0x68 || 0x18 || DisplayVersion
|-
| 0x80 || 0x80 || DisplayName
|}
|}


= PtmFuelGaugeParameter =
= ConsoleSleepPlan =
This is "nn::settings::system::PtmFuelGaugeParameter".
This is "nn::settings::system::ConsoleSleepPlan".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x2 || Rcomp0
| 0 || 1Hour
|-
|-
| 0x2 || 0x2 || TempCo
| 1 || 2Hour
|-
|-
| 0x4 || 0x2 || FullCap
| 2 || 3Hour
|-
|-
| 0x6 || 0x2 || FullCapNom
| 3 || 6Hour
|-
|-
| 0x8 || 0x2 || IavgEmpty
| 4 || 12Hour
|-
|-
| 0xA || 0x2 || QrTable00
| 5 || Never
|}
 
= EulaVersion =
This is "nn::settings::system::EulaVersion".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Version
|-
|-
| 0xC || 0x2 || QrTable10
| 0x4 || 0x4 || [[#RegionCode_2|RegionCode]]
|-
|-
| 0xE || 0x2 || QrTable20
| 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]]
|-
|-
| 0x10 || 0x2 || QrTable30
| 0xC || 0x4 || Reserved
|-
|-
| 0x12 || 0x2 || Reserved
| 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkSystemClock]]
|-
|-
| 0x14 || 0x4 || Cycles
| 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClock]]
|}
|}


= SecuritySettings =
= FirmwareVersion =
This is "nn::settings::system::SecuritySettings".
This is "nn::settings::system::FirmwareVersion".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,847: Line 2,109:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x4 || AuthenticationMode
| 0x0 || 0x1 || Major
|-
|-
| 0x4 || 0x4 || EncryptionMode
| 0x1 || 0x1 || Minor
|-
|-
| 0x8 || 0x40 || KeyMaterial
| 0x2 || 0x1 || Micro
|-
| 0x3 || 0x1 || Reserved
|-
| 0x4 || 0x4 || ReleaseNumber
|-
|-
| 0x48 || 0x4 || KeyMaterialLength
| 0x8 || 0x20 || Platform
|}
 
= NotificationTime =
This is "nn::settings::system::NotificationTime".
 
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
| 0x28 || 0x40 || Revision
|-
|-
| 0x0 || 0x4 || Hour
| 0x68 || 0x18 || DisplayVersion
|-
|-
| 0x4 || 0x4 || Minute
| 0x80 || 0x80 || DisplayName
|}
|}


= NotificationFlag =
= PtmFuelGaugeParameter =
This is "nn::settings::system::NotificationFlag".
This is "nn::settings::system::PtmFuelGaugeParameter".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
! Description
|-
|-
| 0 || RingtoneFlag
! Offset || Size || Description
|-
|-
| 1 || DownloadCompletionFlag
| 0x0 || 0x2 || Rcomp0
|-
|-
| 8 || EnablesNews
| 0x2 || 0x2 || TempCo
|-
|-
| 9 || IncomingLampFlag
| 0x4 || 0x2 || FullCap
|-
| 0x6 || 0x2 || FullCapNom
|-
| 0x8 || 0x2 || IavgEmpty
|-
| 0xA || 0x2 || QrTable00
|-
| 0xC || 0x2 || QrTable10
|-
| 0xE || 0x2 || QrTable20
|-
| 0x10 || 0x2 || QrTable30
|-
| 0x12 || 0x2 || Reserved
|-
| 0x14 || 0x4 || Cycles
|}
|}


= NotificationSettings =
= SecuritySettings =
This is "nn::settings::system::NotificationSettings".
This is "nn::settings::system::SecuritySettings".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,891: Line 2,165:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x4 || [[#NotificationFlag|Flags]]
| 0x0 || 0x4 || AuthenticationMode
|-
|-
| 0x4 || 0x4 || [[#NotificationVolume|Volume]]
| 0x4 || 0x4 || EncryptionMode
|-
|-
| 0x8 || 0x8 || [[#NotificationTime|HeadTime]]
| 0x8 || 0x40 || KeyMaterial
|-
|-
| 0x10 || 0x8 || [[#NotificationTime|TailTime]]
| 0x48 || 0x4 || KeyMaterialLength
|}
|}


= AccountNotificationFlag =
= NotificationTime =
This is "nn::settings::system::AccountNotificationFlag".
This is "nn::settings::system::NotificationTime".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Hour
|-
| 0x4 || 0x4 || Minute
|}
 
= NotificationFlag =
This is "nn::settings::system::NotificationFlag".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,907: Line 2,193:
! Description
! Description
|-
|-
| 0 || FriendOnlineFlag
| 0 || RingtoneFlag
|-
| 1 || DownloadCompletionFlag
|-
|-
| 1 || FriendRequestFlag
| 8 || EnablesNews
|-
|-
| 8 || CoralInvitationFlag
| 9 || IncomingLampFlag
|}
|}


= AccountNotificationSettings =
= NotificationSettings =
This is "nn::settings::system::AccountNotificationSettings".
This is "nn::settings::system::NotificationSettings".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,921: Line 2,209:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x10 || [[Account_services#Uid|Uid]]
| 0x0 || 0x4 || [[#NotificationFlag|Flags]]
|-
|-
| 0x10 || 0x4 || [[#AccountNotificationFlag|Flags]]
| 0x4 || 0x4 || [[#NotificationVolume|Volume]]
|-
| 0x8 || 0x8 || [[#NotificationTime|HeadTime]]
|-
| 0x10 || 0x8 || [[#NotificationTime|TailTime]]
|}
 
= AccountNotificationFlag =
This is "nn::settings::system::AccountNotificationFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0 || FriendOnlineFlag
|-
| 1 || FriendRequestFlag
|-
| 8 || CoralInvitationFlag
|}
 
= AccountNotificationSettings =
This is "nn::settings::system::AccountNotificationSettings".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x10 || [[Account_services#Uid|Uid]]
|-
| 0x10 || 0x4 || [[#AccountNotificationFlag|Flags]]
|-
|-
| 0x14 || 0x1 || [[#FriendPresenceOverlayPermission|FriendPresenceOverlayPermission]]
| 0x14 || 0x1 || [[#FriendPresenceOverlayPermission|FriendPresenceOverlayPermission]]
Line 1,965: Line 2,283:
| 0x10 || 0x4 || [[#CmuMode|CmuMode]]
| 0x10 || 0x4 || [[#CmuMode|CmuMode]]
|-
|-
| 0x14 || 0x4 || TvUnderscan
| 0x14 || 0x4 || [[#TvUnderscan|TvUnderscan]]
|-
|-
| 0x18 || 0x4 || TvGamma
| 0x18 || 0x4 || TvGamma
Line 2,154: Line 2,472:
|-
|-
| 2 ||  
| 2 ||  
|}
= HomeMenuScheme =
This is "nn::settings::system::HomeMenuScheme".
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || MainColor
|-
| 0x4 || 0x4 || BackColor
|-
| 0x8 || 0x4 || SubColor
|-
| 0xC || 0x4 || Reserved
|-
| 0x10 || 0x4 || BezelColor
|}
|}


Line 2,197: Line 2,533:
| 0x0 || 0x6 || [[BTM_services#BdAddress|BdAddr]]
| 0x0 || 0x6 || [[BTM_services#BdAddress|BdAddr]]
|-
|-
| 0x6 || 0x20 || [[BTM_services#BdName|DeviceName]]
| 0x6 || 0x20 || [13.0.0+] Reserved ([1.0.0-12.1.0] [[BTM_services#BdName|DeviceName]])
|-
|-
| 0x26 || 0x3 || [[BTM_services#ClassOfDevice|ClassOfDevice]]
| 0x26 || 0x3 || [[BTM_services#ClassOfDevice|ClassOfDevice]]
|-
|-
| 0x29 || 0x10 || LinkKey
| 0x29 || 0x10 || LinkKey
|-
|-
| 0x39 || 0x1 || LinkKeyPresent
| 0x39 || 0x1 || LinkKeyPresent
|-
|-
| 0x3A || 0x2 || Version
| 0x3A || 0x2 || Version
|-
|-
| 0x3C || 0x4 || TrustedServices
| 0x3C || 0x4 || TrustedServices
|-
| 0x40 || 0x2 || Vid
|-
| 0x42 || 0x2 || Pid
|-
| 0x44 || 0x1 || SubClass
|-
| 0x45 || 0x1 || AttributeMask
|-
| 0x46 || 0x2 || DescriptorLength
|-
| 0x48 || 0x80 || Descriptor
|-
| 0xC8 || 0x1 || KeyType
|-
| 0xC9 || 0x1 || DeviceType
|-
| 0xCA || 0x2 || BrrSize
|-
| 0xCC || 0x9 || Brr
|-
| 0xD5 || 0x1 || [13.0.0+] AudioSourceVolume
|-
| 0xD6 || 0xF9 || [13.0.0+] DeviceName
|-
| 0x1CF || 0x1 || [15.0.0+] AudioSinkVolume
|-
| 0x1D0 || 0x4 || [14.0.0+] AudioFlags
|-
| 0x1D4 || 0x2C || Reserved
|}
 
= NxControllerLegacySettings =
This is "nn::settings::system::NxControllerLegacySettings" ([1.0.0-12.1.0] "nn::settings::system::NxControllerSettings"). This is a 0x29-byte struct.
 
= NxControllerSettings =
This is "nn::settings::system::NxControllerSettings". This is a 0x42C-byte struct. This was added with [13.0.0+].
 
= ProductModel =
Ths is "nn::settings::system::ProductModel".
 
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0 || Invalid
|-
| 1 || Nx
|-
| 2 || NxCopper
|-
| 3 || NxIowa
|-
| 4 || NxHoag
|-
| 5 || NxCalcio
|-
| 6 || NxAula
|-
| 7 || ([[#ProductModelName|ProductModelName]] BEE)
|-
| 8 || [22.5.0+] ([[#ProductModelName|ProductModelName]] OSM)
|-
| 9 ||
|-
| 10 ||
|-
| 11 ||
|-
| 12 ||
|}
 
Range 1-6 is Nintendo Switch, range 7-12 is Nintendo Switch 2.
 
= ProductModelName =
This is "nn::settings::system::ProductModelName". This is a 0x8-byte struct containing a [[#ProductModel|string]].
 
{| class="wikitable" border="1"
|-
! Value
! [[#ProductModel|ProductModel]]
|-
|-
| 0x40 || 0x2 || Vid
| "HAC" || 1
|-
|-
| 0x42 || 0x2 || Pid
| "HAD" || 3
|-
|-
| 0x44 || 0x1 || SubClass
| "HDH" || 4
|-
|-
| 0x45 || 0x1 || AttributeMask
| "HEG" || 6
|-
|-
| 0x46 || 0x2 || DescriptorLength
| "BEE" || 7
|-
|-
| 0x48 || 0x80 || Descriptor
| "OSM" || [22.5.0+] 8
|-
| 0xC8 || 0x1 || KeyType
|-
| 0xC9 || 0x1 || DeviceType
|-
| 0xCA || 0x2 || BrrSize
|-
| 0xCC || 0x9 || Brr
|-
| 0xD5 || 0x12B || Reserved
|}
|}


= NxControllerLegacySettings =
= SystemConfiguration =
This is "nn::settings::system::NxControllerLegacySettings" ([1.0.0-12.1.0] "nn::settings::system::NxControllerSettings"). This is a 0x29-byte struct.
 
= NxControllerSettings =
This is "nn::settings::system::NxControllerSettings". This is a 0x42C-byte struct. This was added with [13.0.0+].
 
= System Configuration =
There's a common configuration title (*818), and one configuration title for each [[SMC#HardwareType|HardwareType]].
There's a common configuration title (*818), and one configuration title for each [[SMC#HardwareType|HardwareType]].