wut  v1.5.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
Nsysccr_cdc
Collaboration diagram for Nsysccr_cdc:

Data Structures

struct  CCRCDCMacAddress
 
struct  CCRCDCWpsArgs
 
struct  CCRCDCSysMessage
 
struct  CCRCDCEepromData
 
struct  CCRCDCWowlWakeDrcArg
 
struct  CCRCDCUicConfig
 
struct  CCRCDCFWInfo
 
struct  CCRCDCSoftwareVersion
 
struct  CCRCDCDrcState
 
struct  CCRCDCDrhState
 

Typedefs

typedef struct CCRCDCMacAddress CCRCDCMacAddress
 
typedef struct CCRCDCWpsArgs CCRCDCWpsArgs
 
typedef struct CCRCDCSysMessage CCRCDCSysMessage
 
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 uint8_t CCRCDCDestination
 
typedef uint32_t CCRCDCWpsStatusType
 
typedef uint8_t CCRCDCWakeState
 
typedef uint8_t CCRCDCUicConfigId
 
typedef enum CCRCDCDestinationEnum CCRCDCDestinationEnum
 
typedef enum CCRCDCWpsStatusEnum CCRCDCWpsStatusEnum
 
typedef enum CCRCDCDrcStateEnum CCRCDCDrcStateEnum
 
typedef enum CCRCDCWakeStateEnum CCRCDCWakeStateEnum
 
typedef enum CCRCDCUicConfigIdEnum CCRCDCUicConfigIdEnum
 
typedef enum CCRCDCExt CCRCDCExt
 
typedef enum CCRCDCDrhStateEnum CCRCDCDrhStateEnum
 

Enumerations

enum  CCRCDCDestinationEnum {
  CCR_CDC_DESTINATION_DRH = 1 ,
  CCR_CDC_DESTINATION_DRC0 = 2 ,
  CCR_CDC_DESTINATION_DRC1 = 3
}
 
enum  CCRCDCWpsStatusEnum {
  CCR_CDC_WPS_STATUS_PAIRED = 0 ,
  CCR_CDC_WPS_STATUS_SEARCHING = 1 ,
  CCR_CDC_WPS_STATUS_PAIRING = 2
}
 
enum  CCRCDCDrcStateEnum {
  CCR_CDC_DRC_STATE_ACTIVE = 0 ,
  CCR_CDC_DRC_STATE_UNK1 = 1 ,
  CCR_CDC_DRC_STATE_UPDATE = 2 ,
  CCR_CDC_DRC_STATE_UNK3 = 3 ,
  CCR_CDC_DRC_STATE_BACKGROUND = 4 ,
  CCR_CDC_DRC_STATE_DISCONNECT = 5 ,
  CCR_CDC_DRC_STATE_UNK12 = 12 ,
  CCR_CDC_DRC_STATE_UNK15 = 15
}
 
enum  CCRCDCWakeStateEnum {
  CCR_CDC_WAKE_STATE_ACTIVE = 1 ,
  CCR_CDC_WAKE_STATE_BACKGROUND = 2
}
 
enum  CCRCDCUicConfigIdEnum {
  CCR_CDC_UIC_CONFIG_ID_UNK0 = 0 ,
  CCR_CDC_UIC_CONFIG_ID_UNK2 = 2 ,
  CCR_CDC_UIC_CONFIG_ID_UNK3 = 3 ,
  CCR_CDC_UIC_CONFIG_ID_UNK5 = 5 ,
  CCR_CDC_UIC_CONFIG_ID_UNK7 = 7 ,
  CCR_CDC_UIC_CONFIG_ID_UNK8 = 8 ,
  CCR_CDC_UIC_CONFIG_ID_UNK9 = 9 ,
  CCR_CDC_UIC_CONFIG_ID_UNK10 = 10 ,
  CCR_CDC_UIC_CONFIG_ID_UNK11 = 11 ,
  CCR_CDC_UIC_CONFIG_ID_UNK12 = 12 ,
  CCR_CDC_UIC_CONFIG_ID_UNK13 = 13 ,
  CCR_CDC_UIC_CONFIG_ID_UNK14 = 14 ,
  CCR_CDC_UIC_CONFIG_ID_UNK15 = 15 ,
  CCR_CDC_UIC_CONFIG_ID_UNK16 = 16 ,
  CCR_CDC_UIC_CONFIG_ID_UNK17 = 17 ,
  CCR_CDC_UIC_CONFIG_ID_UNK18 = 18 ,
  CCR_CDC_UIC_CONFIG_ID_UNK19 = 19 ,
  CCR_CDC_UIC_CONFIG_ID_UNK20 = 20 ,
  CCR_CDC_UIC_CONFIG_ID_UNK21 = 21 ,
  CCR_CDC_UIC_CONFIG_ID_UNK22 = 22 ,
  CCR_CDC_UIC_CONFIG_ID_UNK23 = 23 ,
  CCR_CDC_UIC_CONFIG_ID_UNK24 = 24
}
 
