Embedded32 API
    Preparing search index...

    Interface ICANPort

    CAN Port - Raw CAN frame interface

    This port handles:

    • Sending raw CAN frames
    • Receiving raw CAN frames via callback
    • Setting hardware/software filters
    interface ICANPort {
        close(): void;
        getInterface(): string;
        isConnected(): boolean;
        onFrame(callback: (frame: CANFrame) => void): void;
        send(frame: CANFrame): Promise<void>;
        setFilters(filters: CANFilter[]): void;
    }

    Implemented by

    Index