KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Commands and Responses

Maple command and response values More...

Macros

#define MAPLE_RESPONSE_FILEERR   -5
 File error.
 
#define MAPLE_RESPONSE_AGAIN   -4
 Try again later.
 
#define MAPLE_RESPONSE_BADCMD   -3
 Bad command sent.
 
#define MAPLE_RESPONSE_BADFUNC   -2
 Bad function code.
 
#define MAPLE_RESPONSE_NONE   -1
 No response.
 
#define MAPLE_COMMAND_DEVINFO   1
 Device info request.
 
#define MAPLE_COMMAND_ALLINFO   2
 All info request.
 
#define MAPLE_COMMAND_RESET   3
 Reset device request.
 
#define MAPLE_COMMAND_KILL   4
 Kill device request.
 
#define MAPLE_RESPONSE_DEVINFO   5
 Device info response.
 
#define MAPLE_RESPONSE_ALLINFO   6
 All info response.
 
#define MAPLE_RESPONSE_OK   7
 Command completed ok.
 
#define MAPLE_RESPONSE_DATATRF   8
 Data transfer.
 
#define MAPLE_COMMAND_GETCOND   9
 Get condition request.
 
#define MAPLE_COMMAND_GETMINFO   10
 Get memory information.
 
#define MAPLE_COMMAND_BREAD   11
 Block read.
 
#define MAPLE_COMMAND_BWRITE   12
 Block write.
 
#define MAPLE_COMMAND_BSYNC   13
 Block sync.
 
#define MAPLE_COMMAND_SETCOND   14
 Set condition request.
 
#define MAPLE_COMMAND_MICCONTROL   15
 Microphone control.
 
#define MAPLE_COMMAND_CAMCONTROL   17
 Camera control.
 

Detailed Description

Maple command and response values

These are all either commands or responses to commands sent to or from Maple in normal operation.

Macro Definition Documentation

◆ MAPLE_COMMAND_ALLINFO

#define MAPLE_COMMAND_ALLINFO   2

All info request.

◆ MAPLE_COMMAND_BREAD

#define MAPLE_COMMAND_BREAD   11

Block read.

◆ MAPLE_COMMAND_BSYNC

#define MAPLE_COMMAND_BSYNC   13

Block sync.

◆ MAPLE_COMMAND_BWRITE

#define MAPLE_COMMAND_BWRITE   12

Block write.

◆ MAPLE_COMMAND_CAMCONTROL

#define MAPLE_COMMAND_CAMCONTROL   17

Camera control.

◆ MAPLE_COMMAND_DEVINFO

#define MAPLE_COMMAND_DEVINFO   1

Device info request.

◆ MAPLE_COMMAND_GETCOND

#define MAPLE_COMMAND_GETCOND   9

Get condition request.

◆ MAPLE_COMMAND_GETMINFO

#define MAPLE_COMMAND_GETMINFO   10

Get memory information.

◆ MAPLE_COMMAND_KILL

#define MAPLE_COMMAND_KILL   4

Kill device request.

◆ MAPLE_COMMAND_MICCONTROL

#define MAPLE_COMMAND_MICCONTROL   15

Microphone control.

◆ MAPLE_COMMAND_RESET

#define MAPLE_COMMAND_RESET   3

Reset device request.

◆ MAPLE_COMMAND_SETCOND

#define MAPLE_COMMAND_SETCOND   14

Set condition request.

◆ MAPLE_RESPONSE_AGAIN

#define MAPLE_RESPONSE_AGAIN   -4

Try again later.

◆ MAPLE_RESPONSE_ALLINFO

#define MAPLE_RESPONSE_ALLINFO   6

All info response.

◆ MAPLE_RESPONSE_BADCMD

#define MAPLE_RESPONSE_BADCMD   -3

Bad command sent.

◆ MAPLE_RESPONSE_BADFUNC

#define MAPLE_RESPONSE_BADFUNC   -2

Bad function code.

◆ MAPLE_RESPONSE_DATATRF

#define MAPLE_RESPONSE_DATATRF   8

Data transfer.

◆ MAPLE_RESPONSE_DEVINFO

#define MAPLE_RESPONSE_DEVINFO   5

Device info response.

◆ MAPLE_RESPONSE_FILEERR

#define MAPLE_RESPONSE_FILEERR   -5

File error.

◆ MAPLE_RESPONSE_NONE

#define MAPLE_RESPONSE_NONE   -1

No response.

◆ MAPLE_RESPONSE_OK

#define MAPLE_RESPONSE_OK   7

Command completed ok.