UNPKG

isobus-name-resolver-ts

Version:

Simple tool to parse an isobus name hexstring and split it into its components.

25 lines (24 loc) 782 B
export declare class IsobusName { private readonly nameString; private readonly dataBuffer; private readonly dataView; constructor(isobusname: string | ArrayBuffer); toString(): string; getDeviceClass(): number; getDeviceClassLabel(): string; getManufacturerCode(): number; getManufacturerCodeLabel(): string; getIdentityNumber(): number; getEcuInstance(): number; getFunctionInstance(): number; getFunction(): number; getFunctionLabel(): string; getDeviceClassInstance(): number; getIndustryGroup(): number; getIndustryGroupLabel(): string; getSelfConfigurableAddress(): number; getSelfConfigurableAddressLabel(): string; getIsoNameString(): string; private getByte; private static buf2hex; }