wiegand-control
Version:
Communicate with wiegand door access controller.
11 lines (10 loc) • 559 B
TypeScript
/// <reference types="node" />
import "moment-timezone";
export declare function parseData(data: Buffer): any;
export declare function payloadParser(funcCode: string, payload: Buffer): any;
export declare function parseBcdDate(bcd: Buffer): Date;
export declare function buildBcdDate(date: Date): Buffer;
export declare function hexStringToDecArray(hexString: string): number[];
export declare function decArrayToHexString(decArray: number[]): string;
export declare function ipToHex(ip: string): string;
export declare function hexToIp(hex: string): string;