@yinyinfurong_zmr/dbc-can
Version:
A general purpose CAN (Controller Area Network) toolbox with support for .dbc file parsing, CAN message decoding, and more
12 lines (11 loc) • 796 B
TypeScript
import { AttributeType } from '../dbc/DbcTypes';
export declare function table2Enum(table: string): Map<number, string>;
export declare function cleanComment(comment: string): string;
export declare function extractAttrType(str: string): AttributeType;
export declare function extractAttrNode(type: string, str: string): string;
export declare function extractAttrVal(type: string, str: string): string;
export declare function extractAttrSignalName(type: string, str: string): string;
export declare function extractAttrId(type: string, str: string): string;
export declare function extractMinVal(type: string, str: string): number;
export declare function extractMaxVal(type: string, str: string): number;
export declare function extractOptions(type: string, str: string): string[];