Difference between revisions of "Config Services"

From 3dbrew
Jump to navigation Jump to search
Line 5: Line 5:
 
|-
 
|-
 
!  Command Header
 
!  Command Header
 +
!  Available since system version
 
!  Description
 
!  Description
 
|-
 
|-
 
| 0x00010082
 
| 0x00010082
 +
|
 
| [[CfgS:GetConfigInfoBlk2|GetConfigInfoBlk2]]
 
| [[CfgS:GetConfigInfoBlk2|GetConfigInfoBlk2]]
 
|-
 
|-
 
| 0x00020000
 
| 0x00020000
 +
|
 
| [[Cfg:SecureInfoGetRegion|SecureInfoGetRegion]]
 
| [[Cfg:SecureInfoGetRegion|SecureInfoGetRegion]]
 
|-
 
|-
 
| 0x00030000
 
| 0x00030000
 +
|
 
| [[Cfg:GenHashConsoleUnique|GenHashConsoleUnique]]
 
| [[Cfg:GenHashConsoleUnique|GenHashConsoleUnique]]
 
|-
 
|-
 
| 0x00040000
 
| 0x00040000
 +
|
 
| [[Cfg:GetRegionCanadaUSA|GetRegionCanadaUSA]]
 
| [[Cfg:GetRegionCanadaUSA|GetRegionCanadaUSA]]
 
|-
 
|-
 
| 0x00050000
 
| 0x00050000
 +
| [[5.0.0-11]]
 
| [[Cfg:GetSystemModel|GetSystemModel]]
 
| [[Cfg:GetSystemModel|GetSystemModel]]
 
|-
 
|-
 
| 0x00060000
 
| 0x00060000
 +
|
 
| [[Cfg:GetModelNintendo2DS|GetModelNintendo2DS]]
 
| [[Cfg:GetModelNintendo2DS|GetModelNintendo2DS]]
 
|-
 
|-
 
| 0x00070040
 
| 0x00070040
 +
|
 
| (u8 val) This writes the input u8 to the first byte in the config-block for blkID [[Config_Savegame|0x00160000]].
 
| (u8 val) This writes the input u8 to the first byte in the config-block for blkID [[Config_Savegame|0x00160000]].
 
|}
 
|}

Revision as of 20:11, 28 July 2014


Config services

Command Header Available since system version Description
0x00010082 GetConfigInfoBlk2
0x00020000 SecureInfoGetRegion
0x00030000 GenHashConsoleUnique
0x00040000 GetRegionCanadaUSA
0x00050000 5.0.0-11 GetSystemModel
0x00060000 GetModelNintendo2DS
0x00070040 (u8 val) This writes the input u8 to the first byte in the config-block for blkID 0x00160000.

Config service "cfg:s"

Command Header Description
0x04010082 GetConfigInfoBlk8
0x04050000 GetLocalFriendCodeSeed
0x04060000 GetRegion
0x04070000 SecureInfoGetByte101
0x04080042 SecureInfoGetSerialNo

Config service "cfg:i"

Command Header Description
0x04050000 GetLocalFriendCodeSeed
0x08110084 SetSecureInfo
0x08140042 SecureInfoGetData
0x08150042 SecureInfoGetSignature
0x08160000 SecureInfoGetRegion

Config service "cfg:u"

Config NVRAM service "cfg:nor"

Command Header Description
0x00010040 Initialize
0x00020000 Shutdown
0x00050082 ReadData
0x00060082 WriteData

This is an interface for the "SPI::NOR" service, for accessing the Wifi NVRAM/SPI Flash.