KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Maple commands and responses

Macros

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

Detailed Description

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

Macro Definition Documentation

#define MAPLE_COMMAND_ALLINFO   2

All info request.

#define MAPLE_COMMAND_BREAD   11

Block read.

#define MAPLE_COMMAND_BSYNC   13

Block sync.

#define MAPLE_COMMAND_BWRITE   12

Block write.

#define MAPLE_COMMAND_CAMCONTROL   17

Camera control.

#define MAPLE_COMMAND_DEVINFO   1

Device info request.

#define MAPLE_COMMAND_GETCOND   9

Get condition request.

#define MAPLE_COMMAND_GETMINFO   10

Get memory information.

#define MAPLE_COMMAND_KILL   4

Kill device request.

#define MAPLE_COMMAND_MICCONTROL   15

Microphone control.

#define MAPLE_COMMAND_RESET   3

Reset device request.

#define MAPLE_COMMAND_SETCOND   14

Set condition request.

#define MAPLE_RESPONSE_AGAIN   -4

Try again later.

#define MAPLE_RESPONSE_ALLINFO   6

All info response.

#define MAPLE_RESPONSE_BADCMD   -3

Bad command sent.

#define MAPLE_RESPONSE_BADFUNC   -2

Bad function code.

#define MAPLE_RESPONSE_DATATRF   8

Data transfer.

#define MAPLE_RESPONSE_DEVINFO   5

Device info response.

#define MAPLE_RESPONSE_FILEERR   -5

File error.

#define MAPLE_RESPONSE_NONE   -1

No response.

#define MAPLE_RESPONSE_OK   7

Command completed ok.