Back to Generic Commands
CMD_EVENT_ENABLE

Command:              CMD_EVENT_ENABLE 
Destination:          SD_CARD
Destination Channel:  Channel ID

Description

Clients use this command to enable reporting of card-type-specific events. Event reporting is on a per client basis. Event reporting for all channels is disabled when a client registers with the Server. For information regarding which events are present for a given card, please consult that card's documentation.

Command data format

Data length is one byte, values are:

0 -- Enable all events for this channel.
[x != 0] -- Enable x event, (x = ID of event to be enabled).
Response data format

None.

Response return codes
RESP_OK Execution of the command was successful. Response-specific data contains the returned configuration information. (Please see Appendix A f or returned information format.)
RESP_UNSUPPORTED The command is not supported
RESP_AUTH_FAIL The client ID specified in the source channel field is not authorized to execute this command. (This response may be the result of the client not having registered with the CMD_SERVER_REG command.)
RESP_UNKNOWN_ERR An unknown error occurred.


|Top|