enum  CCRCDCExt {
  CCR_CDC_EXT_LANGUAGE = 0 ,
  CCR_CDC_EXT_RC_DATABASE = 1 ,
  CCR_CDC_EXT_UNK2 = 2 ,
  CCR_CDC_EXT_UNK3 = 3 ,
  CCR_CDC_EXT_UNK4 = 4
}
 
enum  CCRCDCDrhStateEnum {
  CCR_CDC_SYS_DRH_STATE_UNK0 = 0x00 ,
  CCR_CDC_SYS_DRH_STATE_UNK1 = 0x01 ,
  CCR_CDC_SYS_DRH_STATE_UNK2 = 0x02 ,
  CCR_CDC_SYS_DRH_STATE_UNK3 = 0x03 ,
  CCR_CDC_SYS_DRH_STATE_ECO = 0x04 ,
  CCR_CDC_SYS_DRH_STATE_UNK7F = 0x7F ,
  CCR_CDC_SYS_DRH_STATE_CAFE = 0xFF
}
 

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 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 CCRCDCSoftwareGetExtId (CCRCDCDestination dest, CCRCDCExt ext, uint32_t *outId)
 Get an ext id from the specified destination. More...
 

Detailed Description


Data Structure Documentation

◆ CCRCDCMacAddress

struct CCRCDCMacAddress

Definition at line 135 of file cdc.h.

Data Fields
CCRCDCDestination device The device this mac address belongs to.
uint8_t address[6]

◆ CCRCDCWpsArgs

struct CCRCDCWpsArgs

Definition at line 145 of file cdc.h.

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

◆ CCRCDCSysMessage

struct CCRCDCSysMessage

Definition at line 162 of file cdc.h.

Data Fields
uint16_t message
uint16_t timeout Timeout in seconds.

◆ CCRCDCEepromData

struct CCRCDCEepromData

Definition at line 172 of file cdc.h.

Data Fields
uint32_t version

◆ CCRCDCWowlWakeDrcArg

struct CCRCDCWowlWakeDrcArg

Definition at line 180 of file cdc.h.

Data Fields
CCRCDCWakeState state Must be one of CCRCDCWakeStateEnum.

◆ CCRCDCUicConfig

struct CCRCDCUicConfig

Definition at line 189 of file cdc.h.

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.

◆ CCRCDCFWInfo

struct CCRCDCFWInfo

Definition at line 203 of file cdc.h.

Data Fields
uint32_t imageSize
uint32_t blockSize
uint32_t imageVersion
uint32_t sequencePerSession
uint32_t updateProgress Progress from 0-100.

◆ CCRCDCSoftwareVersion

struct CCRCDCSoftwareVersion

Definition at line 219 of file cdc.h.

Data Fields
uint32_t runningVersion
uint32_t activeVersion

◆ CCRCDCDrcState

struct CCRCDCDrcState

Definition at line 228 of file cdc.h.

Data Fields
uint8_t state Must be one of CCRCDCDrcStateEnum.

◆ CCRCDCDrhState

struct CCRCDCDrhState

Definition at line 235 of file cdc.h.

Data Fields
uint8_t state Must be one of CCRCDCDrhStateEnum.

Typedef Documentation

◆ CCRCDCMacAddress

Definition at line 1 of file cdc.h.

◆ CCRCDCWpsArgs

typedef struct CCRCDCWpsArgs CCRCDCWpsArgs

Definition at line 1 of file cdc.h.

◆ CCRCDCSysMessage

Definition at line 1 of file cdc.h.

◆ CCRCDCEepromData

Definition at line 1 of file cdc.h.

◆ CCRCDCWowlWakeDrcArg

Definition at line 1 of file cdc.h.

◆ CCRCDCUicConfig

Definition at line 1 of file cdc.h.

◆ CCRCDCFWInfo

typedef struct CCRCDCFWInfo CCRCDCFWInfo

Definition at line 1 of file cdc.h.

