249 WUT_PADDING_BYTES(0x6);
282 WUT_CHECK_OFFSET(
CCRCDCFWInfo, 0x0C, sequencePerSession);
328 uint32_t payloadSize,
728 uint32_t *outVersion,
752 uint32_t *outActivationResult);
void(* IOSAsyncCallbackFn)(IOSError, void *)
uint8_t state
Must be one of CCRCDCDrcStateEnum.
uint32_t sequencePerSession
CCRCDCChipVersion chipVersion
uint8_t data[0x100]
Configuration data.
uint16_t timeout
Timeout in seconds.
uint8_t hasArgs
Should be set to 1.
CCRCDCDestination device
The device this mac address belongs to.
CCRCDCBoardVersion boardVersion
CCRCDCUicConfigId configId
Configuration ID (see CCRCDCUicConfigIdEnum)
CCRCDCWakeState state
Must be one of CCRCDCWakeStateEnum.
uint8_t size
Size of the configuration data (must match the size described in CCRCDCUicConfigIdEnum)
uint32_t updateProgress
Progress from 0-100.
CCRCDCDestination pairDestination
int32_t CCRCDCDevicePing(CCRCDCDestination dest)
Send a ping to the specified destination.
int32_t CCRCDCPerClearUicConfig(CCRCDCDestination dest)
This doesn't seem to be implemented on the latest DRC/DRH firmware, and always returns an error.
int32_t CCRCDCSoftwareGetExtId(CCRCDCDestination dest, CCRCDCExt ext, uint32_t *outId)
Get an ext id from the specified destination.
int32_t CCRCDCWpsStatus(CCRCDCWpsStatusType *status)
Get the WPS status.
int32_t CCRCDCRegisterAOAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
int32_t CCRCDCSetStationId(CCRCDCMacAddress *id)
int32_t CCRCDCRegisterUACAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
int32_t CCRCDCSoftwareAbort(CCRCDCDestination dest)
Abort a software update.
int32_t CCRCDCSoftwareLangActivate(CCRCDCDestination dest, uint32_t version, uint32_t *outActivationResult)
Activate a performed language update.
int32_t CCRCDCGetMacAddress(CCRCDCDestination dest, CCRCDCMacAddress *mac)
Gets the mac address of the specified destination.
uint8_t CCRCDCDestination
void(* CCRCDCRegisterCallbackFn)(CCRCDCRegisterCallbackData *, void *)
int32_t CCRCDCSysGetDrhState(CCRCDCDrhState *state)
Gets the Drh State.
int32_t CCRCDCSysGetDrcState(CCRCDCDestination dest, CCRCDCDrcState *state)
Gets the state of the specified DRC.
int32_t CCRCDCRegisterSYSAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
int32_t CCRCDCWowlWakeDrc(CCRCDCWowlWakeDrcArg *arg)
Wake on Wireless LAN (power on) the DRC(s).
int32_t CCRCDCSoftwareUpdate(CCRCDCDestination dest, const char *path, IOSAsyncCallbackFn callback, void *userContext)
Perform a software update.
int32_t CCRCDCSysGetInfo(CCRCDCDestination dest, CCRCDCSysInfo *info)
Get system information.
int32_t CCRCDCRegisterUVCAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
int32_t CCRCDCPerGetUicEepromEx(CCRCDCDestination dest, CCRCDCEepromData *eeprom, IOSAsyncCallbackFn callback, void *arg)
Read the Eeprom of the specified device (async version).
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.
int32_t CCRCDCGetFWInfo(CCRCDCDestination dest, CCRCDCFWInfo *outInfo)
Get the firmware info during a pending update.
int32_t CCRCDCSoftwareExtUpdate(CCRCDCDestination dest, const char *path, uint32_t imageSize, uint32_t extId, CCRCDCExt ext, IOSAsyncCallbackFn callback, void *userContext)
Perform an ext update.
int32_t CCRCDCGetMultiDrc(uint8_t *numDrcs)
Gets the amount of DRCs which can be connected to the system.
int32_t CCRCDCSetMultiDrc(uint8_t numDrcs)
Sets the amount of DRCs which can be connected to the system.
int32_t CCRCDCSoftwareLangUpdate(CCRCDCDestination dest, const char *path, uint32_t *outVersion, IOSAsyncCallbackFn callback, void *userContext)
Perform a language update.
int32_t CCRCDCWpsStart(void)
Start WPS (WiFi Protected Setup) on the DRH.
uint32_t CCRCDCWpsStatusType
int32_t CCRCDCSoftwareGetVersion(CCRCDCDestination dest, CCRCDCSoftwareVersion *outVersion)
Get software version information.
int32_t CCRCDCPerGetUicEeprom(CCRCDCDestination dest, CCRCDCEepromData *eeprom)
Read the Eeprom of the specified device.
uint8_t CCRCDCUicConfigId
int32_t CCRCDCSoftwareActivate(CCRCDCDestination dest)
Activate a performed software update.
int32_t CCRCDCWpsStop(void)
Stop WPS.
int32_t CCRCDCRegisterHIDAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
int32_t CCRCDCSysDrcDisplayMessage(CCRCDCDestination dest, CCRCDCSysMessage *message)
Display a message on the specified DRC.
int32_t CCRCDCSysSetDrcState(CCRCDCDestination dest, CCRCDCDrcState *state)
Sets the state of the specified DRC.
int32_t CCRCDCRegisterCFGAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
uint16_t CCRCDCCalcCRC16(void *data, uint32_t dataSize)
Calculate a CRC16 used for DRC UIC EEPROM values.
int32_t CCRCDCRegisterVOAttachCallback(CCRCDCRegisterCallbackFn callback, void *context)
int32_t CCRCDCSysSetDrhState(CCRCDCDrhState *state)
Sets the Drh State.
int32_t CCRCDCPerSetUicConfig(CCRCDCDestination dest, CCRCDCUicConfig *config)
Set a configuration value in the DRC UIC EEPROM.
int32_t CCRCDCWpsStartEx(CCRCDCWpsArgs *args)
Start WPS (WiFi Protected Setup) on the DRH.
int32_t CCRCDCSysConsoleShutdownInd(CCRCDCDestination dest)
Notify the specified device that the console is about to shut down, and the device should shut down a...
@ CCR_CDC_DESTINATION_DRC0
@ CCR_CDC_DESTINATION_DRH
@ CCR_CDC_DESTINATION_DRC1
@ CCR_CDC_WAKE_STATE_BACKGROUND
Connect in CCR_CDC_DRC_STATE_BACKGROUND state.
@ CCR_CDC_WAKE_STATE_ACTIVE
Power on normally.
@ CCR_CDC_CHIP_VERSION_TS
@ CCR_CDC_CHIP_VERSION_ES2
@ CCR_CDC_CHIP_VERSION_MS01
@ CCR_CDC_CHIP_VERSION_ES3
@ CCR_CDC_CHIP_VERSION_ES1
@ CCR_CDC_BOARD_VERSION_DKTVMP
@ CCR_CDC_BOARD_VERSION_DK5
@ CCR_CDC_BOARD_VERSION_DK1
@ CCR_CDC_BOARD_VERSION_DP1
@ CCR_CDC_BOARD_VERSION_DK1_EP_DK2
@ CCR_CDC_BOARD_VERSION_MASS
@ CCR_CDC_BOARD_VERSION_DP5
@ CCR_CDC_BOARD_VERSION_DK4
@ CCR_CDC_BOARD_VERSION_DKMP2
@ CCR_CDC_BOARD_VERSION_DKMP
@ CCR_CDC_BOARD_VERSION_DP2
@ CCR_CDC_BOARD_VERSION_DP4
@ CCR_CDC_BOARD_VERSION_DK3
@ CCR_CDC_BOARD_VERSION_PREDP3_DP3
@ CCR_CDC_BOARD_VERSION_DRC_I
@ CCR_CDC_DRC_STATE_WIIACTIVE
@ CCR_CDC_DRC_STATE_BACKGROUND
@ CCR_CDC_DRC_STATE_PAIRING
@ CCR_CDC_DRC_STATE_SLEEP
@ CCR_CDC_DRC_STATE_STANDBY
@ CCR_CDC_DRC_STATE_SUBACTIVE
@ CCR_CDC_DRC_STATE_FWUPDATE
@ CCR_CDC_DRC_STATE_DKSETTING
@ CCR_CDC_DRC_STATE_LOW_BATTERY
@ CCR_CDC_DRC_STATE_UNKNOWN9
@ CCR_CDC_DRC_STATE_STANDALONE
@ CCR_CDC_DRC_STATE_ACTIVE
@ CCR_CDC_DRC_STATE_WOWLSETTING
@ CCR_CDC_WPS_STATUS_SEARCHING
@ CCR_CDC_WPS_STATUS_PAIRED
@ CCR_CDC_WPS_STATUS_PAIRING
@ CCR_CDC_SYS_DRH_STATE_ECO
@ CCR_CDC_SYS_DRH_STATE_WII
@ CCR_CDC_SYS_DRH_STATE_UNK2
@ CCR_CDC_SYS_DRH_STATE_CAFE
@ CCR_CDC_SYS_DRH_STATE_UNK7F
@ CCR_CDC_SYS_DRH_STATE_NORADIO
@ CCR_CDC_SYS_DRH_STATE_NODRC
@ CCR_CDC_EXT_LANGUAGE
Language data.
@ CCR_CDC_EXT_RC_DATABASE
Remote Control Database.
@ CCR_CDC_UIC_CONFIG_ID_UNK18
EEPROM offset 0x295, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_EXT_ID_2
EEPROM offset 0x262, Size 0x6.
@ CCR_CDC_UIC_CONFIG_ID_RC_DATABASE_EXT_ID
EEPROM offset 0x25C, Size 0x6.
@ CCR_CDC_UIC_CONFIG_ID_TP_CALIBRATION_VALUE
EEPROM offset 0x244, Size 0x12.
@ CCR_CDC_UIC_CONFIG_ID_CAFFEINE_NOTIFICATION_READ_COUNT
EEPROM offset 0x2A7, Size 0x4.
@ CCR_CDC_UIC_CONFIG_ID_LANGUAGE_EXT_ID
EEPROM offset 0x256, Size 0x6.
@ CCR_CDC_UIC_CONFIG_ID_INIT_BOOT_FLAG
EEPROM offset 0x274, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_TV_CONTROL_ID
EEPROM offset 0x289, Size 0xC.
@ CCR_CDC_UIC_CONFIG_ID_LCD_MODE
EEPROM offset 0x286, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_CAFFEINE_NOTIFICATION_SOUND_MODE
EEPROM offset 0x2A1, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_EXT_ID_4
EEPROM offset 0x26E, Size 0x6.
@ CCR_CDC_UIC_CONFIG_ID_UNK7
EEPROM offset 0x203, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_UNK8
EEPROM offset 0x206, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_EXT_ID_3
EEPROM offset 0x268, Size 0x6.
@ CCR_CDC_UIC_CONFIG_ID_LANGUAGE_BANK
EEPROM offset 0x200, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_CAFFEINE_ENABLE_FLAG
EEPROM offset 0x298, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_CAFFEINE_NOTIFICATION_INFO
EEPROM offset 0x2A4, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_MIC_CONFIG
EEPROM offset 0x20D, Size 0x6.
@ CCR_CDC_UIC_CONFIG_ID_CAFFEINE_CAFFEINE_SLOT
EEPROM offset 0x29E, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_CAFFEINE_INITIAL_BOOT_FLAG
EEPROM offset 0x29B, Size 0x3.
@ CCR_CDC_UIC_CONFIG_ID_ACC_CALIBRATION_VALUE
EEPROM offset 0x213, Size 0xE.
@ CCR_CDC_UIC_CONFIG_ID_UNK15
EEPROM offset 0x277, Size 0xF.