source: trunk/shared_serial/srv/SendRecv.srv @ 8

Last change on this file since 8 was 8, checked in by wcaarls, 12 years ago

Imported shared_serial at revision 990

File size: 495 bytes
Line 
1# Send data to serial port and wait for reply.
2
3# Either 0 (connectionless) or an unexpired socket identifier
4# from an earlier communication.
5uint32  socket
6
7# Data to send
8uint8[] send_data
9
10# Number of bytes to receive.
11uint32  length
12
13# Number of seconds to wait for data.
14float32 recv_timeout
15
16# Number of seconds to keep the port locked after this communication.
17float32 sock_timeout
18
19---
20
21# Socket identifier for further communications.
22uint32  socket
23
24# Received data.
25uint8[] recv_data
Note: See TracBrowser for help on using the repository browser.