knx-listener
Version:
A thin client that creates a tunnel to knx gateway to listen to telegrams within knx net
13 lines (12 loc) • 748 B
TypeScript
export declare function ip2num(ipString: string): number;
export declare function num2ip(ipNumber: number): string;
export declare function num2mac(macNumber: number): string;
export declare function mac2num(macString: string): number;
export declare function getCurrentIp(): string;
export declare function sizeOf(value: number): number;
export declare function knxAddr2num(addrStr: string): number;
export declare function num2knxAddr(addrNum: number, isGroupAddr?: boolean): string;
export declare function removeNonPrintable(str: string): string;
export declare function noop(..._: any[]): any;
export declare function isIPv4(ipStr: string): boolean;
export declare function isKnxAddress(knxStrAddr: string, isGroupAddress?: boolean): boolean;