isobus-name-resolver-ts
Version:
Simple tool to parse an isobus name hexstring and split it into its components.
24 lines (23 loc) • 752 B
TypeScript
import { Buffer } from 'buffer/';
export declare class IsobusName {
private readonly nameString;
private readonly dataBuffer;
constructor(isobusname: string | Buffer);
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;
}