1 | export const ACN_PID = Buffer.from([
|
2 | 0x41, // A
|
3 | 0x53, // S
|
4 | 0x43, // C
|
5 | 0x2d, // -
|
6 | 0x45, // E
|
7 | 0x31, // 1
|
8 | 0x2e, // .
|
9 | 0x31, // 1
|
10 | 0x37, // 7
|
11 | 0x00,
|
12 | 0x00,
|
13 | 0x00,
|
14 | ]);
|
15 |
|
16 | /**
|
17 | * "The CID shall be a UUID [...] that is a 128-bit number / Each piece
|
18 | * of equipment should maintain the same CID for its entire lifetime"
|
19 | * - E1.31
|
20 | */
|
21 | export const DEFAULT_CID = Buffer.from([
|
22 | 0x6b,
|
23 | 0x79,
|
24 | 0x6c,
|
25 | 0x65,
|
26 | 0x48,
|
27 | 0x65,
|
28 | 0x6e,
|
29 | 0x73,
|
30 | 0x65,
|
31 | 0x6c,
|
32 | 0x44,
|
33 | 0x65,
|
34 | 0x66,
|
35 | 0x61,
|
36 | 0x75,
|
37 | 0x6c,
|
38 | ]);
|
39 |
|
40 | export enum RootVector {
|
41 | DATA = 4,
|
42 | EXTENDED = 8,
|
43 | }
|
44 | export enum FrameVector {
|
45 | DATA = 2,
|
46 | }
|
47 | export enum DmpVector {
|
48 | DATA = 2,
|
49 | }
|
50 |
|
51 | // export enum ExtendedFrameVector { SYNC = 1, DISCOVERY = 2 }
|