◆ CCRCDCSoftwareVersion

Definition at line 1 of file cdc.h.

◆ CCRCDCDrhState

Definition at line 1 of file cdc.h.

◆ CCRCDCDrcState

Definition at line 1 of file cdc.h.

◆ CCRCDCDestination

typedef uint8_t CCRCDCDestination

Definition at line 26 of file cdc.h.

◆ CCRCDCWpsStatusType

typedef uint32_t CCRCDCWpsStatusType

Definition at line 27 of file cdc.h.

◆ CCRCDCWakeState

typedef uint8_t CCRCDCWakeState

Definition at line 28 of file cdc.h.

◆ CCRCDCUicConfigId

typedef uint8_t CCRCDCUicConfigId

Definition at line 29 of file cdc.h.

◆ CCRCDCDestinationEnum

◆ CCRCDCWpsStatusEnum

◆ CCRCDCDrcStateEnum

◆ CCRCDCWakeStateEnum

◆ CCRCDCUicConfigIdEnum

◆ CCRCDCExt

typedef enum CCRCDCExt CCRCDCExt

◆ CCRCDCDrhStateEnum

Enumeration Type Documentation

◆ CCRCDCDestinationEnum

Enumerator
CCR_CDC_DESTINATION_DRH 
CCR_CDC_DESTINATION_DRC0 
CCR_CDC_DESTINATION_DRC1 

Definition at line 31 of file cdc.h.

◆ CCRCDCWpsStatusEnum

Enumerator
CCR_CDC_WPS_STATUS_PAIRED 
CCR_CDC_WPS_STATUS_SEARCHING 
CCR_CDC_WPS_STATUS_PAIRING 

Definition at line 38 of file cdc.h.

◆ CCRCDCDrcStateEnum

Enumerator
CCR_CDC_DRC_STATE_ACTIVE 
CCR_CDC_DRC_STATE_UNK1 
CCR_CDC_DRC_STATE_UPDATE 
CCR_CDC_DRC_STATE_UNK3 
CCR_CDC_DRC_STATE_BACKGROUND 
CCR_CDC_DRC_STATE_DISCONNECT 
CCR_CDC_DRC_STATE_UNK12 
CCR_CDC_DRC_STATE_UNK15 

Definition at line 45 of file cdc.h.

◆ CCRCDCWakeStateEnum

Enumerator
CCR_CDC_WAKE_STATE_ACTIVE 

Power on normally.

CCR_CDC_WAKE_STATE_BACKGROUND 

Connect in CCR_CDC_DRC_STATE_BACKGROUND state.

Definition at line 57 of file cdc.h.

◆ CCRCDCUicConfigIdEnum

Enumerator
CCR_CDC_UIC_CONFIG_ID_UNK0 

EEPROM offset 0x200, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK2 

EEPROM offset 0x20D, Size 0x6.

CCR_CDC_UIC_CONFIG_ID_UNK3 

EEPROM offset 0x213, Size 0xE.

CCR_CDC_UIC_CONFIG_ID_UNK5 

EEPROM offset 0x244, Size 0x12.

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_UNK9 

EEPROM offset 0x256, Size 0x6.

CCR_CDC_UIC_CONFIG_ID_UNK10 

EEPROM offset 0x289, Size 0xC.

CCR_CDC_UIC_CONFIG_ID_UNK11 

EEPROM offset 0x262, Size 0x6.

CCR_CDC_UIC_CONFIG_ID_UNK12 

EEPROM offset 0x268, Size 0x6.

CCR_CDC_UIC_CONFIG_ID_UNK13 

EEPROM offset 0x26E, Size 0x6.

CCR_CDC_UIC_CONFIG_ID_UNK14 

EEPROM offset 0x274, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK15 

EEPROM offset 0x277, Size 0xF.

CCR_CDC_UIC_CONFIG_ID_UNK16 

EEPROM offset 0x286, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK17 

EEPROM offset 0x25C, Size 0x6.

CCR_CDC_UIC_CONFIG_ID_UNK18 

EEPROM offset 0x295, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK19 

EEPROM offset 0x298, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK20 

EEPROM offset 0x29B, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK21 

EEPROM offset 0x29E, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK22 

EEPROM offset 0x2A1, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK23 

EEPROM offset 0x2A4, Size 0x3.

CCR_CDC_UIC_CONFIG_ID_UNK24 

EEPROM offset 0x2A7, Size 0x4.

Definition at line 65 of file cdc.h.

◆ CCRCDCExt

