-
Notifications
You must be signed in to change notification settings - Fork 0
/
lants-composer.d.ts
35 lines (35 loc) · 1.13 KB
/
lants-composer.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/// <reference types="node" />
import { lifxMsgType } from './lants-parser.js';
import { Integer } from './lants-device.js';
export interface ComposerParms {
type: lifxMsgType;
sequence: Integer;
ack_required?: boolean;
res_required?: boolean;
target: string;
tagged?: boolean;
source: Integer;
payload?: object;
}
export declare class LifxLanComposer {
compose(cp: ComposerParms): Buffer;
_composePayload(type: lifxMsgType, payload?: any): Buffer | null;
private _composePayloadSetPower;
private _composePayloadSetLabel;
private composeLocation;
private composeGroup;
private composeLabel;
private composeUpdated;
private _composePayloadSetLocation;
private _composePayloadSetGroup;
private _composePayloadEchoRequest;
private _composePayloadSetColor;
private _convertAnytoPacket;
private _composePayloadSetWaveForm;
private _composePayloadSetLightPower;
private _composePayloadSetInfrared;
private _composePayloadSetColorZones;
private _composePayloadGetColorZones;
private _composePayLoadGetTileState64;
}
//# sourceMappingURL=lants-composer.d.ts.map