CANRxChannel
Type: CANRxChannel
Script class for CAN Rx (receive) channel (obtain via ecu.canRxSetup.getChannel(n)).
Properties
Property | Description |
messageCount
| Get the number of CAN channels available for this setup. |
Methods
Method | Description |
findMessageByID(id)
| Find the message slot with the given CAN ID, returns -1 if not found. For extended IDs, bitwise OR the ID with 0x80000000. Returns -1 if not found. |
findUnusedMessage([start_index])
| Find the first unused message slot, starting from the given index (default 0). Returns -1 if no unused message slot is found. |
getMessage(index)
| Get the CAN Rx Message Slot (0-based). |