|
|
| version 1.1.1.1.2.2, 2010/03/12 14:57:17 | version 1.1.1.1.2.3, 2010/03/12 15:30:46 |
|---|---|
| Line 156 inline u_char pelcoAddCmdData(void * __restrict p, u_c | Line 156 inline u_char pelcoAddCmdData(void * __restrict p, u_c |
| */ | */ |
| inline u_char pelcoGetCmdData(void * __restrict p, u_char * __restrict cmd, u_char * __restrict data); | inline u_char pelcoGetCmdData(void * __restrict p, u_char * __restrict cmd, u_char * __restrict data); |
| /* | |
| * pelcoChkSum() Check ot Correct check sum in packet | |
| * @p = Input Packet structure | |
| * @correct = Calculate new check sum if incorrect !=0, if ==0 only check | |
| * return: 0xFF - bad packet, invalid check sum, 0 check sum is correct. | |
| */ | |
| inline u_char pelcoChkSum(void * __restrict p, u_char correct); | |
| /* | /* |
| * pelco_GetVersion() Return Pelco protocol version | * pelco_GetVersion() Return Pelco protocol version |