ECDeviceInfo
Device information, easily accessible
When you need information about the user's device, you call ECommerceInterface#getDeviceInfo(). This ranges from storage information to device identifiers.
var info = ec.getDeviceInfo();

Properties

Property Name
Discussion
info.isKeyPairConfirmed
Always returns true. Related to ECommerceInterface#generateKeyPair() and ECommerceInterface#confirmKeyPair(), which are not implemented.
info.deviceId
Sourced from ec.cfg.
info.serial
The device's serial number, as sourced from /title/0000001/0000002/data/setting.txt .
info.accountId
A value returned from the server. TODO: research.
info.registrationStatus
Set once ec.checkRegistration() is called.
info.originalSerial
Blank by default. Nintendo can override the Wii's serial number for purposes of the account transferring consoles.
info.extAccountId
Sent by server during ec.checkRegistration().
info.region
The device's region, such as USA.
info.language
The device's language, such as en.
info.country
The device's country, such as US. Sourced from the Wii itself.
info.accountCountry
The account's country, such as US. Sourced from the response to ec.checkRegistration().
info.blockSize
How many bytes a block is. This should always be 16 KiB, or 16,384 bytes.
info.usedBlocks
The amount of used blocks on the device.
info.totalBlocks
The total amount of blocks on the device.
info.usedSysBlocks
The amount of blocks used up by system data.
info.totalSysBlocks
The amount of blocks allocated for use to the system.
info.usedUserInodes
The amount of Inodes available to user data.
info.maxUserInodes
The cap on Inodes available to the user.
info.usedSysInodes
The amount of used Inodes by the system.
info.maxSysInodes
The cap of Inodes available to the system.
Copy link