enum CCRCDCExt
Enumerator
CCR_CDC_EXT_LANGUAGE 

Language data.

CCR_CDC_EXT_RC_DATABASE 

Remote Control Database.

CCR_CDC_EXT_UNK2 
CCR_CDC_EXT_UNK3 
CCR_CDC_EXT_UNK4 

Definition at line 113 of file cdc.h.

◆ CCRCDCDrhStateEnum

Enumerator
CCR_CDC_SYS_DRH_STATE_UNK0 
CCR_CDC_SYS_DRH_STATE_UNK1 
CCR_CDC_SYS_DRH_STATE_UNK2 
CCR_CDC_SYS_DRH_STATE_UNK3 
CCR_CDC_SYS_DRH_STATE_ECO 
CCR_CDC_SYS_DRH_STATE_UNK7F 
CCR_CDC_SYS_DRH_STATE_CAFE 

Definition at line 124 of file cdc.h.

Function Documentation

◆ CCRCDCCommand()

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.

Parameters
destThe device to send the command to. See CCRCDCDestinationEnum.
Returns
0 on success.

◆ CCRCDCDevicePing()

int32_t CCRCDCDevicePing ( CCRCDCDestination  dest)

Send a ping to the specified destination.

Parameters
destThe device to ping. See CCRCDCDestinationEnum.
Returns
0 on success.

◆ CCRCDCSetStationId()

int32_t CCRCDCSetStationId ( CCRCDCMacAddress id)

◆ CCRCDCGetMacAddress()

int32_t CCRCDCGetMacAddress ( CCRCDCDestination  dest,
CCRCDCMacAddress mac 
)

Gets the mac address of the specified destination.

Parameters
destThe device to get the mac address from. See CCRCDCDestinationEnum.
macA pointer to write the mac address to.
Returns
0 on success.

◆ CCRCDCGetMultiDrc()

int32_t CCRCDCGetMultiDrc ( uint8_t *  numDrcs)

Gets the amount of DRCs which can be connected to the system.

Parameters
numDrcsA pointer to write the amount to.
Returns
0 on success.

◆ CCRCDCSetMultiDrc()

int32_t CCRCDCSetMultiDrc ( uint8_t  numDrcs)

Sets the amount of DRCs which can be connected to the system.

Parameters
numDrcsThe amount of DRCs (must be 1 or 2).
Returns
0 on success.

◆ CCRCDCSysGetDrcState()

int32_t CCRCDCSysGetDrcState ( CCRCDCDestination  dest,
CCRCDCDrcState state 
)

Gets the state of the specified DRC.

Parameters
destThe device to get the state from. See CCRCDCDestinationEnum.
stateA pointer to write the state to.
Returns
0 on success.

◆ CCRCDCSysSetDrcState()

int32_t CCRCDCSysSetDrcState ( CCRCDCDestination  dest,
CCRCDCDrcState state 
)

Sets the state of the specified DRC.

Parameters
destThe device to set the state. See CCRCDCDestinationEnum.
stateA pointer to read the state from.
Returns
0 on success.

◆ CCRCDCSysGetDrhState()

int32_t CCRCDCSysGetDrhState ( CCRCDCDrhState state)

Gets the Drh State.

Returns
0 on success.

◆ CCRCDCSysSetDrhState()

int32_t CCRCDCSysSetDrhState ( CCRCDCDrhState state)

Sets the Drh State.

Returns
0 on success.

◆ CCRCDCWpsStart()

int32_t CCRCDCWpsStart ( void  )

Start WPS (WiFi Protected Setup) on the DRH.

Returns
0 on success.

◆ CCRCDCWpsStartEx()

int32_t CCRCDCWpsStartEx ( CCRCDCWpsArgs args)

Start WPS (WiFi Protected Setup) on the DRH.

Parameters
argsAdditional arguments.
Returns
0 on success.

◆ CCRCDCWpsStatus()

int32_t CCRCDCWpsStatus ( CCRCDCWpsStatusType status)

Get the WPS status.

Parameters
statusA pointer to write the status to. See CCRCDCWpsStatusEnum.
Returns
0 on success.

◆ CCRCDCWpsStop()

int32_t CCRCDCWpsStop ( void  )

Stop WPS.

Returns
0 on success.

◆ CCRCDCSysDrcDisplayMessage()

int32_t CCRCDCSysDrcDisplayMessage ( CCRCDCDestination  dest,
CCRCDCSysMessage message 
)

