Basic CAN Port functions.  
More...
Go to the source code of this file.
Detailed Description
- Date:
 - 14.03.2009 
 
- Author:
 - Marius Zwicker This file is providing functions to read from and write to CAN ports 
 
Enumeration Type Documentation
- Enumerator: 
 
| BCS_CAN_NONE  | 
 blocking call, method will return only if message could be sent or received  
 | 
| BCS_CAN_NOWAIT  | 
 non blocking, method will always return and return BCS_ERR_EMPTY or BCS_ERR_NOTSENT if operation failed  
 | 
 
 
 
Function Documentation
- Parameters:
 - 
  
  
 
- Returns:
 - error values 
 
 
 
- Parameters:
 - 
  
    | fd | pointer to an unused BCS filedescriptor  | 
    | port | a string constant describing the CAN port (e.g. '/dev/can0')  | 
    | f | configure device options, see BCS_CAN_Flag docu  | 
  
   
- Returns:
 - error values 
 
 
 
- Parameters:
 - 
  
    | fd | an Int32 describing the filedescriptor (return value of FR9C_open)  | 
    | dt | a pointer of type BCS_canmsg awaiting data  | 
  
   
- Returns:
 - error values 
 
 
 
- Parameters:
 - 
  
    | fd | an int describing the filedescriptor (return value of FR9C_open)  | 
    | dt | a pointer of type BCS_canmsg containing your data  | 
  
   
- Returns:
 - error values