Methods
createRawChannel(channel, timestamps, protocol) → {RawChannel}
Parameters:
Name | Type | Description |
---|---|---|
channel |
string | Channel name (e.g. vcan0) |
timestamps |
bool | Whether or not timestamps shall be generated when reading a message |
protocol |
integer | optionally provide another default protocol value (default is CAN_RAW) |
- Source:
Returns:
a new channel object or exception
- Type
- RawChannel
createRawChannel(channel, options) → {RawChannel}
Parameters:
Name | Type | Description |
---|---|---|
channel |
string | Channel name (e.g. vcan0) |
options |
dict | list of options (timestamps, protocol, non_block_send) |
- Source:
Returns:
a new channel object or exception
- Type
- RawChannel