connect
Open a connection to a CAN interface by specifying type, channel, and baudrate for message monitoring.
Instructions
Open a connection to a CAN interface.
Args: interface: Interface type ('pcan' for PEAK PCAN-USB, 'virtual' for testing). channel: Channel name (e.g. 'PCAN_USBBUS1'). baudrate: Bus speed in bps. Common: 500000, 250000, 1000000, 125000.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | No | pcan | |
| channel | No | PCAN_USBBUS1 | |
| baudrate | No |