31 #define CCR_CDC_IRDA_DATA_TRANSFER_SIZE 0x208
246 uint32_t requestSize,
248 uint32_t responseSize);
uint8_t sessionId
ID of the session (gets filled out by the DRC before transmitting the packet)
uint8_t magic
Magic value (needs to be set to 0xa5)
uint16_t receiveSize
Amount of data which should be received from the other device.
CCRCDCIrdaConnectionType type
The type of the connect request.
CCRCDCIrdaCommand command
CCR_IRDA_COMMAND_CONNECT.
uint8_t result
0 on success
CCRCDCIrdaBitrate bitrate
Bitrate of the connection.
uint16_t timeout
Timeout of the connection in ms.
uint8_t targetId
The ID of the target device.
uint8_t isLarge
0 for small packets
uint16_t size
The size of this request.
uint8_t dataSize
Size of the actual data.
uint16_t dataSize
Size of the actual data.
uint8_t CCRCDCIrdaConnectionType
int32_t CCRCDCPerIrdaControl(CCRCDCDestination dest, void *request, uint32_t requestSize, void *response, uint32_t responseSize)
Controls IR of the GamePad.
uint8_t CCRCDCIrdaCommand
uint8_t CCRCDCIrdaBitrate
CCRCDCIrdaConnectionTypeEnum
@ CCR_IRDA_BITRATE_72000
72000 bits-per-second
@ CCR_IRDA_BITRATE_7200
7200 bits-per-second
@ CCR_IRDA_BITRATE_57600
57600 bits-per-second
@ CCR_IRDA_BITRATE_4800
4800 bits-per-second
@ CCR_IRDA_BITRATE_12000
12000 bits-per-second
@ CCR_IRDA_BITRATE_18000
18000 bits-per-second
@ CCR_IRDA_BITRATE_9600
9600 bits-per-second
@ CCR_IRDA_BITRATE_3000
3000 bits-per-second
@ CCR_IRDA_BITRATE_38400
38400 bits-per-second
@ CCR_IRDA_BITRATE_19200
19200 bits-per-second
@ CCR_IRDA_BITRATE_6000
6000 bits-per-second
@ CCR_IRDA_BITRATE_36000
36000 bits-per-second
@ CCR_IRDA_BITRATE_48000
48000 bits-per-second
@ CCR_IRDA_BITRATE_115200
115200 bits-per-second
@ CCR_IRDA_BITRATE_24000
24000 bits-per-second
@ CCR_IRDA_BITRATE_96000
96000 bits-per-second
@ CCR_IRDA_COMMAND_RECEIVE
Receive data.
@ CCR_IRDA_COMMAND_CONNECT
Initiate a new connection.
@ CCR_IRDA_COMMAND_SEND
Send data.
@ CCR_IRDA_COMMAND_DISCONNECT
Disconnect.
@ CCR_IRDA_CONNECTION_REQUIRE
Initiate a new connection.
@ CCR_IRDA_CONNECTION_ANY
Don't require a connection.
@ CCR_IRDA_CONNECTION_WAIT
Wait for another device to start a connection.
uint8_t CCRCDCDestination