version 1.1, 2013/01/17 10:05:35
|
version 1.4.74.1, 2024/01/22 15:14:11
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2024 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 46 SUCH DAMAGE.
|
Line 46 SUCH DAMAGE.
|
#include "global.h" |
#include "global.h" |
|
|
|
|
|
#ifdef PELCO_SUPPORT |
/* |
/* |
* crcPelco() - Calculate Pelco D/P CRC |
* crcPelco() - Calculate Pelco D/P CRC |
* |
* |
Line 54 SUCH DAMAGE.
|
Line 55 SUCH DAMAGE.
|
* return: crc for packet, if is 0 check and crc_GetErrno() == EINVAL |
* return: crc for packet, if is 0 check and crc_GetErrno() == EINVAL |
Pelco protocol not supported |
Pelco protocol not supported |
*/ |
*/ |
inline u_char | u_char |
crcPelco(u_char ver, u_char *pkt) |
crcPelco(u_char ver, u_char *pkt) |
{ |
{ |
register u_char i, crc; |
register u_char i, crc; |
Line 78 crcPelco(u_char ver, u_char *pkt)
|
Line 79 crcPelco(u_char ver, u_char *pkt)
|
|
|
return crc; |
return crc; |
} |
} |
|
#endif |