Display a message on the specified DRC.

Parameters
destThe device to display the message on. See CCRCDCDestinationEnum.
messageThe message struct.
Returns
0 on success.

◆ CCRCDCPerGetUicEeprom()

int32_t CCRCDCPerGetUicEeprom ( CCRCDCDestination  dest,
CCRCDCEepromData eeprom 
)

Read the Eeprom of the specified device.

Parameters
destThe device to read the eeprom of. See CCRCDCDestinationEnum.
eepromPointer to write the the eeprom data to.
Returns
0 on success.

◆ CCRCDCPerGetUicEepromEx()

int32_t CCRCDCPerGetUicEepromEx ( CCRCDCDestination  dest,
CCRCDCEepromData eeprom,
IOSAsyncCallbackFn  callback,
void *  arg 
)

Read the Eeprom of the specified device (async version).

Parameters
destThe device to read the eeprom of. See CCRCDCDestinationEnum.
eepromPointer to write the the eeprom data to.
Returns
0 on success.

◆ CCRCDCSysConsoleShutdownInd()

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.

Parameters
destThe device to notify. See CCRCDCDestinationEnum.
Returns
0 on success.

◆ CCRCDCWowlWakeDrc()

int32_t CCRCDCWowlWakeDrc ( CCRCDCWowlWakeDrcArg arg)

Wake on Wireless LAN (power on) the DRC(s).

Returns
0 on success or timeout (i.e. out of range/no battery). 0xFFE31B5B if DRC already connected.

◆ CCRCDCPerClearUicConfig()

int32_t CCRCDCPerClearUicConfig ( CCRCDCDestination  dest)

This doesn't seem to be implemented on the latest DRC/DRH firmware, and always returns an error.

Parameters
destThe destination to send the command to.
Returns
0 on success.

◆ CCRCDCPerSetUicConfig()

int32_t CCRCDCPerSetUicConfig ( CCRCDCDestination  dest,
CCRCDCUicConfig config 
)

Set a configuration value in the DRC UIC EEPROM.

Parameters
destThe destination to send the command to.
configPointer to configuration data.
Returns
0 on success.

◆ CCRCDCCalcCRC16()

uint16_t CCRCDCCalcCRC16 ( void *  data,
uint32_t  dataSize 
)

Calculate a CRC16 used for DRC UIC EEPROM values.

Parameters
dataPointer to the data to calculate the CRC from.
configSize of the data.
Returns
The CRC value or 0xffff on error.

◆ CCRCDCGetFWInfo()

int32_t CCRCDCGetFWInfo ( CCRCDCDestination  dest,
CCRCDCFWInfo outInfo 
)

Get the firmware info during a pending update.

Parameters
destThe destination to get the firmware info from.
outInfoPointer to write the info to.
Returns
0 on success.

◆ CCRCDCSoftwareGetVersion()

int32_t CCRCDCSoftwareGetVersion ( CCRCDCDestination  dest,
CCRCDCSoftwareVersion outVersion 
)

Get software version information.

Parameters
destThe destination to get the version information from.
outVersionPointer to write the version info to.
Returns
0 on success.

◆ CCRCDCSoftwareUpdate()

int32_t CCRCDCSoftwareUpdate ( CCRCDCDestination  dest,
const char *  path,
IOSAsyncCallbackFn  callback,
void *  userContext 
)

Perform a software update.

Parameters
destThe destination to start a software update.
pathAbsolute path to read the update file from. Note that this path needs to be accessible from IOS-PAD (e.g. on the MLC).
callbackCallback to call once the update completes or NULL for synchronous updating.
userContextUser provided value which is passed to the callback.
Returns
0 on success.

◆ CCRCDCSoftwareAbort()

int32_t CCRCDCSoftwareAbort ( CCRCDCDestination  dest)

Abort a software update.

Parameters
destThe destination to send the command to.
Returns
0 on success.

◆ CCRCDCSoftwareActivate()

int32_t CCRCDCSoftwareActivate ( CCRCDCDestination  dest)

Activate a performed software update.

Parameters
destThe destination to send the command to.
Returns
0 on success.

◆ CCRCDCSoftwareGetExtId()

int32_t CCRCDCSoftwareGetExtId ( CCRCDCDestination  dest,
CCRCDCExt  ext,
uint32_t *  outId 
)

Get an ext id from the specified destination.

Parameters
destThe destination to get the ID from.
extThe ext to get the ID for.
outIdPointer to write the ID to.
Returns
0 on success.