Back to Card Commands
CMD_CARD_GET_SPEED

Command:              CMD_CARD_GET_SPEED
Destination:          SD_CARD
Destination Channel:  Channel ID

Description

Clients use this command to query the speed characteristics of the specified channel.

Command data format

None.

Response data format

Speed Index
1 byte
The returned value Speed Index refers to the index of a predefined set of network timing parameters.

These predefined speeds are defined in the file
/gryphon/etc/gdevs in the 's filesystem.

The format and number of parameters represented by these predefined speeds are dependant on card type.

A list of predefined speeds may be retrieved from the with the CMD_CARD_GET_SPEEDS command.

Speed Index=0 is a special case; this return value indicates that the current network timing settings for this channel do not match any of the predefined speed settings. This return value may occur when a card's speed or network timing settings have been directly set with card-specific CMD_CARD_IOCTL commands.

Response return codes
RESP_OK Execution of the command was successful. (The requested information is returned in response data. For data content information, refer to the appropriate appendix for the expansion module being used.)
RESP_INVAL_CHAN The specified channel is invalid.
RESP_UNSUPPORTED This command is not supported on the specified channel.
RESP_UNREG The specified source channel is not registered with the server.
RESP_UNKNOWN_ERR An unknown error occurred.


|Top|