version 1.2, 2011/05/10 20:26:08
|
version 1.3.4.1, 2013/05/26 20:39:14
|
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 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
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 53 SUCH DAMAGE.
|
Line 53 SUCH DAMAGE.
|
* @cmd[2] = Output Commands 1 & 2 |
* @cmd[2] = Output Commands 1 & 2 |
* return: 0xFF - error, 0 - ok |
* return: 0xFF - error, 0 - ok |
*/ |
*/ |
inline u_char | u_char |
pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd2 cmd2, u_char * __restrict cmd) |
pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd2 cmd2, u_char * __restrict cmd) |
{ |
{ |
u_char ret = 0; |
u_char ret = 0; |
Line 76 pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd
|
Line 76 pelco_D_fromCmd(struct bitD_Cmd1 cmd1, struct bitD_Cmd
|
* @cmd[2] = Output Commands 1 & 2 |
* @cmd[2] = Output Commands 1 & 2 |
* return: 0xFF - error, 0 - ok |
* return: 0xFF - error, 0 - ok |
*/ |
*/ |
inline u_char | u_char |
pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd2 cmd2, u_char * __restrict cmd) |
pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd2 cmd2, u_char * __restrict cmd) |
{ |
{ |
u_char ret = 0; |
u_char ret = 0; |
Line 101 pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd
|
Line 101 pelco_P_fromCmd(struct bitP_Cmd1 cmd1, struct bitP_Cmd
|
* @p = Output Packet structure |
* @p = Output Packet structure |
* return: 0xFF - error, 0 - ok |
* return: 0xFF - error, 0 - ok |
*/ |
*/ |
inline u_char | u_char |
pelco_SetCamCmdData(u_char ver, u_char cam, u_char * __restrict cmd, |
pelco_SetCamCmdData(u_char ver, u_char cam, u_char * __restrict cmd, |
u_char * __restrict data, void * __restrict p) |
u_char * __restrict data, void * __restrict p) |
{ |
{ |