Go to the documentation of this file. 1 #ifndef URG_CONNECTION_H
2 #define URG_CONNECTION_H
92 const char *device,
long baudrate_or_port);
133 const char *data,
int size);
165 char *data,
int max_size,
int timeout);
190 char *data,
int max_size,
int timeout);
@ URG_CONNECTION_TIMEOUT
タイムアウトが発生したときの戻り値
void connection_close(urg_connection_t *connection)
切断
int connection_set_baudrate(urg_connection_t *connection, long baudrate)
urg_connection_type_t
通信タイプ
urg_serial_t serial
シリアル接続
int connection_readline(urg_connection_t *connection, char *data, int max_size, int timeout)
改行文字までの受信
urg_connection_type_t type
接続タイプ
TCP/IP read/write functions.
int connection_open(urg_connection_t *connection, urg_connection_type_t connection_type, const char *device, long baudrate_or_port)
接続
int connection_read(urg_connection_t *connection, char *data, int max_size, int timeout)
受信
urg_tcpclient_t tcpclient
イーサーネット接続
int connection_write(urg_connection_t *connection, const char *data, int size)
送信
urg_c
Author(s): Satofumi Kamimura
, Katsumi Kimoto, Adrian Boeing
autogenerated on Wed Mar 2 2022 01:08:11