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

parameterx BYTE: Parameter

Parameter: (output)

Return:

TRUE = indicates the command has been successfully sent to queue to output.

-

Page 15
Image 15
Unitech PA500 manual Send command to decoding chip, Esc, parameter1, parameter2, …, BCC