Settings services: Difference between revisions
No edit summary |
No edit summary |
||
| Line 209: | Line 209: | ||
== GetBluetoothBdAddress == | == GetBluetoothBdAddress == | ||
No input. Returns a [[#BdAddress]]. | No input. Returns a [[#BdAddress|BdAddress]]. | ||
== GetConfigurationId1 == | == GetConfigurationId1 == | ||
No input. Returns a [[#ConfigurationId1]]. | No input. Returns a [[#ConfigurationId1|ConfigurationId1]]. | ||
== GetAccelerometerOffset == | == GetAccelerometerOffset == | ||
No input. Returns a [[#AccelerometerOffset]]. | No input. Returns a [[#AccelerometerOffset|AccelerometerOffset]]. | ||
== GetAccelerometerScale == | == GetAccelerometerScale == | ||
No input. Returns a [[#AccelerometerScale]]. | No input. Returns a [[#AccelerometerScale|AccelerometerScale]]. | ||
== GetGyroscopeOffset == | == GetGyroscopeOffset == | ||
No input. Returns a [[#GyroscopeOffset]]. | No input. Returns a [[#GyroscopeOffset|GyroscopeOffset]]. | ||
== GetGyroscopeScale == | == GetGyroscopeScale == | ||
No input. Returns a [[#GyroscopeScale]]. | No input. Returns a [[#GyroscopeScale|GyroscopeScale]]. | ||
== GetWirelessLanMacAddress == | == GetWirelessLanMacAddress == | ||
No input. Returns a [[#MacAddress]]. | No input. Returns a [[#MacAddress|MacAddress]]. | ||
== GetWirelessLanCountryCodeCount == | == GetWirelessLanCountryCodeCount == | ||
| Line 233: | Line 233: | ||
== GetWirelessLanCountryCodes == | == GetWirelessLanCountryCodes == | ||
Takes a type-0x16 output buffer containing an array of [[#CountryCode]]. Returns a s32 '''OutCount'''. | Takes a type-0x16 output buffer containing an array of [[#CountryCode|CountryCode]]. Returns a s32 '''OutCount'''. | ||
== GetSerialNumber == | == GetSerialNumber == | ||
No input. Returns a [[#SerialNumber]]. | No input. Returns a [[#SerialNumber|SerialNumber]]. | ||
== SetInitialSystemAppletProgramId == | == SetInitialSystemAppletProgramId == | ||
| Line 245: | Line 245: | ||
== GetBatteryLot == | == GetBatteryLot == | ||
No input. Returns a [[#BatteryLot]]. | No input. Returns a [[#BatteryLot|BatteryLot]]. | ||
== GetEciDeviceCertificate == | == GetEciDeviceCertificate == | ||
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate|EccB233DeviceCertificate]]. No output. | ||
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this. | Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this. | ||
== GetEticketDeviceCertificate == | == GetEticketDeviceCertificate == | ||
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate|Rsa2048DeviceCertificate]]. No output. | ||
Returns the ETicket certificate (RSA signed). | Returns the ETicket certificate (RSA signed). | ||
== GetSslKey == | == GetSslKey == | ||
Takes a type-0x16 output buffer containing a [[#SslKey]]. No output. | Takes a type-0x16 output buffer containing a [[#SslKey|SslKey]]. No output. | ||
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). | 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). | ||
| Line 265: | Line 265: | ||
== GetSslCertificate == | == GetSslCertificate == | ||
Takes a type-0x16 output buffer containing a [[#SslCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#SslCertificate|SslCertificate]]. No output. | ||
Used by SSL-sysmodule, see [[SSL_services|here]]. | Used by SSL-sysmodule, see [[SSL_services|here]]. | ||
== GetGameCardKey == | == GetGameCardKey == | ||
Takes a type-0x16 output buffer containing a [[#GameCardKey]]. No output. | Takes a type-0x16 output buffer containing a [[#GameCardKey|GameCardKey]]. No output. | ||
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). | 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). | ||
== GetGameCardCertificate == | == GetGameCardCertificate == | ||
Takes a type-0x16 output buffer containing a [[#GameCardCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#GameCardCertificate|GameCardCertificate]]. No output. | ||
== GetEciDeviceKey == | == GetEciDeviceKey == | ||
No input. Returns an [[#EccB233DeviceKey]]. | No input. Returns an [[#EccB233DeviceKey|EccB233DeviceKey]]. | ||
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). | 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). | ||
== GetEticketDeviceKey == | == GetEticketDeviceKey == | ||
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey]]. No output. | Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey|Rsa2048DeviceKey]]. No output. | ||
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). | 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). | ||
== GetSpeakerParameter == | == GetSpeakerParameter == | ||
No input. Returns a [[#SpeakerParameter]]. | No input. Returns a [[#SpeakerParameter|SpeakerParameter]]. | ||
== GetLcdVendorId == | == GetLcdVendorId == | ||
No input. Returns a [[#LcdVendorId]]. | No input. Returns a [[Calibration#LcdVendorId|LcdVendorId]]. | ||
== GetEciDeviceCertificate2 == | == GetEciDeviceCertificate2 == | ||
| Line 300: | Line 300: | ||
== GetAmiiboKey == | == GetAmiiboKey == | ||
No input. Returns an [[#AmiiboKey]]. | No input. Returns an [[#AmiiboKey|AmiiboKey]]. | ||
== GetAmiiboEcqvCertificate == | == GetAmiiboEcqvCertificate == | ||
No input. Returns an [[#AmiiboEcqvCertificate]]. | No input. Returns an [[#AmiiboEcqvCertificate|AmiiboEcqvCertificate]]. | ||
== GetAmiiboEcdsaCertificate == | == GetAmiiboEcdsaCertificate == | ||
No input. Returns an [[#AmiiboEcdsaCertificate]]. | No input. Returns an [[#AmiiboEcdsaCertificate|AmiiboEcdsaCertificate]]. | ||
== GetAmiiboEcqvBlsKey == | == GetAmiiboEcqvBlsKey == | ||
No input. Returns an [[#AmiiboEcqvBlsKey]]. | No input. Returns an [[#AmiiboEcqvBlsKey|AmiiboEcqvBlsKey]]. | ||
== GetAmiiboEcqvBlsCertificate == | == GetAmiiboEcqvBlsCertificate == | ||
No input. Returns an [[#AmiiboEcqvBlsCertificate]]. | No input. Returns an [[#AmiiboEcqvBlsCertificate|AmiiboEcqvBlsCertificate]]. | ||
== GetAmiiboEcqvBlsRootCertificate == | == GetAmiiboEcqvBlsRootCertificate == | ||
No input. Returns an [[#AmiiboEcqvBlsRootCertificate]]. | No input. Returns an [[#AmiiboEcqvBlsRootCertificate|AmiiboEcqvBlsRootCertificate]]. | ||
== GetUsbTypeCPowerSourceCircuitVersion == | == GetUsbTypeCPowerSourceCircuitVersion == | ||
No input. Returns an [[#UsbTypeCPowerSourceCircuitVersion]]. | No input. Returns an [[Calibration#UsbTypeCPowerSourceCircuit|UsbTypeCPowerSourceCircuitVersion]]. | ||
== GetAnalogStickModuleTypeL == | == GetAnalogStickModuleTypeL == | ||
No input. Returns an [[#AnalogStickModuleType]]. | No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]]. | ||
== GetAnalogStickModelParameterL == | == GetAnalogStickModelParameterL == | ||
No input. Returns an [[#AnalogStickModelParameter]]. | No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
== GetAnalogStickFactoryCalibrationL == | == GetAnalogStickFactoryCalibrationL == | ||
No input. Returns an [[#AnalogStickFactoryCalibration]]. | No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
== GetAnalogStickModuleTypeR == | == GetAnalogStickModuleTypeR == | ||
No input. Returns an [[#AnalogStickModuleType]]. | No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]]. | ||
== GetAnalogStickModelParameterR == | == GetAnalogStickModelParameterR == | ||
No input. Returns an [[#AnalogStickModelParameter]]. | No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
== GetAnalogStickFactoryCalibrationR == | == GetAnalogStickFactoryCalibrationR == | ||
No input. Returns an [[#AnalogStickFactoryCalibration]]. | No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
== GetConsoleSixAxisSensorModuleType == | == GetConsoleSixAxisSensorModuleType == | ||
No input. Returns a [[#ConsoleSixAxisSensorModuleType]]. | No input. Returns a [[Calibration#ConsoleSixAxisSensorModuleType|ConsoleSixAxisSensorModuleType]]. | ||
== GetConsoleSixAxisSensorHorizontalOffset == | == GetConsoleSixAxisSensorHorizontalOffset == | ||
No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset]]. | No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]]. | ||
== GetBatteryVersion == | == GetBatteryVersion == | ||
No input. Returns a [[#BatteryVersion]]. | No input. Returns a [[Calibration#BatteryVersion|BatteryVersion]]. | ||
== GetDeviceId == | == GetDeviceId == | ||
| Line 351: | Line 351: | ||
== GetConsoleSixAxisSensorMountType == | == GetConsoleSixAxisSensorMountType == | ||
No input. Returns a [[#ConsoleSixAxisSensorMountType]]. | No input. Returns a [[Calibration#ConsoleSixAxisSensorMountType|ConsoleSixAxisSensorMountType]]. | ||
= set:sys = | = set:sys = | ||
| Line 1,182: | Line 1,182: | ||
= AnalogStickFactoryCalibration = | = AnalogStickFactoryCalibration = | ||
This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[ | This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[Calibration#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
= AnalogStickModelParameter = | = AnalogStickModelParameter = | ||
This is "nn::settings::factory::AnalogStickModelParameter". Same as [[ | This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Calibration#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
= BatteryLot = | = BatteryLot = | ||
This is | This is "nn::settings::BatteryLot". This is a 0x18-byte struct. | ||
= BdAddress = | = BdAddress = | ||
| Line 1,280: | Line 1,254: | ||
= ConsoleSixAxisSensorHorizontalOffset = | = ConsoleSixAxisSensorHorizontalOffset = | ||
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[ | This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Calibration#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]]. | ||
= CountryCode = | = CountryCode = | ||
| Line 1,377: | Line 1,321: | ||
= MacAddress = | = MacAddress = | ||
This is "nn::settings::factory::MacAddress". This is a 0x6-byte struct. | This is "nn::settings::factory::MacAddress". This is a 0x6-byte struct. | ||
= Rsa2048DeviceCertificate = | = Rsa2048DeviceCertificate = | ||
| Line 1,442: | Line 1,342: | ||
= SpeakerParameter = | = SpeakerParameter = | ||
This is "nn::settings::factory::SpeakerParameter". | This is "nn::settings::factory::SpeakerParameter". This is copied from the first 0x5A bytes of [[Calibration#SpeakerCalibrationValue|SpeakerCalibrationValue]]. | ||
= SslCertificate = | = SslCertificate = | ||
| Line 1,539: | Line 1,390: | ||
|- | |- | ||
| 6 || Taiwan | | 6 || Taiwan | ||
|} | |} | ||