Settings services: Difference between revisions

No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 96: Line 96:
|-
|-
| 23 || [9.0.0+] SetMemoryUsageRateFlag
| 23 || [9.0.0+] SetMemoryUsageRateFlag
|-
| 24 || [20.0.0+] CommitSettings
|}
|}


Line 783: Line 785:
|-
|-
| 252 || [18.0.0+] SetAccountIdentificationSettings
| 252 || [18.0.0+] SetAccountIdentificationSettings
|-
| 263 || [20.0.0+] AcquireVphymDirtyFlagEventHandle
|-
| 264 || [20.0.0+] GetVphymDirtyFlags
|-
| 282 || [20.0.0+] ConvertToProductModel
|-
| 283 || [20.0.0+] ConvertToProductModelName
|-
| 289 || [20.0.0+] GetDefaultAccountIdentificationFlagSet
|-
| 300 || [20.0.0+] AcquirePushNotificationDirtyFlagEventHandle
|-
| 301 || [20.0.0+] GetPushNotificationDirtyFlags
|-
| 306 || [20.0.0+] GetPinCodeReregistrationGuideAccounts
|-
| 307 || [20.0.0+] SetPinCodeReregistrationGuideAccounts
|}
|}


Line 912: Line 932:


== GetAllowedSslHosts ==
== GetAllowedSslHosts ==
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.
Takes a type-0x6 output buffer. Returns an output s32 entry count.


== GetRebootlessSystemUpdateVersion ==
== GetRebootlessSystemUpdateVersion ==
Line 944: Line 964:


== GetHomeMenuScheme ==
== GetHomeMenuScheme ==
No input, returns an output 0x14-byte struct "nn::settings::system::HomeMenuScheme".
No input. Returns an output [[#HomeMenuScheme]].
 
This struct contains 5 RGBA8 u32s for colors: '''Main''', '''Back''', '''Sub''', '''Bezel''' and '''Extra'''.


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.
The colors are loaded from [[Calibration]], with the set of fields to use selected by [[Calibration#ColorVariation|ColorVariation]].


== GetT ==
== GetT ==
Line 967: Line 985:


== GetHomeMenuSchemeModel ==
== GetHomeMenuSchemeModel ==
No input, returns an output u32.
No input. Returns an output u32.


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]].
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]].


== GetMemoryUsageRateFlag ==
== GetMemoryUsageRateFlag ==
Line 1,232: Line 1,250:
|-
|-
| "MNX" || Mariko NX (retail Iowa)
| "MNX" || Mariko NX (retail Iowa)
|-
| "HNX" || Hoag NX (retail Hoag)
|-
|-
| "ANX" || Aula NX (retail Aula)
| "ANX" || Aula NX (retail Aula)
Line 1,450: Line 1,470:
|-
|-
| 0x80 || 0x80 || Data1
| 0x80 || 0x80 || Data1
|-
| 0x100 || 0x80 || [13.0.0+] Data2
|-
| 0x180 || 0x80 || [13.0.0+] Data3
|}
|}


Line 2,040: Line 2,064:
|-
|-
| 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,083: Line 2,125:
| 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]]
Line 2,115: Line 2,157:
| 0xCC || 0x9 || Brr
| 0xCC || 0x9 || Brr
|-
|-
| 0xD5 || 0x12B || Reserved
| 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
|}
|}