-
2.24. Only send single command decoding chip
Function Description:
Send command to decoder chip. This is a variation of command HAM_SendCommand. It sends
following command to Hamster: (note, only two bytes without BCC)
Esc, 0x80+cmd
Function call:
BOOL
HAM_SendCommand1(
BYTE
cmd
)
;
Parameter: (input)
cmd:
BYTE
:
command
Return code:
TRUE = Indicates the command has been successfully sent to queue to output.
2.25. Send command to decoding chip
Function Description:
Send command to decoder chip. This is a variation of command HAM_SendCommand. It will read a
number of parameters and packet them as in following format and send it to decoder chip.
Esc, parameter1, parameter2,
…
, BCC
The total number of parameters is specified by first parameter num.
Function call:
BOOL
HAM_SendCommand2(
BYTE
num,
BYTE
parameter1, …
)
;
Parameter: (input)
num:
BYTE
: number of total parameters
parameter
x
: BYTE
:
Parameter
Return code:
TRUE = Indicates the command has been successfully sent to queue to output.
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...