Difference between revisions of "Cfg:GetSystemModel"

From 3dbrew
Jump to navigation Jump to search
Line 44: Line 44:
 
| Nintendo 2DS
 
| Nintendo 2DS
 
|}
 
|}
 +
 +
=Description=
 +
This uses the code for [[CfgS:GetConfigInfoBlk8]] to load 4-bytes from blkID 0x000F0004. The first u8 from this output is written to the command-response output u8. When this value=3 for Nintendo 2DS, this uses the code for [[CfgS:SecureInfoGetSerialNo]] to load the SerialNo. The first byte from the SerialNo must be 'A' or 'P' when the above value is set for Nintendo 2DS, otherwise this returns error 0xD8A10006 and clears the output u8 to value zero.

Revision as of 18:30, 22 July 2014

Request

Index Word Description
0 Header code [0x00050000]

Response

Index Word Description
0 Header code
1 Result code
2 u8 output system model

System Model Values

Value Description
0 Nintendo 3DS
1 Nintendo 3DS XL
2 ?
3 Nintendo 2DS

Description

This uses the code for CfgS:GetConfigInfoBlk8 to load 4-bytes from blkID 0x000F0004. The first u8 from this output is written to the command-response output u8. When this value=3 for Nintendo 2DS, this uses the code for CfgS:SecureInfoGetSerialNo to load the SerialNo. The first byte from the SerialNo must be 'A' or 'P' when the above value is set for Nintendo 2DS, otherwise this returns error 0xD8A10006 and clears the output u8 to value zero.