All Classes Namespaces Files Functions Variables Enumerations Enumerator
libs/range_sensor/c/scip_handler.h
Go to the documentation of this file.
00001 #ifndef QRK_C_SCIP_HANDLER_H
00002 #define QRK_C_SCIP_HANDLER_H
00003 
00013 #include "urg_parameter_t.h"
00014 #include "serial_t.h"
00015 
00016 
00017 enum {
00018   ScipNoWaitReply = 0,          
00019   ScipWaitReply = 1,            
00020   ScipLineWidth = 64 + 1 + 1,   
00021 };
00022 
00023 
00033 extern int scip_send(serial_t *serial, const char *send_command);
00034 
00035 
00052 extern int scip_recv(serial_t *serial, const char *command_first,
00053                      int* return_code, int expected_ret[],
00054                      int timeout);
00055 
00056 
00067 extern int scip_scip20(serial_t *serial);
00068 
00069 
00083 extern int scip_qt(serial_t *serial, int *return_code, int wait_reply);
00084 
00085 
00096 extern int scip_pp(serial_t *serial, urg_parameter_t *parameters);
00097 
00098 
00109 extern int scip_vv(serial_t *serial, char *lines[], int lines_max);
00110 
00111 
00121 extern int scip_ss(serial_t *serial, long baudrate);
00122 
00123 #endif /* !QRK_C_SCIP_HANDLER_H */