wut
v1.7.0
Wii U Toolchain
|
Data Structures | |
struct | CCRCDCRegisterCallbackData |
struct | CCRCDCMacAddress |
struct | CCRCDCWpsArgs |
struct | CCRCDCSysMessage |
struct | CCRCDCSysInfo |
struct | CCRCDCEepromData |
struct | CCRCDCWowlWakeDrcArg |
struct | CCRCDCUicConfig |
struct | CCRCDCFWInfo |
struct | CCRCDCSoftwareVersion |
struct | CCRCDCDrcState |
struct | CCRCDCDrhState |
Functions | |
int32_t | CCRCDCCommand (uint8_t unk, uint8_t fragment, CCRCDCDestination dest, uint8_t flags0, uint8_t flags1, uint8_t service, uint8_t method, void *payload, uint32_t payloadSize, void *reply, uint32_t replySize) |
Send a command directly to the specified destination. More... | |
int32_t | CCRCDCDevicePing (CCRCDCDestination dest) |
Send a ping to the specified destination. More... | |
int32_t | CCRCDCSetStationId (CCRCDCMacAddress *id) |
int32_t | CCRCDCGetMacAddress (CCRCDCDestination dest, CCRCDCMacAddress *mac) |
Gets the mac address of the specified destination. More... | |
int32_t | CCRCDCGetMultiDrc (uint8_t *numDrcs) |
Gets the amount of DRCs which can be connected to the system. More... | |
int32_t | CCRCDCSetMultiDrc (uint8_t numDrcs) |
Sets the amount of DRCs which can be connected to the system. More... | |
int32_t | CCRCDCSysGetDrcState (CCRCDCDestination dest, CCRCDCDrcState *state) |
Gets the state of the specified DRC. More... | |
int32_t | CCRCDCSysSetDrcState (CCRCDCDestination dest, CCRCDCDrcState *state) |
Sets the state of the specified DRC. More... | |
int32_t | CCRCDCSysGetDrhState (CCRCDCDrhState *state) |
Gets the Drh State. More... | |
int32_t | CCRCDCSysSetDrhState (CCRCDCDrhState *state) |
Sets the Drh State. More... | |
int32_t | CCRCDCWpsStart (void) |
Start WPS (WiFi Protected Setup) on the DRH. More... | |
int32_t | CCRCDCWpsStartEx (CCRCDCWpsArgs *args) |
Start WPS (WiFi Protected Setup) on the DRH. More... | |
int32_t | CCRCDCWpsStatus (CCRCDCWpsStatusType *status) |
Get the WPS status. More... | |
int32_t | CCRCDCWpsStop (void) |
Stop WPS. More... | |
int32_t | CCRCDCSysGetInfo (CCRCDCDestination dest, CCRCDCSysInfo *info) |
Get system information. More... | |
int32_t | CCRCDCSysDrcDisplayMessage (CCRCDCDestination dest, CCRCDCSysMessage *message) |
Display a message on the specified DRC. More... | |
int32_t | CCRCDCPerGetUicEeprom (CCRCDCDestination dest, CCRCDCEepromData *eeprom) |
Read the Eeprom of the specified device. More... | |
int32_t | CCRCDCPerGetUicEepromEx (CCRCDCDestination dest, CCRCDCEepromData *eeprom, IOSAsyncCallbackFn callback, void *arg) |
Read the Eeprom of the specified device (async version). More... | |
int32_t | CCRCDCSysConsoleShutdownInd (CCRCDCDestination dest) |
Notify the specified device that the console is about to shut down, and the device should shut down as well. More... | |
int32_t | CCRCDCWowlWakeDrc (CCRCDCWowlWakeDrcArg *arg) |
Wake on Wireless LAN (power on) the DRC(s). More... | |
int32_t | CCRCDCPerClearUicConfig (CCRCDCDestination dest) |
This doesn't seem to be implemented on the latest DRC/DRH firmware, and always returns an error. More... | |
int32_t | CCRCDCPerSetUicConfig (CCRCDCDestination dest, CCRCDCUicConfig *config) |
Set a configuration value in the DRC UIC EEPROM. More... | |
uint16_t | CCRCDCCalcCRC16 (void *data, uint32_t dataSize) |
Calculate a CRC16 used for DRC UIC EEPROM values. More... | |
int32_t | CCRCDCGetFWInfo (CCRCDCDestination dest, CCRCDCFWInfo *outInfo) |
Get the firmware info during a pending update. More... | |
int32_t | CCRCDCSoftwareGetVersion (CCRCDCDestination dest, CCRCDCSoftwareVersion *outVersion) |
Get software version information. More... | |
int32_t | CCRCDCSoftwareUpdate (CCRCDCDestination dest, const char *path, IOSAsyncCallbackFn callback, void *userContext) |
Perform a software update. More... | |
int32_t | CCRCDCSoftwareAbort (CCRCDCDestination dest) |
Abort a software update. More... | |
int32_t | CCRCDCSoftwareActivate (CCRCDCDestination dest) |
Activate a performed software update. More... | |
int32_t | CCRCDCSoftwareLangUpdate (CCRCDCDestination dest, const char *path, uint32_t *outVersion, IOSAsyncCallbackFn callback, void *userContext) |
Perform a language update. More... | |
int32_t | CCRCDCSoftwareLangActivate (CCRCDCDestination dest, uint32_t version, uint32_t *outActivationResult) |
Activate a performed language update. More... | |
int32_t | CCRCDCSoftwareGetExtId (CCRCDCDestination dest, CCRCDCExt ext, uint32_t *outId) |
Get an ext id from the specified destination. More... | |
int32_t | CCRCDCSoftwareExtUpdate (CCRCDCDestination dest, const char *path, uint32_t imageSize, uint32_t extId, CCRCDCExt ext, IOSAsyncCallbackFn callback, void *userContext) |
Perform an ext update. More... | |
int32_t | CCRCDCRegisterAOAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
int32_t | CCRCDCRegisterCFGAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
int32_t | CCRCDCRegisterHIDAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
int32_t | CCRCDCRegisterSYSAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
int32_t | CCRCDCRegisterUACAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
int32_t | CCRCDCRegisterUVCAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
int32_t | CCRCDCRegisterVOAttachCallback (CCRCDCRegisterCallbackFn callback, void *context) |
struct CCRCDCRegisterCallbackData |
struct CCRCDCMacAddress |
Data Fields | ||
---|---|---|
CCRCDCDestination | device | The device this mac address belongs to. |
uint8_t | address[6] |
struct CCRCDCWpsArgs |
Data Fields | ||
---|---|---|
uint8_t | hasArgs | Should be set to 1. |
char | pin[8] | The pin code used for WPS. |
uint16_t | timeout | Timeout in seconds. |
CCRCDCDestination | pairDestination |
struct CCRCDCSysMessage |
struct CCRCDCSysInfo |
Data Fields | ||
---|---|---|
CCRCDCBoardVersion | boardVersion | |
CCRCDCChipVersion | chipVersion | |
uint32_t | lvcVersion | |
uint32_t | umiVersion | |
uint32_t | unknown | |
uint32_t | sdCis | |
uint32_t | splId |
struct CCRCDCEepromData |
struct CCRCDCWowlWakeDrcArg |
Data Fields | ||
---|---|---|
CCRCDCWakeState | state | Must be one of CCRCDCWakeStateEnum. |
struct CCRCDCUicConfig |
Data Fields | ||
---|---|---|
CCRCDCUicConfigId | configId | Configuration ID (see CCRCDCUicConfigIdEnum) |
uint8_t | size | Size of the configuration data (must match the size described in CCRCDCUicConfigIdEnum) |
uint8_t | data[0x100] | Configuration data. |
struct CCRCDCFWInfo |
struct CCRCDCSoftwareVersion |
struct CCRCDCDrcState |
Data Fields | ||
---|---|---|
uint8_t | state | Must be one of CCRCDCDrcStateEnum. |
struct CCRCDCDrhState |
Data Fields | ||
---|---|---|
uint8_t | state | Must be one of CCRCDCDrhStateEnum. |
typedef struct CCRCDCMacAddress CCRCDCMacAddress |
typedef struct CCRCDCWpsArgs CCRCDCWpsArgs |
typedef struct CCRCDCSysMessage CCRCDCSysMessage |
typedef struct CCRCDCSysInfo CCRCDCSysInfo |
typedef struct CCRCDCEepromData CCRCDCEepromData |
typedef struct CCRCDCWowlWakeDrcArg CCRCDCWowlWakeDrcArg |
typedef struct CCRCDCUicConfig CCRCDCUicConfig |
typedef struct CCRCDCFWInfo CCRCDCFWInfo |
typedef struct CCRCDCSoftwareVersion CCRCDCSoftwareVersion |
typedef struct CCRCDCDrhState CCRCDCDrhState |
typedef struct CCRCDCDrcState CCRCDCDrcState |
typedef struct CCRCDCRegisterCallbackData CCRCDCRegisterCallbackData |
typedef uint8_t CCRCDCDestination |
typedef uint32_t CCRCDCWpsStatusType |
typedef uint8_t CCRCDCWakeState |
typedef uint8_t CCRCDCUicConfigId |
typedef void(* CCRCDCRegisterCallbackFn) (CCRCDCRegisterCallbackData *, void *) |
typedef enum CCRCDCDestinationEnum CCRCDCDestinationEnum |
typedef enum CCRCDCWpsStatusEnum CCRCDCWpsStatusEnum |
typedef enum CCRCDCDrcStateEnum CCRCDCDrcStateEnum |
typedef enum CCRCDCWakeStateEnum CCRCDCWakeStateEnum |
typedef enum CCRCDCBoardVersion CCRCDCBoardVersion |
typedef enum CCRCDCChipVersion CCRCDCChipVersion |
typedef enum CCRCDCUicConfigIdEnum CCRCDCUicConfigIdEnum |
typedef enum CCRCDCDrhStateEnum CCRCDCDrhStateEnum |
enum CCRCDCWpsStatusEnum |
enum CCRCDCDrcStateEnum |
enum CCRCDCWakeStateEnum |
enum CCRCDCBoardVersion |
enum CCRCDCChipVersion |
enum CCRCDCExt |
enum CCRCDCDrhStateEnum |
int32_t CCRCDCCommand | ( | uint8_t | unk, |
uint8_t | fragment, | ||
CCRCDCDestination | dest, | ||
uint8_t | flags0, | ||
uint8_t | flags1, | ||
uint8_t | service, | ||
uint8_t | method, | ||
void * | payload, | ||
uint32_t | payloadSize, | ||
void * | reply, | ||
uint32_t | replySize | ||
) |
Send a command directly to the specified destination.
dest | The device to send the command to. See CCRCDCDestinationEnum. |
int32_t CCRCDCDevicePing | ( | CCRCDCDestination | dest | ) |
Send a ping to the specified destination.
dest | The device to ping. See CCRCDCDestinationEnum. |
int32_t CCRCDCSetStationId | ( | CCRCDCMacAddress * | id | ) |
int32_t CCRCDCGetMacAddress | ( | CCRCDCDestination | dest, |
CCRCDCMacAddress * | mac | ||
) |
Gets the mac address of the specified destination.
dest | The device to get the mac address from. See CCRCDCDestinationEnum. |
mac | A pointer to write the mac address to. |
int32_t CCRCDCGetMultiDrc | ( | uint8_t * | numDrcs | ) |
Gets the amount of DRCs which can be connected to the system.
numDrcs | A pointer to write the amount to. |
int32_t CCRCDCSetMultiDrc | ( | uint8_t | numDrcs | ) |
Sets the amount of DRCs which can be connected to the system.
numDrcs | The amount of DRCs (must be 1 or 2). |
int32_t CCRCDCSysGetDrcState | ( | CCRCDCDestination | dest, |
CCRCDCDrcState * | state | ||
) |
Gets the state of the specified DRC.
dest | The device to get the state from. See CCRCDCDestinationEnum. |
state | A pointer to write the state to. |
int32_t CCRCDCSysSetDrcState | ( | CCRCDCDestination | dest, |
CCRCDCDrcState * | state | ||
) |
Sets the state of the specified DRC.
dest | The device to set the state. See CCRCDCDestinationEnum. |
state | A pointer to read the state from. |
int32_t CCRCDCSysGetDrhState | ( | CCRCDCDrhState * | state | ) |
Gets the Drh State.
int32_t CCRCDCSysSetDrhState | ( | CCRCDCDrhState * | state | ) |
Sets the Drh State.
int32_t CCRCDCWpsStart | ( | void | ) |
Start WPS (WiFi Protected Setup) on the DRH.
int32_t CCRCDCWpsStartEx | ( | CCRCDCWpsArgs * | args | ) |
Start WPS (WiFi Protected Setup) on the DRH.
args | Additional arguments. |
int32_t CCRCDCWpsStatus | ( | CCRCDCWpsStatusType * | status | ) |
Get the WPS status.
status | A pointer to write the status to. See CCRCDCWpsStatusEnum. |
int32_t CCRCDCWpsStop | ( | void | ) |
Stop WPS.
int32_t CCRCDCSysGetInfo | ( | CCRCDCDestination | dest, |
CCRCDCSysInfo * | info | ||
) |
Get system information.
dest | The device to get the information from. See CCRCDCDestinationEnum. |
info | Pointer to store the info struct to. |
int32_t CCRCDCSysDrcDisplayMessage | ( | CCRCDCDestination | dest, |
CCRCDCSysMessage * | message | ||
) |
Display a message on the specified DRC.
dest | The device to display the message on. See CCRCDCDestinationEnum. |
message | The message struct. |
int32_t CCRCDCPerGetUicEeprom | ( | CCRCDCDestination | dest, |
CCRCDCEepromData * | eeprom | ||
) |
Read the Eeprom of the specified device.
dest | The device to read the eeprom of. See CCRCDCDestinationEnum. |
eeprom | Pointer to write the the eeprom data to. |
int32_t CCRCDCPerGetUicEepromEx | ( | CCRCDCDestination | dest, |
CCRCDCEepromData * | eeprom, | ||
IOSAsyncCallbackFn | callback, | ||
void * | arg | ||
) |
Read the Eeprom of the specified device (async version).
dest | The device to read the eeprom of. See CCRCDCDestinationEnum. |
eeprom | Pointer to write the the eeprom data to. |
int32_t CCRCDCSysConsoleShutdownInd | ( | CCRCDCDestination | dest | ) |
Notify the specified device that the console is about to shut down, and the device should shut down as well.
dest | The device to notify. See CCRCDCDestinationEnum. |
int32_t CCRCDCWowlWakeDrc | ( | CCRCDCWowlWakeDrcArg * | arg | ) |
Wake on Wireless LAN (power on) the DRC(s).
int32_t CCRCDCPerClearUicConfig | ( | CCRCDCDestination | dest | ) |
This doesn't seem to be implemented on the latest DRC/DRH firmware, and always returns an error.
dest | The destination to send the command to. |
int32_t CCRCDCPerSetUicConfig | ( | CCRCDCDestination | dest, |
CCRCDCUicConfig * | config | ||
) |
Set a configuration value in the DRC UIC EEPROM.
dest | The destination to send the command to. |
config | Pointer to configuration data. |
uint16_t CCRCDCCalcCRC16 | ( | void * | data, |
uint32_t | dataSize | ||
) |
Calculate a CRC16 used for DRC UIC EEPROM values.
data | Pointer to the data to calculate the CRC from. |
config | Size of the data. |
0xffff
on error. int32_t CCRCDCGetFWInfo | ( | CCRCDCDestination | dest, |
CCRCDCFWInfo * | outInfo | ||
) |
Get the firmware info during a pending update.
dest | The destination to get the firmware info from. |
outInfo | Pointer to write the info to. |
int32_t CCRCDCSoftwareGetVersion | ( | CCRCDCDestination | dest, |
CCRCDCSoftwareVersion * | outVersion | ||
) |
Get software version information.
dest | The destination to get the version information from. |
outVersion | Pointer to write the version info to. |
int32_t CCRCDCSoftwareUpdate | ( | CCRCDCDestination | dest, |
const char * | path, | ||
IOSAsyncCallbackFn | callback, | ||
void * | userContext | ||
) |
Perform a software update.
dest | The destination to start a software update. |
path | Absolute path to read the update file from. Note that this path needs to be accessible from IOS-PAD (e.g. on the MLC). |
callback | Callback to call once the update completes or NULL for synchronous updating. |
userContext | User provided value which is passed to the callback. |
int32_t CCRCDCSoftwareAbort | ( | CCRCDCDestination | dest | ) |
Abort a software update.
dest | The destination to send the command to. |
int32_t CCRCDCSoftwareActivate | ( | CCRCDCDestination | dest | ) |
Activate a performed software update.
dest | The destination to send the command to. |
int32_t CCRCDCSoftwareLangUpdate | ( | CCRCDCDestination | dest, |
const char * | path, | ||
uint32_t * | outVersion, | ||
IOSAsyncCallbackFn | callback, | ||
void * | userContext | ||
) |
Perform a language update.
dest | The destination to start a language update. |
path | Absolute path to read the language file from. Note that this path needs to be accessible from IOS-PAD (e.g. on the MLC). |
outVersion | Pointer to store the language version to. |
callback | Callback to call once the update completes or NULL for synchronous updating. |
userContext | User provided value which is passed to the callback. |
int32_t CCRCDCSoftwareLangActivate | ( | CCRCDCDestination | dest, |
uint32_t | version, | ||
uint32_t * | outActivationResult | ||
) |
Activate a performed language update.
dest | The destination to send the command to. |
version | The version which should be updated. This should be the version returned by CCRCDCSoftwareLangUpdate. |
outActivationResult | Pointer to store the activation result to. 0 on success, 2 if writing to the EEPROM failed. |
int32_t CCRCDCSoftwareGetExtId | ( | CCRCDCDestination | dest, |
CCRCDCExt | ext, | ||
uint32_t * | outId | ||
) |
Get an ext id from the specified destination.
dest | The destination to get the ID from. |
ext | The ext to get the ID for. |
outId | Pointer to write the ID to. |
int32_t CCRCDCSoftwareExtUpdate | ( | CCRCDCDestination | dest, |
const char * | path, | ||
uint32_t | imageSize, | ||
uint32_t | extId, | ||
CCRCDCExt | ext, | ||
IOSAsyncCallbackFn | callback, | ||
void * | userContext | ||
) |
Perform an ext update.
dest | The destination to start a software update. |
path | Absolute path to read the update file from. Note that this path needs to be accessible from IOS-PAD (e.g. on the MLC). |
imageSize | The size of the image which should be flashed. IOSU will correct this value with a warning, if it isn't correct. |
extId | The extId which should be written to the EEPROM once the update is complete. |
ext | The ext data which should be updated. |
callback | Callback to call once the update completes or NULL for synchronous updating. |
userContext | User provided value which is passed to the callback. |
int32_t CCRCDCRegisterAOAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |
int32_t CCRCDCRegisterCFGAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |
int32_t CCRCDCRegisterHIDAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |
int32_t CCRCDCRegisterSYSAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |
int32_t CCRCDCRegisterUACAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |
int32_t CCRCDCRegisterUVCAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |
int32_t CCRCDCRegisterVOAttachCallback | ( | CCRCDCRegisterCallbackFn | callback, |
void * | context | ||
) |