Changes

Jump to navigation Jump to search
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 [[Joy-Con#AnalogStickCalibrationValue|AnalogStickCalibrationValue]].
+
This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[Calibration#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]].
    
= AnalogStickModelParameter =
 
= AnalogStickModelParameter =
This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Joy-Con#AnalogStickModelValue|AnalogStickModelValue]].
+
This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Calibration#AnalogStickModelParameter|AnalogStickModelParameter]].
 
  −
= AnalogStickModuleType =
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0x23 || H1
  −
|-
  −
| 0x25 || H5
  −
|-
  −
| 0x41 || F1
  −
|}
      
= BatteryLot =
 
= BatteryLot =
This is "nn::settings::factory::BatteryLot" or "nn::settings::BatteryLot". This is a 0x18-byte struct.
+
This is "nn::settings::BatteryLot". This is a 0x18-byte struct.
 
  −
= BatteryVersion =
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0 ||
  −
|-
  −
| 1 ||
  −
|-
  −
| 2 ||
  −
|}
      
= BdAddress =
 
= BdAddress =
Line 1,280: Line 1,254:     
= ConsoleSixAxisSensorHorizontalOffset =
 
= ConsoleSixAxisSensorHorizontalOffset =
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Joy-Con#SixAxisSensorModelValue|SixAxisSensorModelValue]].
+
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Calibration#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]].
 
  −
= ConsoleSixAxisSensorModuleType =
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0 || Invalid
  −
|-
  −
| 1 || Lsm6ds3
  −
|-
  −
| 2 ||
  −
|-
  −
| 3 ||
  −
|-
  −
| 4 || Lsm6ds3trc
  −
|-
  −
| 5 || Icm40607
  −
|-
  −
| 6 || Icm42607p
  −
|}
  −
 
  −
= ConsoleSixAxisSensorMountType =
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0 ||
  −
|}
      
= 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.
  −
= LcdVendorId =
  −
{| class="wikitable" border="1"
  −
|-
  −
! Offset || Size || Description
  −
|-
  −
| 0x0 || 0x1 || [[#Vendor|Vendor]]
  −
|-
  −
| 0x1 || 0x1 || Model
  −
|-
  −
| 0x2 || 0x1 || [[#Board|Board]]
  −
|-
  −
| 0x3 || 0x1 || Reserved
  −
|}
  −
  −
== Vendor ==
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0x10 || JDI
  −
|-
  −
| 0x20 || InnoLux
  −
|-
  −
| 0x30 || AUO
  −
|-
  −
| 0x40 || Sharp
  −
|-
  −
| 0x50 || Samsung
  −
|}
  −
  −
== Board ==
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0xF || Icosa/Iowa
  −
|-
  −
| 0x10 || Hoag
  −
|-
  −
| 0x20 || Aula
  −
|}
      
= 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]].
 
  −
{| class="wikitable" border="1"
  −
|-
  −
! Offset || Size || Description
  −
|-
  −
| 0x0 || 0x2 || Version
  −
|-
  −
| 0x2 || 0x22 || Reserved
  −
|-
  −
| 0x24 || 0x2 || SpeakerHpf2A1
  −
|-
  −
| 0x26 || 0x2 || SpeakerHpf2A2
  −
|-
  −
| 0x28 || 0x2 || SpeakerHpf2H0
  −
|-
  −
| 0x2A || 0x2 || SpeakerEqInputVolume
  −
|-
  −
| 0x2C || 0x2 || SpeakerEqOutputVolume
  −
|-
  −
| 0x2E || 0x2 || SpeakerEqCtrl1
  −
|-
  −
| 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 =
 
= SslCertificate =
Line 1,539: Line 1,390:  
|-
 
|-
 
| 6 || Taiwan
 
| 6 || Taiwan
|}
  −
  −
= UsbTypeCPowerSourceCircuitVersion =
  −
{| class="wikitable" border="1"
  −
|-
  −
! Value
  −
! Description
  −
|-
  −
| 0 ||
   
|}
 
|}
  

Navigation menu