Last change
on this file since 33 was
8,
checked in by wcaarls, 12 years ago
|
Imported shared_serial at revision 990
|
File size:
495 bytes
|
Rev | Line | |
---|
[8] | 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. |
---|
| 5 | uint32 socket |
---|
| 6 | |
---|
| 7 | # Data to send |
---|
| 8 | uint8[] send_data |
---|
| 9 | |
---|
| 10 | # Number of bytes to receive. |
---|
| 11 | uint32 length |
---|
| 12 | |
---|
| 13 | # Number of seconds to wait for data. |
---|
| 14 | float32 recv_timeout |
---|
| 15 | |
---|
| 16 | # Number of seconds to keep the port locked after this communication. |
---|
| 17 | float32 sock_timeout |
---|
| 18 | |
---|
| 19 | --- |
---|
| 20 | |
---|
| 21 | # Socket identifier for further communications. |
---|
| 22 | uint32 socket |
---|
| 23 | |
---|
| 24 | # Received data. |
---|
| 25 | uint8[] recv_data |
---|
Note: See
TracBrowser
for help on using the repository browser.