zigbee-herdsman
Version:
An open source ZigBee gateway solution with node.js.
22 lines • 914 B
TypeScript
import { Buffalo } from '../../../buffalo';
import { EUI64 } from '../../../zspec/tstypes';
import { BuffaloZclOptions } from '../../../zspec/zcl/definition/tstype';
import ParameterType from './parameterType';
export interface BuffaloZiGateOptions extends BuffaloZclOptions {
startIndex?: number;
}
declare class BuffaloZiGate extends Buffalo {
write(type: ParameterType, value: any, options: BuffaloZiGateOptions): void;
read(type: ParameterType, options: BuffaloZiGateOptions): unknown;
writeRaw(value: Buffer): void;
readUInt16BE(): number;
writeUInt16BE(value: number): void;
readUInt32BE(): number;
writeUInt32BE(value: number): void;
readListUInt16BE(length: number): number[];
writeListUInt16BE(values: number[]): void;
readIeeeAddrBE(): EUI64;
writeIeeeAddrBE(value: string): void;
}
export default BuffaloZiGate;
//# sourceMappingURL=buffaloZiGate.d.ts.map