| Last change
                  on this file since 32 was
                  8,
                  checked in by wcaarls, 13 years ago | 
        
          | 
Imported shared_serial at revision 990
 | 
        | File size:
            442 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | # Receive data from serial port. | 
|---|
| 2 |  | 
|---|
| 3 | # Either 0 (connectionless) or an unexpired socket identifier | 
|---|
| 4 | # from an earlier communication. | 
|---|
| 5 | uint32  socket | 
|---|
| 6 |  | 
|---|
| 7 | # Number of bytes to receive. | 
|---|
| 8 | uint32  length | 
|---|
| 9 |  | 
|---|
| 10 | # Number of seconds to wait for data. | 
|---|
| 11 | float32 recv_timeout | 
|---|
| 12 |  | 
|---|
| 13 | # Number of seconds to keep the port locked after this communication. | 
|---|
| 14 | float32 sock_timeout | 
|---|
| 15 |  | 
|---|
| 16 | --- | 
|---|
| 17 |  | 
|---|
| 18 | # Socket identifier for further communications. | 
|---|
| 19 | uint32  socket | 
|---|
| 20 |  | 
|---|
| 21 | # Received data. | 
|---|
| 22 | uint8[] data | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.