knx.ts 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +51 -21
- package/README.md +274 -61
- package/dist/@types/interfaces/connection.d.ts +80 -13
- package/dist/@types/interfaces/servers.d.ts +18 -0
- package/dist/@types/interfaces/servers.js +2 -0
- package/dist/connection/KNXService.d.ts +13 -30
- package/dist/connection/KNXService.js +4 -164
- package/dist/connection/KNXTunneling.d.ts +4 -4
- package/dist/connection/KNXTunneling.js +35 -62
- package/dist/connection/KNXUSBConnection.d.ts +20 -0
- package/dist/connection/KNXUSBConnection.js +358 -0
- package/dist/connection/KNXnetIPServer.d.ts +29 -12
- package/dist/connection/KNXnetIPServer.js +261 -83
- package/dist/connection/Router.d.ts +52 -32
- package/dist/connection/Router.js +225 -153
- package/dist/connection/TPUART.d.ts +8 -3
- package/dist/connection/TPUART.js +41 -37
- package/dist/connection/TunnelConnection.d.ts +3 -1
- package/dist/connection/TunnelConnection.js +6 -4
- package/dist/core/CEMI.d.ts +7 -2
- package/dist/core/CEMI.js +5 -8
- package/dist/core/EMI.d.ts +312 -200
- package/dist/core/EMI.js +511 -1007
- package/dist/core/KNXnetIPStructures.d.ts +10 -1
- package/dist/core/KNXnetIPStructures.js +15 -10
- package/dist/core/MessageCodeField.d.ts +1 -1
- package/dist/core/cache/GroupAddressCache.d.ts +57 -0
- package/dist/core/cache/GroupAddressCache.js +227 -0
- package/dist/core/data/KNXDataDecode.d.ts +2 -2
- package/dist/core/data/KNXDataDecode.js +198 -183
- package/dist/core/enum/EnumControlField.d.ts +0 -5
- package/dist/core/enum/EnumControlField.js +1 -7
- package/dist/core/enum/EnumControlFieldExtended.d.ts +1 -1
- package/dist/core/enum/EnumShortACKFrame.d.ts +1 -1
- package/dist/core/enum/ErrorCodeSet.js +59 -0
- package/dist/core/enum/KNXnetIPEnum.d.ts +2 -2
- package/dist/core/enum/KNXnetIPEnum.js +19 -1
- package/dist/core/layers/data/NPDU.d.ts +2 -1
- package/dist/core/layers/data/NPDU.js +6 -3
- package/dist/index.d.ts +19 -2
- package/dist/index.js +36 -1
- package/dist/server/KNXMQTTGateway.d.ts +13 -0
- package/dist/server/KNXMQTTGateway.js +164 -0
- package/dist/server/KNXWebSocketServer.d.ts +12 -0
- package/dist/server/KNXWebSocketServer.js +118 -0
- package/dist/utils/CEMIAdapter.d.ts +4 -3
- package/dist/utils/CEMIAdapter.js +26 -30
- package/dist/utils/Logger.d.ts +4 -4
- package/dist/utils/Logger.js +3 -7
- package/package.json +27 -7
package/dist/core/EMI.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { AddressType } from "./enum/EnumControlFieldExtended";
|
|
2
2
|
import { ControlField } from "./ControlField";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ServiceMessage } from "../@types/interfaces/ServiceMessage";
|
|
6
|
-
import { SystemStatus, Status } from "./SystemStatus";
|
|
3
|
+
import { Priority } from "./enum/EnumControlField";
|
|
4
|
+
import { Status, SystemStatus } from "./SystemStatus";
|
|
7
5
|
import { SAP } from "./enum/SAP";
|
|
6
|
+
import { APCI } from "./layers/interfaces/APCI";
|
|
7
|
+
import { NPDU } from "./layers/data/NPDU";
|
|
8
|
+
export type bits4 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
9
|
+
export type NPCI = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
8
10
|
/**
|
|
9
11
|
* @alias External_Message_Interface
|
|
10
12
|
* @description The External Message Interface (EMI) is a standardized interface for communication between external devices and KNX systems. It allows for the integration of various external systems, such as building management systems, into the KNX network.
|
|
@@ -19,25 +21,25 @@ export declare class EMI {
|
|
|
19
21
|
* @param buffer Buffer completo del mensaje EMI (incluyendo Message Code)
|
|
20
22
|
* @returns Instancia del servicio correspondiente
|
|
21
23
|
*/
|
|
22
|
-
static fromBuffer(buffer: Buffer):
|
|
24
|
+
static fromBuffer(buffer: Buffer): EMIInstance;
|
|
23
25
|
/**
|
|
24
26
|
* @deprecated **No uses esto, está en desuso**
|
|
25
27
|
*/
|
|
26
28
|
static LayerAccess: {
|
|
27
29
|
readonly "PEI_Switch.req": {
|
|
28
|
-
new (
|
|
30
|
+
new (systemStatus: SystemStatus, LL: bits4, NL: bits4, TLG: bits4, TLC: bits4, TLL: bits4, AL: bits4, MAN: bits4, PEI: bits4, USR: bits4, res: bits4): {
|
|
29
31
|
messageCode: 169;
|
|
30
32
|
systemStatus: SystemStatus;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
_LL: bits4;
|
|
34
|
+
_NL: bits4;
|
|
35
|
+
_TLG: bits4;
|
|
36
|
+
_TLC: bits4;
|
|
37
|
+
_TLL: bits4;
|
|
38
|
+
_AL: bits4;
|
|
39
|
+
_MAN: bits4;
|
|
40
|
+
_PEI: bits4;
|
|
41
|
+
_USR: bits4;
|
|
42
|
+
_res: bits4;
|
|
41
43
|
get LL(): bits4;
|
|
42
44
|
set LL(value: bits4);
|
|
43
45
|
get NL(): bits4;
|
|
@@ -59,7 +61,7 @@ export declare class EMI {
|
|
|
59
61
|
get res(): bits4;
|
|
60
62
|
set res(value: bits4);
|
|
61
63
|
toBuffer(): Buffer;
|
|
62
|
-
describe(): Record<
|
|
64
|
+
describe(): Record<string, string>;
|
|
63
65
|
};
|
|
64
66
|
};
|
|
65
67
|
};
|
|
@@ -71,10 +73,10 @@ export declare class EMI {
|
|
|
71
73
|
*/
|
|
72
74
|
static BusmonitorEMI: {
|
|
73
75
|
readonly "L_Busmon.ind": {
|
|
74
|
-
new (
|
|
76
|
+
new (status: Status, timeStamp: number, controlField1: ControlField, LPDU: Buffer): {
|
|
75
77
|
messageCode: 43;
|
|
76
78
|
status: Status;
|
|
77
|
-
|
|
79
|
+
_timeStamp: number;
|
|
78
80
|
controlField1: ControlField;
|
|
79
81
|
/**
|
|
80
82
|
* Data Link Protocol Data Unit (LPDU) - This is the actual data payload of the message.
|
|
@@ -103,7 +105,7 @@ export declare class EMI {
|
|
|
103
105
|
fromBuffer(buffer: Buffer): {
|
|
104
106
|
messageCode: 43;
|
|
105
107
|
status: Status;
|
|
106
|
-
|
|
108
|
+
_timeStamp: number;
|
|
107
109
|
controlField1: ControlField;
|
|
108
110
|
/**
|
|
109
111
|
* Data Link Protocol Data Unit (LPDU) - This is the actual data payload of the message.
|
|
@@ -133,7 +135,7 @@ export declare class EMI {
|
|
|
133
135
|
* running system counter of the sending device equals the value given in “time”.
|
|
134
136
|
*/
|
|
135
137
|
readonly "L_Plain_Data.req": {
|
|
136
|
-
new (
|
|
138
|
+
new (time: number, data: Buffer): {
|
|
137
139
|
time: number;
|
|
138
140
|
data: Buffer;
|
|
139
141
|
toBuffer(): Buffer;
|
|
@@ -166,49 +168,109 @@ export declare class EMI {
|
|
|
166
168
|
*/
|
|
167
169
|
static DataLinkLayerEMI: {
|
|
168
170
|
readonly "L_Data.req": {
|
|
169
|
-
new (
|
|
171
|
+
new (priority: Priority, ackRequest: boolean, destinationAddress: string, addressType: AddressType, npci: NPCI, npdu: NPDU): {
|
|
172
|
+
addressType: AddressType;
|
|
173
|
+
npci: NPCI;
|
|
170
174
|
messageCode: 17;
|
|
171
175
|
controlField1: ControlField;
|
|
172
176
|
destinationAddress: string;
|
|
173
|
-
|
|
174
|
-
NPCI: number;
|
|
175
|
-
octNumber: number;
|
|
176
|
-
npdu: Buffer;
|
|
177
|
+
npdu: NPDU;
|
|
177
178
|
toBuffer(): Buffer;
|
|
178
179
|
describe(): {
|
|
179
180
|
messageCode: string;
|
|
180
181
|
controlField1: string;
|
|
181
182
|
destinationAddress: string;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
npdu: {
|
|
184
|
+
layer: string;
|
|
185
|
+
addressType: string;
|
|
186
|
+
hopCount: number;
|
|
187
|
+
TPDU: {
|
|
188
|
+
layer: string;
|
|
189
|
+
tpci: {
|
|
190
|
+
buffer: Buffer<ArrayBufferLike>;
|
|
191
|
+
hex: string;
|
|
192
|
+
dataOrControlFlag: string;
|
|
193
|
+
numbered: boolean;
|
|
194
|
+
sequenceNumber: number;
|
|
195
|
+
firstTwoBitsFromAPCI: number;
|
|
196
|
+
TPCIType: string;
|
|
197
|
+
};
|
|
198
|
+
APDU: {
|
|
199
|
+
layer: string;
|
|
200
|
+
tpci: {
|
|
201
|
+
buffer: Buffer<ArrayBufferLike>;
|
|
202
|
+
hex: string;
|
|
203
|
+
dataOrControlFlag: string;
|
|
204
|
+
numbered: boolean;
|
|
205
|
+
sequenceNumber: number;
|
|
206
|
+
firstTwoBitsFromAPCI: number;
|
|
207
|
+
TPCIType: string;
|
|
208
|
+
};
|
|
209
|
+
apci: {
|
|
210
|
+
obj: string;
|
|
211
|
+
command: string;
|
|
212
|
+
value: string;
|
|
213
|
+
};
|
|
214
|
+
data: Buffer<ArrayBufferLike>;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
186
218
|
rawValue: string;
|
|
187
219
|
};
|
|
188
220
|
};
|
|
189
221
|
fromBuffer(buffer: Buffer): {
|
|
222
|
+
addressType: AddressType;
|
|
223
|
+
npci: NPCI;
|
|
190
224
|
messageCode: 17;
|
|
191
225
|
controlField1: ControlField;
|
|
192
226
|
destinationAddress: string;
|
|
193
|
-
|
|
194
|
-
NPCI: number;
|
|
195
|
-
octNumber: number;
|
|
196
|
-
npdu: Buffer;
|
|
227
|
+
npdu: NPDU;
|
|
197
228
|
toBuffer(): Buffer;
|
|
198
229
|
describe(): {
|
|
199
230
|
messageCode: string;
|
|
200
231
|
controlField1: string;
|
|
201
232
|
destinationAddress: string;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
233
|
+
npdu: {
|
|
234
|
+
layer: string;
|
|
235
|
+
addressType: string;
|
|
236
|
+
hopCount: number;
|
|
237
|
+
TPDU: {
|
|
238
|
+
layer: string;
|
|
239
|
+
tpci: {
|
|
240
|
+
buffer: Buffer<ArrayBufferLike>;
|
|
241
|
+
hex: string;
|
|
242
|
+
dataOrControlFlag: string;
|
|
243
|
+
numbered: boolean;
|
|
244
|
+
sequenceNumber: number;
|
|
245
|
+
firstTwoBitsFromAPCI: number;
|
|
246
|
+
TPCIType: string;
|
|
247
|
+
};
|
|
248
|
+
APDU: {
|
|
249
|
+
layer: string;
|
|
250
|
+
tpci: {
|
|
251
|
+
buffer: Buffer<ArrayBufferLike>;
|
|
252
|
+
hex: string;
|
|
253
|
+
dataOrControlFlag: string;
|
|
254
|
+
numbered: boolean;
|
|
255
|
+
sequenceNumber: number;
|
|
256
|
+
firstTwoBitsFromAPCI: number;
|
|
257
|
+
TPCIType: string;
|
|
258
|
+
};
|
|
259
|
+
apci: {
|
|
260
|
+
obj: string;
|
|
261
|
+
command: string;
|
|
262
|
+
value: string;
|
|
263
|
+
};
|
|
264
|
+
data: Buffer<ArrayBufferLike>;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
206
268
|
rawValue: string;
|
|
207
269
|
};
|
|
208
270
|
};
|
|
209
271
|
};
|
|
210
272
|
readonly "L_Data.con": {
|
|
211
|
-
new (
|
|
273
|
+
new (priority: Priority, confirm: boolean, destinationAddress: string, addressType: AddressType, npci: NPCI, npdu: Buffer): {
|
|
212
274
|
messageCode: 46;
|
|
213
275
|
controlField1: ControlField;
|
|
214
276
|
destinationAddress: string;
|
|
@@ -250,7 +312,7 @@ export declare class EMI {
|
|
|
250
312
|
};
|
|
251
313
|
};
|
|
252
314
|
readonly "L_Data.ind": {
|
|
253
|
-
new (
|
|
315
|
+
new (priority: Priority, sourceAddress: string, destinationAddress: string, addressType: AddressType, npci: NPCI, npdu: Buffer): {
|
|
254
316
|
messageCode: 41;
|
|
255
317
|
controlField1: ControlField;
|
|
256
318
|
sourceAddress: string;
|
|
@@ -296,11 +358,11 @@ export declare class EMI {
|
|
|
296
358
|
};
|
|
297
359
|
};
|
|
298
360
|
readonly "L_Poll_Data.req": {
|
|
299
|
-
new (
|
|
361
|
+
new (pollingGroup: number, nrOfSlots: bits4): {
|
|
300
362
|
messageCode: 19;
|
|
301
363
|
control: number;
|
|
302
|
-
|
|
303
|
-
|
|
364
|
+
_pollingGroup: number;
|
|
365
|
+
_nrOfSlots: bits4;
|
|
304
366
|
get pollingGroup(): number;
|
|
305
367
|
set pollingGroup(value: number);
|
|
306
368
|
get nrOfSlots(): bits4;
|
|
@@ -311,8 +373,8 @@ export declare class EMI {
|
|
|
311
373
|
fromBuffer(buffer: Buffer): {
|
|
312
374
|
messageCode: 19;
|
|
313
375
|
control: number;
|
|
314
|
-
|
|
315
|
-
|
|
376
|
+
_pollingGroup: number;
|
|
377
|
+
_nrOfSlots: bits4;
|
|
316
378
|
get pollingGroup(): number;
|
|
317
379
|
set pollingGroup(value: number);
|
|
318
380
|
get nrOfSlots(): bits4;
|
|
@@ -322,10 +384,10 @@ export declare class EMI {
|
|
|
322
384
|
};
|
|
323
385
|
};
|
|
324
386
|
readonly "L_Poll_Data.con": {
|
|
325
|
-
new (
|
|
387
|
+
new (pollingGroup: number, nrOfSlots: bits4, confirm: boolean): {
|
|
326
388
|
control: ControlField;
|
|
327
|
-
|
|
328
|
-
|
|
389
|
+
_pollingGroup: number;
|
|
390
|
+
_nrOfSlots: bits4;
|
|
329
391
|
get pollingGroup(): number;
|
|
330
392
|
set pollingGroup(value: number);
|
|
331
393
|
get nrOfSlots(): bits4;
|
|
@@ -335,8 +397,8 @@ export declare class EMI {
|
|
|
335
397
|
};
|
|
336
398
|
fromBuffer(buffer: Buffer): {
|
|
337
399
|
control: ControlField;
|
|
338
|
-
|
|
339
|
-
|
|
400
|
+
_pollingGroup: number;
|
|
401
|
+
_nrOfSlots: bits4;
|
|
340
402
|
get pollingGroup(): number;
|
|
341
403
|
set pollingGroup(value: number);
|
|
342
404
|
get nrOfSlots(): bits4;
|
|
@@ -346,7 +408,7 @@ export declare class EMI {
|
|
|
346
408
|
};
|
|
347
409
|
};
|
|
348
410
|
readonly "L_SystemBroadcast.req": {
|
|
349
|
-
new (
|
|
411
|
+
new (priority: Priority, confirm: boolean, ackRequest: boolean, destinationAddress: string, addressType: 0 | 1, npci: NPCI, npdu: Buffer): {
|
|
350
412
|
messageCode: 23;
|
|
351
413
|
controlField1: ControlField;
|
|
352
414
|
destinationAddress: string;
|
|
@@ -388,7 +450,7 @@ export declare class EMI {
|
|
|
388
450
|
};
|
|
389
451
|
};
|
|
390
452
|
readonly "L_SystemBroadcast.con": {
|
|
391
|
-
new (
|
|
453
|
+
new (notRepeat: boolean, priority: Priority, confirm: boolean, destinationAddress: string, addressType: AddressType, npci: NPCI, npdu: Buffer): {
|
|
392
454
|
messageCode: 38;
|
|
393
455
|
controlField1: ControlField;
|
|
394
456
|
destinationAddress: string;
|
|
@@ -430,7 +492,7 @@ export declare class EMI {
|
|
|
430
492
|
};
|
|
431
493
|
};
|
|
432
494
|
readonly "L_SystemBroadcast.ind": {
|
|
433
|
-
new (
|
|
495
|
+
new (priority: Priority, confirm: boolean, notRepeat: boolean, sourceAddress: string, destinationAddress: string, addressType: AddressType, npci: NPCI, npdu: Buffer): {
|
|
434
496
|
messageCode: 40;
|
|
435
497
|
controlField1: ControlField;
|
|
436
498
|
destinationAddress: string;
|
|
@@ -482,7 +544,7 @@ export declare class EMI {
|
|
|
482
544
|
*/
|
|
483
545
|
static NetworkLayerEMI: {
|
|
484
546
|
readonly "N_Data_Individual.req": {
|
|
485
|
-
new (
|
|
547
|
+
new (frameType: boolean, repeat: boolean, systemBroadcast: boolean, priority: Priority, ackRequest: boolean, confirm: boolean, destinationAddress: string, tpdu: Buffer): {
|
|
486
548
|
messageCode: 33;
|
|
487
549
|
controlField: ControlField;
|
|
488
550
|
destinationAddress: string;
|
|
@@ -520,7 +582,7 @@ export declare class EMI {
|
|
|
520
582
|
};
|
|
521
583
|
};
|
|
522
584
|
readonly "N_Data_Individual.con": {
|
|
523
|
-
new (
|
|
585
|
+
new (confirm: boolean, destinationAddress: string, tpdu: Buffer): {
|
|
524
586
|
messageCode: 78;
|
|
525
587
|
controlField: ControlField;
|
|
526
588
|
destinationAddress: string;
|
|
@@ -558,7 +620,7 @@ export declare class EMI {
|
|
|
558
620
|
};
|
|
559
621
|
};
|
|
560
622
|
readonly "N_Data_Individual.ind": {
|
|
561
|
-
new (
|
|
623
|
+
new (priority: number, sourceAddress: string, destinationAddress: string, hopCount: number, tpdu: Buffer): {
|
|
562
624
|
messageCode: 73;
|
|
563
625
|
controlField: ControlField;
|
|
564
626
|
sourceAddress: string;
|
|
@@ -600,7 +662,7 @@ export declare class EMI {
|
|
|
600
662
|
};
|
|
601
663
|
};
|
|
602
664
|
readonly "N_Data_Group.req": {
|
|
603
|
-
new (
|
|
665
|
+
new (priority: number, destinationAddress: string, apdu: Buffer): {
|
|
604
666
|
messageCode: 34;
|
|
605
667
|
controlField: ControlField;
|
|
606
668
|
destinationAddress: string;
|
|
@@ -638,7 +700,7 @@ export declare class EMI {
|
|
|
638
700
|
};
|
|
639
701
|
};
|
|
640
702
|
readonly "N_Data_Group.con": {
|
|
641
|
-
new (
|
|
703
|
+
new (confirm: boolean, destinationAddress: string, apdu: Buffer): {
|
|
642
704
|
messageCode: 62;
|
|
643
705
|
controlField: ControlField;
|
|
644
706
|
destinationAddress: string;
|
|
@@ -676,7 +738,7 @@ export declare class EMI {
|
|
|
676
738
|
};
|
|
677
739
|
};
|
|
678
740
|
readonly "N_Data_Group.ind": {
|
|
679
|
-
new (
|
|
741
|
+
new (priority: number, sourceAddress: string, destinationAddress: string, hopCount: number, apdu: Buffer): {
|
|
680
742
|
messageCode: 58;
|
|
681
743
|
controlField: ControlField;
|
|
682
744
|
sourceAddress: string;
|
|
@@ -718,7 +780,7 @@ export declare class EMI {
|
|
|
718
780
|
};
|
|
719
781
|
};
|
|
720
782
|
readonly "N_Data_Broadcast.req": {
|
|
721
|
-
new (
|
|
783
|
+
new (priority: number, hopCountType: NPCI, tpdu: Buffer): {
|
|
722
784
|
messageCode: 44;
|
|
723
785
|
controlField: ControlField;
|
|
724
786
|
hopCount: NPCI;
|
|
@@ -756,7 +818,7 @@ export declare class EMI {
|
|
|
756
818
|
};
|
|
757
819
|
};
|
|
758
820
|
readonly "N_Data_Broadcast.con": {
|
|
759
|
-
new (
|
|
821
|
+
new (confirm: boolean, tpdu: Buffer): {
|
|
760
822
|
messageCode: 79;
|
|
761
823
|
controlField: ControlField;
|
|
762
824
|
TPDU: Buffer;
|
|
@@ -802,7 +864,7 @@ export declare class EMI {
|
|
|
802
864
|
};
|
|
803
865
|
};
|
|
804
866
|
readonly "N_Data_Broadcast.ind": {
|
|
805
|
-
new (
|
|
867
|
+
new (priority: number, sourceAddress: string, hopCount: number, tpdu: Buffer): {
|
|
806
868
|
messageCode: 77;
|
|
807
869
|
controlField: ControlField;
|
|
808
870
|
sourceAddress: string;
|
|
@@ -842,11 +904,11 @@ export declare class EMI {
|
|
|
842
904
|
};
|
|
843
905
|
};
|
|
844
906
|
readonly "N_Poll_Data.req": {
|
|
845
|
-
new (
|
|
907
|
+
new (pollingGroup: string, nrOfSlots: bits4): {
|
|
846
908
|
messageCode: 35;
|
|
847
909
|
control: number;
|
|
848
|
-
|
|
849
|
-
|
|
910
|
+
_pollingGroup: Buffer;
|
|
911
|
+
_nrOfSlots: bits4;
|
|
850
912
|
get pollingGroup(): string;
|
|
851
913
|
set pollingGroup(value: string);
|
|
852
914
|
get nrOfSlots(): bits4;
|
|
@@ -867,8 +929,8 @@ export declare class EMI {
|
|
|
867
929
|
fromBuffer(buffer: Buffer): {
|
|
868
930
|
messageCode: 35;
|
|
869
931
|
control: number;
|
|
870
|
-
|
|
871
|
-
|
|
932
|
+
_pollingGroup: Buffer;
|
|
933
|
+
_nrOfSlots: bits4;
|
|
872
934
|
get pollingGroup(): string;
|
|
873
935
|
set pollingGroup(value: string);
|
|
874
936
|
get nrOfSlots(): bits4;
|
|
@@ -888,11 +950,11 @@ export declare class EMI {
|
|
|
888
950
|
};
|
|
889
951
|
};
|
|
890
952
|
readonly "N_Poll_Data.con": {
|
|
891
|
-
new (
|
|
953
|
+
new (pollingGroup: string, nrOfSlots: bits4, pollData: Buffer): {
|
|
892
954
|
messageCode: 53;
|
|
893
955
|
control: number;
|
|
894
|
-
|
|
895
|
-
|
|
956
|
+
_pollingGroup: Buffer;
|
|
957
|
+
_nrOfSlots: bits4;
|
|
896
958
|
pollData: Buffer;
|
|
897
959
|
get pollingGroup(): string;
|
|
898
960
|
set pollingGroup(value: string);
|
|
@@ -924,8 +986,8 @@ export declare class EMI {
|
|
|
924
986
|
fromBuffer(buffer: Buffer): {
|
|
925
987
|
messageCode: 53;
|
|
926
988
|
control: number;
|
|
927
|
-
|
|
928
|
-
|
|
989
|
+
_pollingGroup: Buffer;
|
|
990
|
+
_nrOfSlots: bits4;
|
|
929
991
|
pollData: Buffer;
|
|
930
992
|
get pollingGroup(): string;
|
|
931
993
|
set pollingGroup(value: string);
|
|
@@ -948,7 +1010,7 @@ export declare class EMI {
|
|
|
948
1010
|
};
|
|
949
1011
|
static TransportLayerEMI: {
|
|
950
1012
|
readonly "T_Connect.req": {
|
|
951
|
-
new (
|
|
1013
|
+
new (destinationAddress: string): {
|
|
952
1014
|
messageCode: 67;
|
|
953
1015
|
control: number;
|
|
954
1016
|
destinationAddress: string;
|
|
@@ -964,7 +1026,7 @@ export declare class EMI {
|
|
|
964
1026
|
};
|
|
965
1027
|
};
|
|
966
1028
|
readonly "T_Connect.con": {
|
|
967
|
-
new (
|
|
1029
|
+
new (destinationAddress: string): {
|
|
968
1030
|
messageCode: 134;
|
|
969
1031
|
control: number;
|
|
970
1032
|
destinationAddress: string;
|
|
@@ -980,7 +1042,7 @@ export declare class EMI {
|
|
|
980
1042
|
};
|
|
981
1043
|
};
|
|
982
1044
|
readonly "T_Connect.ind": {
|
|
983
|
-
new (
|
|
1045
|
+
new (sourceAddress: string, frameType: boolean, repeat: boolean, systemBroadcast: boolean, priority: Priority, ackRequest: boolean): {
|
|
984
1046
|
messageCode: 133;
|
|
985
1047
|
control: ControlField;
|
|
986
1048
|
sourceAddress: string;
|
|
@@ -1004,31 +1066,35 @@ export declare class EMI {
|
|
|
1004
1066
|
};
|
|
1005
1067
|
};
|
|
1006
1068
|
readonly "T_Disconnect.req": {
|
|
1007
|
-
new (
|
|
1069
|
+
new (): {
|
|
1008
1070
|
messageCode: 68;
|
|
1009
1071
|
control: number;
|
|
1010
1072
|
toBuffer(): Buffer;
|
|
1011
|
-
describe():
|
|
1012
|
-
messageCode: 68;
|
|
1013
|
-
};
|
|
1073
|
+
describe(): Record<string, string>;
|
|
1014
1074
|
};
|
|
1015
1075
|
fromBuffer(buffer: Buffer): {
|
|
1016
1076
|
messageCode: 68;
|
|
1017
1077
|
control: number;
|
|
1018
1078
|
toBuffer(): Buffer;
|
|
1019
|
-
describe():
|
|
1020
|
-
messageCode: 68;
|
|
1021
|
-
};
|
|
1079
|
+
describe(): Record<string, string>;
|
|
1022
1080
|
};
|
|
1023
1081
|
};
|
|
1024
1082
|
readonly "T_Disconnect.con": {
|
|
1025
|
-
new (
|
|
1083
|
+
new (frameType: boolean, repeat: boolean, systemBroadcast: boolean, priority: Priority, ackRequest: boolean, confirm: boolean): {
|
|
1026
1084
|
messageCode: 136;
|
|
1027
1085
|
control: ControlField;
|
|
1028
1086
|
toBuffer(): Buffer;
|
|
1029
1087
|
describe(): {
|
|
1030
|
-
messageCode:
|
|
1031
|
-
control:
|
|
1088
|
+
messageCode: string;
|
|
1089
|
+
control: {
|
|
1090
|
+
ControlField: string;
|
|
1091
|
+
FrameType: string;
|
|
1092
|
+
Repeat: boolean;
|
|
1093
|
+
SystemBroadcast: boolean;
|
|
1094
|
+
Priority: string;
|
|
1095
|
+
ACKRequest: string;
|
|
1096
|
+
Confirm: string;
|
|
1097
|
+
};
|
|
1032
1098
|
};
|
|
1033
1099
|
};
|
|
1034
1100
|
fromBuffer(buffer: Buffer): {
|
|
@@ -1036,19 +1102,35 @@ export declare class EMI {
|
|
|
1036
1102
|
control: ControlField;
|
|
1037
1103
|
toBuffer(): Buffer;
|
|
1038
1104
|
describe(): {
|
|
1039
|
-
messageCode:
|
|
1040
|
-
control:
|
|
1105
|
+
messageCode: string;
|
|
1106
|
+
control: {
|
|
1107
|
+
ControlField: string;
|
|
1108
|
+
FrameType: string;
|
|
1109
|
+
Repeat: boolean;
|
|
1110
|
+
SystemBroadcast: boolean;
|
|
1111
|
+
Priority: string;
|
|
1112
|
+
ACKRequest: string;
|
|
1113
|
+
Confirm: string;
|
|
1114
|
+
};
|
|
1041
1115
|
};
|
|
1042
1116
|
};
|
|
1043
1117
|
};
|
|
1044
1118
|
readonly "T_Disconnect.ind": {
|
|
1045
|
-
new (
|
|
1119
|
+
new (frameType: boolean, repeat: boolean, systemBroadcast: boolean, priority: Priority, ackRequest: boolean, confirm: boolean): {
|
|
1046
1120
|
messageCode: 135;
|
|
1047
1121
|
control: ControlField;
|
|
1048
1122
|
toBuffer(): Buffer;
|
|
1049
1123
|
describe(): {
|
|
1050
|
-
messageCode:
|
|
1051
|
-
control:
|
|
1124
|
+
messageCode: string;
|
|
1125
|
+
control: {
|
|
1126
|
+
ControlField: string;
|
|
1127
|
+
FrameType: string;
|
|
1128
|
+
Repeat: boolean;
|
|
1129
|
+
SystemBroadcast: boolean;
|
|
1130
|
+
Priority: string;
|
|
1131
|
+
ACKRequest: string;
|
|
1132
|
+
Confirm: string;
|
|
1133
|
+
};
|
|
1052
1134
|
};
|
|
1053
1135
|
};
|
|
1054
1136
|
fromBuffer(buffer: Buffer): {
|
|
@@ -1056,22 +1138,38 @@ export declare class EMI {
|
|
|
1056
1138
|
control: ControlField;
|
|
1057
1139
|
toBuffer(): Buffer;
|
|
1058
1140
|
describe(): {
|
|
1059
|
-
messageCode:
|
|
1060
|
-
control:
|
|
1141
|
+
messageCode: string;
|
|
1142
|
+
control: {
|
|
1143
|
+
ControlField: string;
|
|
1144
|
+
FrameType: string;
|
|
1145
|
+
Repeat: boolean;
|
|
1146
|
+
SystemBroadcast: boolean;
|
|
1147
|
+
Priority: string;
|
|
1148
|
+
ACKRequest: string;
|
|
1149
|
+
Confirm: string;
|
|
1150
|
+
};
|
|
1061
1151
|
};
|
|
1062
1152
|
};
|
|
1063
1153
|
};
|
|
1064
1154
|
readonly "T_Data_Connected.req": {
|
|
1065
|
-
new (
|
|
1155
|
+
new (priority: Priority, hopCount: number, apdu: Buffer): {
|
|
1066
1156
|
messageCode: 65;
|
|
1067
1157
|
control: ControlField;
|
|
1068
1158
|
APDU: Buffer;
|
|
1069
1159
|
hopCount: number;
|
|
1070
1160
|
toBuffer(): Buffer;
|
|
1071
1161
|
describe(): {
|
|
1072
|
-
messageCode:
|
|
1073
|
-
control:
|
|
1074
|
-
|
|
1162
|
+
messageCode: string;
|
|
1163
|
+
control: {
|
|
1164
|
+
ControlField: string;
|
|
1165
|
+
FrameType: string;
|
|
1166
|
+
Repeat: boolean;
|
|
1167
|
+
SystemBroadcast: boolean;
|
|
1168
|
+
Priority: string;
|
|
1169
|
+
ACKRequest: string;
|
|
1170
|
+
Confirm: string;
|
|
1171
|
+
};
|
|
1172
|
+
hopCount: string;
|
|
1075
1173
|
};
|
|
1076
1174
|
};
|
|
1077
1175
|
fromBuffer(buffer: Buffer): {
|
|
@@ -1081,20 +1179,28 @@ export declare class EMI {
|
|
|
1081
1179
|
hopCount: number;
|
|
1082
1180
|
toBuffer(): Buffer;
|
|
1083
1181
|
describe(): {
|
|
1084
|
-
messageCode:
|
|
1085
|
-
control:
|
|
1086
|
-
|
|
1182
|
+
messageCode: string;
|
|
1183
|
+
control: {
|
|
1184
|
+
ControlField: string;
|
|
1185
|
+
FrameType: string;
|
|
1186
|
+
Repeat: boolean;
|
|
1187
|
+
SystemBroadcast: boolean;
|
|
1188
|
+
Priority: string;
|
|
1189
|
+
ACKRequest: string;
|
|
1190
|
+
Confirm: string;
|
|
1191
|
+
};
|
|
1192
|
+
hopCount: string;
|
|
1087
1193
|
};
|
|
1088
1194
|
};
|
|
1089
1195
|
};
|
|
1090
1196
|
readonly "T_Data_Connected.con": {
|
|
1091
|
-
new (
|
|
1197
|
+
new (confirm: boolean, apdu: Buffer): {
|
|
1092
1198
|
messageCode: 142;
|
|
1093
1199
|
control: ControlField;
|
|
1094
1200
|
APDU: Buffer;
|
|
1095
1201
|
toBuffer(): Buffer;
|
|
1096
1202
|
describe(): {
|
|
1097
|
-
messageCode:
|
|
1203
|
+
messageCode: string;
|
|
1098
1204
|
control: {
|
|
1099
1205
|
ControlField: string;
|
|
1100
1206
|
FrameType: string;
|
|
@@ -1113,7 +1219,7 @@ export declare class EMI {
|
|
|
1113
1219
|
APDU: Buffer;
|
|
1114
1220
|
toBuffer(): Buffer;
|
|
1115
1221
|
describe(): {
|
|
1116
|
-
messageCode:
|
|
1222
|
+
messageCode: string;
|
|
1117
1223
|
control: {
|
|
1118
1224
|
ControlField: string;
|
|
1119
1225
|
FrameType: string;
|
|
@@ -1128,7 +1234,7 @@ export declare class EMI {
|
|
|
1128
1234
|
};
|
|
1129
1235
|
};
|
|
1130
1236
|
readonly "T_Data_Connected.ind": {
|
|
1131
|
-
new (
|
|
1237
|
+
new (priority: number, sourceAddress: string, apdu: Buffer, hopCount: number): {
|
|
1132
1238
|
messageCode: 137;
|
|
1133
1239
|
control: ControlField;
|
|
1134
1240
|
sourceAddress: string;
|
|
@@ -1136,7 +1242,7 @@ export declare class EMI {
|
|
|
1136
1242
|
hopCount: number;
|
|
1137
1243
|
toBuffer(): Buffer;
|
|
1138
1244
|
describe(): {
|
|
1139
|
-
messageCode:
|
|
1245
|
+
messageCode: string;
|
|
1140
1246
|
control: {
|
|
1141
1247
|
ControlField: string;
|
|
1142
1248
|
FrameType: string;
|
|
@@ -1158,7 +1264,7 @@ export declare class EMI {
|
|
|
1158
1264
|
hopCount: number;
|
|
1159
1265
|
toBuffer(): Buffer;
|
|
1160
1266
|
describe(): {
|
|
1161
|
-
messageCode:
|
|
1267
|
+
messageCode: string;
|
|
1162
1268
|
control: {
|
|
1163
1269
|
ControlField: string;
|
|
1164
1270
|
FrameType: string;
|
|
@@ -1174,14 +1280,14 @@ export declare class EMI {
|
|
|
1174
1280
|
};
|
|
1175
1281
|
};
|
|
1176
1282
|
readonly "T_Data_Group.req": {
|
|
1177
|
-
new (
|
|
1283
|
+
new (priority: number, hopCount: number, apdu: Buffer): {
|
|
1178
1284
|
messageCode: 50;
|
|
1179
1285
|
control: ControlField;
|
|
1180
1286
|
APDU: Buffer;
|
|
1181
1287
|
hopCount: number;
|
|
1182
1288
|
toBuffer(): Buffer;
|
|
1183
1289
|
describe(): {
|
|
1184
|
-
messageCode:
|
|
1290
|
+
messageCode: string;
|
|
1185
1291
|
control: {
|
|
1186
1292
|
ControlField: string;
|
|
1187
1293
|
FrameType: string;
|
|
@@ -1191,7 +1297,7 @@ export declare class EMI {
|
|
|
1191
1297
|
ACKRequest: string;
|
|
1192
1298
|
Confirm: string;
|
|
1193
1299
|
};
|
|
1194
|
-
hopCount:
|
|
1300
|
+
hopCount: string;
|
|
1195
1301
|
APDU: string;
|
|
1196
1302
|
};
|
|
1197
1303
|
};
|
|
@@ -1202,7 +1308,7 @@ export declare class EMI {
|
|
|
1202
1308
|
hopCount: number;
|
|
1203
1309
|
toBuffer(): Buffer;
|
|
1204
1310
|
describe(): {
|
|
1205
|
-
messageCode:
|
|
1311
|
+
messageCode: string;
|
|
1206
1312
|
control: {
|
|
1207
1313
|
ControlField: string;
|
|
1208
1314
|
FrameType: string;
|
|
@@ -1212,19 +1318,19 @@ export declare class EMI {
|
|
|
1212
1318
|
ACKRequest: string;
|
|
1213
1319
|
Confirm: string;
|
|
1214
1320
|
};
|
|
1215
|
-
hopCount:
|
|
1321
|
+
hopCount: string;
|
|
1216
1322
|
APDU: string;
|
|
1217
1323
|
};
|
|
1218
1324
|
};
|
|
1219
1325
|
};
|
|
1220
1326
|
readonly "T_Data_Group.con": {
|
|
1221
|
-
new (
|
|
1327
|
+
new (confirm: boolean, data: Buffer): {
|
|
1222
1328
|
messageCode: 126;
|
|
1223
1329
|
control: ControlField;
|
|
1224
1330
|
data: Buffer;
|
|
1225
1331
|
toBuffer(): Buffer;
|
|
1226
1332
|
describe(): {
|
|
1227
|
-
messageCode:
|
|
1333
|
+
messageCode: string;
|
|
1228
1334
|
control: {
|
|
1229
1335
|
ControlField: string;
|
|
1230
1336
|
FrameType: string;
|
|
@@ -1242,7 +1348,7 @@ export declare class EMI {
|
|
|
1242
1348
|
data: Buffer;
|
|
1243
1349
|
toBuffer(): Buffer;
|
|
1244
1350
|
describe(): {
|
|
1245
|
-
messageCode:
|
|
1351
|
+
messageCode: string;
|
|
1246
1352
|
control: {
|
|
1247
1353
|
ControlField: string;
|
|
1248
1354
|
FrameType: string;
|
|
@@ -1256,13 +1362,13 @@ export declare class EMI {
|
|
|
1256
1362
|
};
|
|
1257
1363
|
};
|
|
1258
1364
|
readonly "T_Data_Group.ind": {
|
|
1259
|
-
new (
|
|
1365
|
+
new (priority: number, apdu: Buffer): {
|
|
1260
1366
|
messageCode: 122;
|
|
1261
1367
|
control: ControlField;
|
|
1262
1368
|
APDU: Buffer;
|
|
1263
1369
|
toBuffer(): Buffer;
|
|
1264
1370
|
describe(): {
|
|
1265
|
-
messageCode:
|
|
1371
|
+
messageCode: string;
|
|
1266
1372
|
control: {
|
|
1267
1373
|
ControlField: string;
|
|
1268
1374
|
FrameType: string;
|
|
@@ -1281,7 +1387,7 @@ export declare class EMI {
|
|
|
1281
1387
|
APDU: Buffer;
|
|
1282
1388
|
toBuffer(): Buffer;
|
|
1283
1389
|
describe(): {
|
|
1284
|
-
messageCode:
|
|
1390
|
+
messageCode: string;
|
|
1285
1391
|
control: {
|
|
1286
1392
|
ControlField: string;
|
|
1287
1393
|
FrameType: string;
|
|
@@ -1296,7 +1402,7 @@ export declare class EMI {
|
|
|
1296
1402
|
};
|
|
1297
1403
|
};
|
|
1298
1404
|
readonly "T_Data_Individual.req": {
|
|
1299
|
-
new (
|
|
1405
|
+
new (priority: number, destinationAddress: string, hopCount: number, apdu: Buffer): {
|
|
1300
1406
|
messageCode: 74;
|
|
1301
1407
|
control: ControlField;
|
|
1302
1408
|
destinationAddress: string;
|
|
@@ -1304,7 +1410,7 @@ export declare class EMI {
|
|
|
1304
1410
|
hopCount: number;
|
|
1305
1411
|
toBuffer(): Buffer;
|
|
1306
1412
|
describe(): {
|
|
1307
|
-
messageCode:
|
|
1413
|
+
messageCode: string;
|
|
1308
1414
|
control: {
|
|
1309
1415
|
ControlField: string;
|
|
1310
1416
|
FrameType: string;
|
|
@@ -1315,7 +1421,7 @@ export declare class EMI {
|
|
|
1315
1421
|
Confirm: string;
|
|
1316
1422
|
};
|
|
1317
1423
|
destinationAddress: string;
|
|
1318
|
-
hopCount:
|
|
1424
|
+
hopCount: string;
|
|
1319
1425
|
APDU: string;
|
|
1320
1426
|
};
|
|
1321
1427
|
};
|
|
@@ -1327,7 +1433,7 @@ export declare class EMI {
|
|
|
1327
1433
|
hopCount: number;
|
|
1328
1434
|
toBuffer(): Buffer;
|
|
1329
1435
|
describe(): {
|
|
1330
|
-
messageCode:
|
|
1436
|
+
messageCode: string;
|
|
1331
1437
|
control: {
|
|
1332
1438
|
ControlField: string;
|
|
1333
1439
|
FrameType: string;
|
|
@@ -1338,20 +1444,20 @@ export declare class EMI {
|
|
|
1338
1444
|
Confirm: string;
|
|
1339
1445
|
};
|
|
1340
1446
|
destinationAddress: string;
|
|
1341
|
-
hopCount:
|
|
1447
|
+
hopCount: string;
|
|
1342
1448
|
APDU: string;
|
|
1343
1449
|
};
|
|
1344
1450
|
};
|
|
1345
1451
|
};
|
|
1346
1452
|
readonly "T_Data_Individual.con": {
|
|
1347
|
-
new (
|
|
1453
|
+
new (confirm: boolean, destinationAddress: string, apdu: Buffer): {
|
|
1348
1454
|
messageCode: 156;
|
|
1349
1455
|
control: ControlField;
|
|
1350
1456
|
destinationAddress: string;
|
|
1351
1457
|
APDU: Buffer;
|
|
1352
1458
|
toBuffer(): Buffer;
|
|
1353
1459
|
describe(): {
|
|
1354
|
-
messageCode:
|
|
1460
|
+
messageCode: string;
|
|
1355
1461
|
control: {
|
|
1356
1462
|
ControlField: string;
|
|
1357
1463
|
FrameType: string;
|
|
@@ -1371,7 +1477,7 @@ export declare class EMI {
|
|
|
1371
1477
|
APDU: Buffer;
|
|
1372
1478
|
toBuffer(): Buffer;
|
|
1373
1479
|
describe(): {
|
|
1374
|
-
messageCode:
|
|
1480
|
+
messageCode: string;
|
|
1375
1481
|
control: {
|
|
1376
1482
|
ControlField: string;
|
|
1377
1483
|
FrameType: string;
|
|
@@ -1386,7 +1492,7 @@ export declare class EMI {
|
|
|
1386
1492
|
};
|
|
1387
1493
|
};
|
|
1388
1494
|
readonly "T_Data_Individual.ind": {
|
|
1389
|
-
new (
|
|
1495
|
+
new (priority: number, sourceAddress: string, destinationAddress: string, hopCount: number, apdu: Buffer): {
|
|
1390
1496
|
messageCode: 148;
|
|
1391
1497
|
control: ControlField;
|
|
1392
1498
|
sourceAddress: string;
|
|
@@ -1395,7 +1501,7 @@ export declare class EMI {
|
|
|
1395
1501
|
hopCount: number;
|
|
1396
1502
|
toBuffer(): Buffer;
|
|
1397
1503
|
describe(): {
|
|
1398
|
-
messageCode:
|
|
1504
|
+
messageCode: string;
|
|
1399
1505
|
control: {
|
|
1400
1506
|
ControlField: string;
|
|
1401
1507
|
FrameType: string;
|
|
@@ -1419,7 +1525,7 @@ export declare class EMI {
|
|
|
1419
1525
|
hopCount: number;
|
|
1420
1526
|
toBuffer(): Buffer;
|
|
1421
1527
|
describe(): {
|
|
1422
|
-
messageCode:
|
|
1528
|
+
messageCode: string;
|
|
1423
1529
|
control: {
|
|
1424
1530
|
ControlField: string;
|
|
1425
1531
|
FrameType: string;
|
|
@@ -1436,14 +1542,14 @@ export declare class EMI {
|
|
|
1436
1542
|
};
|
|
1437
1543
|
};
|
|
1438
1544
|
readonly "T_Data_Broadcast.req": {
|
|
1439
|
-
new (
|
|
1545
|
+
new (priority: number, hopCount: number, apdu: Buffer): {
|
|
1440
1546
|
messageCode: 76;
|
|
1441
1547
|
control: ControlField;
|
|
1442
1548
|
APDU: Buffer;
|
|
1443
1549
|
hopCount: number;
|
|
1444
1550
|
toBuffer(): Buffer;
|
|
1445
1551
|
describe(): {
|
|
1446
|
-
messageCode:
|
|
1552
|
+
messageCode: string;
|
|
1447
1553
|
control: {
|
|
1448
1554
|
ControlField: string;
|
|
1449
1555
|
FrameType: string;
|
|
@@ -1453,7 +1559,7 @@ export declare class EMI {
|
|
|
1453
1559
|
ACKRequest: string;
|
|
1454
1560
|
Confirm: string;
|
|
1455
1561
|
};
|
|
1456
|
-
hopCount:
|
|
1562
|
+
hopCount: string;
|
|
1457
1563
|
APDU: string;
|
|
1458
1564
|
};
|
|
1459
1565
|
};
|
|
@@ -1464,7 +1570,7 @@ export declare class EMI {
|
|
|
1464
1570
|
hopCount: number;
|
|
1465
1571
|
toBuffer(): Buffer;
|
|
1466
1572
|
describe(): {
|
|
1467
|
-
messageCode:
|
|
1573
|
+
messageCode: string;
|
|
1468
1574
|
control: {
|
|
1469
1575
|
ControlField: string;
|
|
1470
1576
|
FrameType: string;
|
|
@@ -1474,19 +1580,19 @@ export declare class EMI {
|
|
|
1474
1580
|
ACKRequest: string;
|
|
1475
1581
|
Confirm: string;
|
|
1476
1582
|
};
|
|
1477
|
-
hopCount:
|
|
1583
|
+
hopCount: string;
|
|
1478
1584
|
APDU: string;
|
|
1479
1585
|
};
|
|
1480
1586
|
};
|
|
1481
1587
|
};
|
|
1482
1588
|
readonly "T_Data_Broadcast.con": {
|
|
1483
|
-
new (
|
|
1589
|
+
new (confirm: boolean, apdu: Buffer): {
|
|
1484
1590
|
messageCode: 143;
|
|
1485
1591
|
control: ControlField;
|
|
1486
1592
|
APDU: Buffer;
|
|
1487
1593
|
toBuffer(): Buffer;
|
|
1488
1594
|
describe(): {
|
|
1489
|
-
messageCode:
|
|
1595
|
+
messageCode: string;
|
|
1490
1596
|
control: {
|
|
1491
1597
|
ControlField: string;
|
|
1492
1598
|
FrameType: string;
|
|
@@ -1504,7 +1610,7 @@ export declare class EMI {
|
|
|
1504
1610
|
APDU: Buffer;
|
|
1505
1611
|
toBuffer(): Buffer;
|
|
1506
1612
|
describe(): {
|
|
1507
|
-
messageCode:
|
|
1613
|
+
messageCode: string;
|
|
1508
1614
|
control: {
|
|
1509
1615
|
ControlField: string;
|
|
1510
1616
|
FrameType: string;
|
|
@@ -1518,7 +1624,7 @@ export declare class EMI {
|
|
|
1518
1624
|
};
|
|
1519
1625
|
};
|
|
1520
1626
|
readonly "T_Data_Broadcast.ind": {
|
|
1521
|
-
new (
|
|
1627
|
+
new (priority: number, sourceAddress: string, hopCount: number, apdu: Buffer): {
|
|
1522
1628
|
messageCode: 141;
|
|
1523
1629
|
control: ControlField;
|
|
1524
1630
|
sourceAddress: string;
|
|
@@ -1526,7 +1632,7 @@ export declare class EMI {
|
|
|
1526
1632
|
hopCount: number;
|
|
1527
1633
|
toBuffer(): Buffer;
|
|
1528
1634
|
describe(): {
|
|
1529
|
-
messageCode:
|
|
1635
|
+
messageCode: string;
|
|
1530
1636
|
control: {
|
|
1531
1637
|
ControlField: string;
|
|
1532
1638
|
FrameType: string;
|
|
@@ -1548,7 +1654,7 @@ export declare class EMI {
|
|
|
1548
1654
|
hopCount: number;
|
|
1549
1655
|
toBuffer(): Buffer;
|
|
1550
1656
|
describe(): {
|
|
1551
|
-
messageCode:
|
|
1657
|
+
messageCode: string;
|
|
1552
1658
|
control: {
|
|
1553
1659
|
ControlField: string;
|
|
1554
1660
|
FrameType: string;
|
|
@@ -1564,14 +1670,14 @@ export declare class EMI {
|
|
|
1564
1670
|
};
|
|
1565
1671
|
};
|
|
1566
1672
|
readonly "T_Poll_Data.req": {
|
|
1567
|
-
new (
|
|
1673
|
+
new (pollingGroup: string, numberOfSlots: number): {
|
|
1568
1674
|
messageCode: 51;
|
|
1569
1675
|
control: ControlField;
|
|
1570
1676
|
pollingGroup: string;
|
|
1571
1677
|
numberOfSlots: number;
|
|
1572
1678
|
toBuffer(): Buffer;
|
|
1573
1679
|
describe(): {
|
|
1574
|
-
messageCode:
|
|
1680
|
+
messageCode: string;
|
|
1575
1681
|
control: {
|
|
1576
1682
|
ControlField: string;
|
|
1577
1683
|
FrameType: string;
|
|
@@ -1582,7 +1688,7 @@ export declare class EMI {
|
|
|
1582
1688
|
Confirm: string;
|
|
1583
1689
|
};
|
|
1584
1690
|
pollingGroup: string;
|
|
1585
|
-
numberOfSlots:
|
|
1691
|
+
numberOfSlots: string;
|
|
1586
1692
|
};
|
|
1587
1693
|
};
|
|
1588
1694
|
fromBuffer(buffer: Buffer): {
|
|
@@ -1592,7 +1698,7 @@ export declare class EMI {
|
|
|
1592
1698
|
numberOfSlots: number;
|
|
1593
1699
|
toBuffer(): Buffer;
|
|
1594
1700
|
describe(): {
|
|
1595
|
-
messageCode:
|
|
1701
|
+
messageCode: string;
|
|
1596
1702
|
control: {
|
|
1597
1703
|
ControlField: string;
|
|
1598
1704
|
FrameType: string;
|
|
@@ -1603,12 +1709,12 @@ export declare class EMI {
|
|
|
1603
1709
|
Confirm: string;
|
|
1604
1710
|
};
|
|
1605
1711
|
pollingGroup: string;
|
|
1606
|
-
numberOfSlots:
|
|
1712
|
+
numberOfSlots: string;
|
|
1607
1713
|
};
|
|
1608
1714
|
};
|
|
1609
1715
|
};
|
|
1610
1716
|
readonly "T_Poll_Data.con": {
|
|
1611
|
-
new (
|
|
1717
|
+
new (sourceAddress: string, pollingGroup: string, pollData: Buffer, nrOfSlots: number): {
|
|
1612
1718
|
messageCode: 117;
|
|
1613
1719
|
control: ControlField;
|
|
1614
1720
|
sourceAddress: string;
|
|
@@ -1617,7 +1723,7 @@ export declare class EMI {
|
|
|
1617
1723
|
nrOfSlots: number;
|
|
1618
1724
|
toBuffer(): Buffer;
|
|
1619
1725
|
describe(): {
|
|
1620
|
-
messageCode:
|
|
1726
|
+
messageCode: string;
|
|
1621
1727
|
control: {
|
|
1622
1728
|
ControlField: string;
|
|
1623
1729
|
FrameType: string;
|
|
@@ -1641,7 +1747,7 @@ export declare class EMI {
|
|
|
1641
1747
|
nrOfSlots: number;
|
|
1642
1748
|
toBuffer(): Buffer;
|
|
1643
1749
|
describe(): {
|
|
1644
|
-
messageCode:
|
|
1750
|
+
messageCode: string;
|
|
1645
1751
|
control: {
|
|
1646
1752
|
ControlField: string;
|
|
1647
1753
|
FrameType: string;
|
|
@@ -1668,12 +1774,12 @@ export declare class EMI {
|
|
|
1668
1774
|
*/
|
|
1669
1775
|
static ApplicationLayerEMI: {
|
|
1670
1776
|
readonly "M_Connect.ind": {
|
|
1671
|
-
new (
|
|
1777
|
+
new (sourceAddress: string): {
|
|
1672
1778
|
messageCode: 213;
|
|
1673
1779
|
sourceAddress: string;
|
|
1674
1780
|
toBuffer(): Buffer;
|
|
1675
1781
|
describe(): {
|
|
1676
|
-
messageCode:
|
|
1782
|
+
messageCode: string;
|
|
1677
1783
|
sourceAddress: string;
|
|
1678
1784
|
};
|
|
1679
1785
|
};
|
|
@@ -1682,7 +1788,7 @@ export declare class EMI {
|
|
|
1682
1788
|
sourceAddress: string;
|
|
1683
1789
|
toBuffer(): Buffer;
|
|
1684
1790
|
describe(): {
|
|
1685
|
-
messageCode:
|
|
1791
|
+
messageCode: string;
|
|
1686
1792
|
sourceAddress: string;
|
|
1687
1793
|
};
|
|
1688
1794
|
};
|
|
@@ -1692,26 +1798,26 @@ export declare class EMI {
|
|
|
1692
1798
|
messageCode: 215;
|
|
1693
1799
|
toBuffer(): Buffer;
|
|
1694
1800
|
describe(): {
|
|
1695
|
-
messageCode:
|
|
1801
|
+
messageCode: string;
|
|
1696
1802
|
};
|
|
1697
1803
|
};
|
|
1698
1804
|
fromBuffer(buffer: Buffer): {
|
|
1699
1805
|
messageCode: 215;
|
|
1700
1806
|
toBuffer(): Buffer;
|
|
1701
1807
|
describe(): {
|
|
1702
|
-
messageCode:
|
|
1808
|
+
messageCode: string;
|
|
1703
1809
|
};
|
|
1704
1810
|
};
|
|
1705
1811
|
};
|
|
1706
1812
|
readonly "M_User_Data_Connected.req": {
|
|
1707
|
-
new (
|
|
1813
|
+
new (priority: number, apdu: Buffer, hopCount: number): {
|
|
1708
1814
|
messageCode: 130;
|
|
1709
1815
|
control: ControlField;
|
|
1710
1816
|
APDU: Buffer;
|
|
1711
1817
|
hopCount: number;
|
|
1712
1818
|
toBuffer(): Buffer;
|
|
1713
1819
|
describe(): {
|
|
1714
|
-
messageCode:
|
|
1820
|
+
messageCode: string;
|
|
1715
1821
|
control: {
|
|
1716
1822
|
ControlField: string;
|
|
1717
1823
|
FrameType: string;
|
|
@@ -1721,7 +1827,7 @@ export declare class EMI {
|
|
|
1721
1827
|
ACKRequest: string;
|
|
1722
1828
|
Confirm: string;
|
|
1723
1829
|
};
|
|
1724
|
-
hopCount:
|
|
1830
|
+
hopCount: string;
|
|
1725
1831
|
APDU: string;
|
|
1726
1832
|
};
|
|
1727
1833
|
};
|
|
@@ -1732,7 +1838,7 @@ export declare class EMI {
|
|
|
1732
1838
|
hopCount: number;
|
|
1733
1839
|
toBuffer(): Buffer;
|
|
1734
1840
|
describe(): {
|
|
1735
|
-
messageCode:
|
|
1841
|
+
messageCode: string;
|
|
1736
1842
|
control: {
|
|
1737
1843
|
ControlField: string;
|
|
1738
1844
|
FrameType: string;
|
|
@@ -1742,19 +1848,19 @@ export declare class EMI {
|
|
|
1742
1848
|
ACKRequest: string;
|
|
1743
1849
|
Confirm: string;
|
|
1744
1850
|
};
|
|
1745
|
-
hopCount:
|
|
1851
|
+
hopCount: string;
|
|
1746
1852
|
APDU: string;
|
|
1747
1853
|
};
|
|
1748
1854
|
};
|
|
1749
1855
|
};
|
|
1750
1856
|
readonly "M_User_Data_Connected.con": {
|
|
1751
|
-
new (
|
|
1857
|
+
new (confirm: boolean, apdu: Buffer): {
|
|
1752
1858
|
messageCode: 209;
|
|
1753
1859
|
control: ControlField;
|
|
1754
1860
|
APDU: Buffer;
|
|
1755
1861
|
toBuffer(): Buffer;
|
|
1756
1862
|
describe(): {
|
|
1757
|
-
messageCode:
|
|
1863
|
+
messageCode: string;
|
|
1758
1864
|
control: {
|
|
1759
1865
|
ControlField: string;
|
|
1760
1866
|
FrameType: string;
|
|
@@ -1773,7 +1879,7 @@ export declare class EMI {
|
|
|
1773
1879
|
APDU: Buffer;
|
|
1774
1880
|
toBuffer(): Buffer;
|
|
1775
1881
|
describe(): {
|
|
1776
|
-
messageCode:
|
|
1882
|
+
messageCode: string;
|
|
1777
1883
|
control: {
|
|
1778
1884
|
ControlField: string;
|
|
1779
1885
|
FrameType: string;
|
|
@@ -1788,14 +1894,14 @@ export declare class EMI {
|
|
|
1788
1894
|
};
|
|
1789
1895
|
};
|
|
1790
1896
|
readonly "M_User_Data_Connected.ind": {
|
|
1791
|
-
new (
|
|
1897
|
+
new (priority: number, sourceAddress: string, apdu: Buffer): {
|
|
1792
1898
|
messageCode: 210;
|
|
1793
1899
|
control: ControlField;
|
|
1794
1900
|
sourceAddress: string;
|
|
1795
1901
|
APDU: Buffer;
|
|
1796
1902
|
toBuffer(): Buffer;
|
|
1797
1903
|
describe(): {
|
|
1798
|
-
messageCode:
|
|
1904
|
+
messageCode: string;
|
|
1799
1905
|
control: {
|
|
1800
1906
|
ControlField: string;
|
|
1801
1907
|
FrameType: string;
|
|
@@ -1816,7 +1922,7 @@ export declare class EMI {
|
|
|
1816
1922
|
APDU: Buffer;
|
|
1817
1923
|
toBuffer(): Buffer;
|
|
1818
1924
|
describe(): {
|
|
1819
|
-
messageCode:
|
|
1925
|
+
messageCode: string;
|
|
1820
1926
|
control: {
|
|
1821
1927
|
ControlField: string;
|
|
1822
1928
|
FrameType: string;
|
|
@@ -1832,7 +1938,7 @@ export declare class EMI {
|
|
|
1832
1938
|
};
|
|
1833
1939
|
};
|
|
1834
1940
|
readonly "A_Data_Group.req": {
|
|
1835
|
-
new (
|
|
1941
|
+
new (priority: number, sap: SAP, apci: APCI, data: Buffer, hopCount: number): {
|
|
1836
1942
|
messageCode: 114;
|
|
1837
1943
|
control: ControlField;
|
|
1838
1944
|
sap: SAP;
|
|
@@ -1841,7 +1947,7 @@ export declare class EMI {
|
|
|
1841
1947
|
hopCount: number;
|
|
1842
1948
|
toBuffer(): Buffer;
|
|
1843
1949
|
describe(): {
|
|
1844
|
-
messageCode:
|
|
1950
|
+
messageCode: string;
|
|
1845
1951
|
control: {
|
|
1846
1952
|
ControlField: string;
|
|
1847
1953
|
FrameType: string;
|
|
@@ -1851,8 +1957,8 @@ export declare class EMI {
|
|
|
1851
1957
|
ACKRequest: string;
|
|
1852
1958
|
Confirm: string;
|
|
1853
1959
|
};
|
|
1854
|
-
sap:
|
|
1855
|
-
hopCount:
|
|
1960
|
+
sap: string;
|
|
1961
|
+
hopCount: string;
|
|
1856
1962
|
apci: {
|
|
1857
1963
|
obj: string;
|
|
1858
1964
|
command: string;
|
|
@@ -1870,7 +1976,7 @@ export declare class EMI {
|
|
|
1870
1976
|
hopCount: number;
|
|
1871
1977
|
toBuffer(): Buffer;
|
|
1872
1978
|
describe(): {
|
|
1873
|
-
messageCode:
|
|
1979
|
+
messageCode: string;
|
|
1874
1980
|
control: {
|
|
1875
1981
|
ControlField: string;
|
|
1876
1982
|
FrameType: string;
|
|
@@ -1880,8 +1986,8 @@ export declare class EMI {
|
|
|
1880
1986
|
ACKRequest: string;
|
|
1881
1987
|
Confirm: string;
|
|
1882
1988
|
};
|
|
1883
|
-
sap:
|
|
1884
|
-
hopCount:
|
|
1989
|
+
sap: string;
|
|
1990
|
+
hopCount: string;
|
|
1885
1991
|
apci: {
|
|
1886
1992
|
obj: string;
|
|
1887
1993
|
command: string;
|
|
@@ -1892,7 +1998,7 @@ export declare class EMI {
|
|
|
1892
1998
|
};
|
|
1893
1999
|
};
|
|
1894
2000
|
readonly "A_Data_Group.con": {
|
|
1895
|
-
new (
|
|
2001
|
+
new (confirm: boolean, sap: SAP, apci: APCI, data: Buffer): {
|
|
1896
2002
|
messageCode: 238;
|
|
1897
2003
|
control: ControlField;
|
|
1898
2004
|
sap: SAP;
|
|
@@ -1900,7 +2006,7 @@ export declare class EMI {
|
|
|
1900
2006
|
data: Buffer;
|
|
1901
2007
|
toBuffer(): Buffer;
|
|
1902
2008
|
describe(): {
|
|
1903
|
-
messageCode:
|
|
2009
|
+
messageCode: string;
|
|
1904
2010
|
control: {
|
|
1905
2011
|
ControlField: string;
|
|
1906
2012
|
FrameType: string;
|
|
@@ -1910,7 +2016,7 @@ export declare class EMI {
|
|
|
1910
2016
|
ACKRequest: string;
|
|
1911
2017
|
Confirm: string;
|
|
1912
2018
|
};
|
|
1913
|
-
sap:
|
|
2019
|
+
sap: string;
|
|
1914
2020
|
apci: {
|
|
1915
2021
|
obj: string;
|
|
1916
2022
|
command: string;
|
|
@@ -1927,7 +2033,7 @@ export declare class EMI {
|
|
|
1927
2033
|
data: Buffer;
|
|
1928
2034
|
toBuffer(): Buffer;
|
|
1929
2035
|
describe(): {
|
|
1930
|
-
messageCode:
|
|
2036
|
+
messageCode: string;
|
|
1931
2037
|
control: {
|
|
1932
2038
|
ControlField: string;
|
|
1933
2039
|
FrameType: string;
|
|
@@ -1937,7 +2043,7 @@ export declare class EMI {
|
|
|
1937
2043
|
ACKRequest: string;
|
|
1938
2044
|
Confirm: string;
|
|
1939
2045
|
};
|
|
1940
|
-
sap:
|
|
2046
|
+
sap: string;
|
|
1941
2047
|
apci: {
|
|
1942
2048
|
obj: string;
|
|
1943
2049
|
command: string;
|
|
@@ -1948,7 +2054,7 @@ export declare class EMI {
|
|
|
1948
2054
|
};
|
|
1949
2055
|
};
|
|
1950
2056
|
readonly "A_Data_Group.ind": {
|
|
1951
|
-
new (
|
|
2057
|
+
new (priority: number, sap: SAP, apci: APCI, data: Buffer): {
|
|
1952
2058
|
messageCode: 234;
|
|
1953
2059
|
control: ControlField;
|
|
1954
2060
|
sap: SAP;
|
|
@@ -1956,7 +2062,7 @@ export declare class EMI {
|
|
|
1956
2062
|
data: Buffer;
|
|
1957
2063
|
toBuffer(): Buffer;
|
|
1958
2064
|
describe(): {
|
|
1959
|
-
messageCode:
|
|
2065
|
+
messageCode: string;
|
|
1960
2066
|
control: {
|
|
1961
2067
|
ControlField: string;
|
|
1962
2068
|
FrameType: string;
|
|
@@ -1966,7 +2072,7 @@ export declare class EMI {
|
|
|
1966
2072
|
ACKRequest: string;
|
|
1967
2073
|
Confirm: string;
|
|
1968
2074
|
};
|
|
1969
|
-
sap:
|
|
2075
|
+
sap: string;
|
|
1970
2076
|
apci: {
|
|
1971
2077
|
obj: string;
|
|
1972
2078
|
command: string;
|
|
@@ -1983,7 +2089,7 @@ export declare class EMI {
|
|
|
1983
2089
|
data: Buffer;
|
|
1984
2090
|
toBuffer(): Buffer;
|
|
1985
2091
|
describe(): {
|
|
1986
|
-
messageCode:
|
|
2092
|
+
messageCode: string;
|
|
1987
2093
|
control: {
|
|
1988
2094
|
ControlField: string;
|
|
1989
2095
|
FrameType: string;
|
|
@@ -1993,7 +2099,7 @@ export declare class EMI {
|
|
|
1993
2099
|
ACKRequest: string;
|
|
1994
2100
|
Confirm: string;
|
|
1995
2101
|
};
|
|
1996
|
-
sap:
|
|
2102
|
+
sap: string;
|
|
1997
2103
|
apci: {
|
|
1998
2104
|
obj: string;
|
|
1999
2105
|
command: string;
|
|
@@ -2004,7 +2110,7 @@ export declare class EMI {
|
|
|
2004
2110
|
};
|
|
2005
2111
|
};
|
|
2006
2112
|
readonly "M_User_Data_Individual.req": {
|
|
2007
|
-
new (
|
|
2113
|
+
new (priority: number, destinationAddress: string, data: Buffer, hopCount: number): {
|
|
2008
2114
|
messageCode: 129;
|
|
2009
2115
|
control: ControlField;
|
|
2010
2116
|
destinationAddress: string;
|
|
@@ -2013,7 +2119,7 @@ export declare class EMI {
|
|
|
2013
2119
|
hopCount: number;
|
|
2014
2120
|
toBuffer(): Buffer;
|
|
2015
2121
|
describe(): {
|
|
2016
|
-
messageCode:
|
|
2122
|
+
messageCode: string;
|
|
2017
2123
|
control: {
|
|
2018
2124
|
ControlField: string;
|
|
2019
2125
|
FrameType: string;
|
|
@@ -2024,7 +2130,7 @@ export declare class EMI {
|
|
|
2024
2130
|
Confirm: string;
|
|
2025
2131
|
};
|
|
2026
2132
|
destinationAddress: string;
|
|
2027
|
-
hopCount:
|
|
2133
|
+
hopCount: string;
|
|
2028
2134
|
apci: {
|
|
2029
2135
|
obj: string;
|
|
2030
2136
|
command: string;
|
|
@@ -2042,7 +2148,7 @@ export declare class EMI {
|
|
|
2042
2148
|
hopCount: number;
|
|
2043
2149
|
toBuffer(): Buffer;
|
|
2044
2150
|
describe(): {
|
|
2045
|
-
messageCode:
|
|
2151
|
+
messageCode: string;
|
|
2046
2152
|
control: {
|
|
2047
2153
|
ControlField: string;
|
|
2048
2154
|
FrameType: string;
|
|
@@ -2053,7 +2159,7 @@ export declare class EMI {
|
|
|
2053
2159
|
Confirm: string;
|
|
2054
2160
|
};
|
|
2055
2161
|
destinationAddress: string;
|
|
2056
|
-
hopCount:
|
|
2162
|
+
hopCount: string;
|
|
2057
2163
|
apci: {
|
|
2058
2164
|
obj: string;
|
|
2059
2165
|
command: string;
|
|
@@ -2064,7 +2170,7 @@ export declare class EMI {
|
|
|
2064
2170
|
};
|
|
2065
2171
|
};
|
|
2066
2172
|
readonly "M_User_Data_Individual.con": {
|
|
2067
|
-
new (
|
|
2173
|
+
new (confirm: boolean, destinationAddress: string, data: Buffer): {
|
|
2068
2174
|
messageCode: 222;
|
|
2069
2175
|
control: ControlField;
|
|
2070
2176
|
destinationAddress: string;
|
|
@@ -2072,7 +2178,7 @@ export declare class EMI {
|
|
|
2072
2178
|
data: Buffer;
|
|
2073
2179
|
toBuffer(): Buffer;
|
|
2074
2180
|
describe(): {
|
|
2075
|
-
messageCode:
|
|
2181
|
+
messageCode: string;
|
|
2076
2182
|
control: {
|
|
2077
2183
|
ControlField: string;
|
|
2078
2184
|
FrameType: string;
|
|
@@ -2099,7 +2205,7 @@ export declare class EMI {
|
|
|
2099
2205
|
data: Buffer;
|
|
2100
2206
|
toBuffer(): Buffer;
|
|
2101
2207
|
describe(): {
|
|
2102
|
-
messageCode:
|
|
2208
|
+
messageCode: string;
|
|
2103
2209
|
control: {
|
|
2104
2210
|
ControlField: string;
|
|
2105
2211
|
FrameType: string;
|
|
@@ -2120,7 +2226,7 @@ export declare class EMI {
|
|
|
2120
2226
|
};
|
|
2121
2227
|
};
|
|
2122
2228
|
readonly "M_User_Data_Individual.ind": {
|
|
2123
|
-
new (
|
|
2229
|
+
new (priority: number, sourceAddress: string, destinationAddress: string, data: Buffer): {
|
|
2124
2230
|
messageCode: 217;
|
|
2125
2231
|
control: ControlField;
|
|
2126
2232
|
sourceAddress: string;
|
|
@@ -2129,7 +2235,7 @@ export declare class EMI {
|
|
|
2129
2235
|
data: Buffer;
|
|
2130
2236
|
toBuffer(): Buffer;
|
|
2131
2237
|
describe(): {
|
|
2132
|
-
messageCode:
|
|
2238
|
+
messageCode: string;
|
|
2133
2239
|
control: {
|
|
2134
2240
|
ControlField: string;
|
|
2135
2241
|
FrameType: string;
|
|
@@ -2154,7 +2260,7 @@ export declare class EMI {
|
|
|
2154
2260
|
data: Buffer;
|
|
2155
2261
|
toBuffer(): Buffer;
|
|
2156
2262
|
describe(): {
|
|
2157
|
-
messageCode:
|
|
2263
|
+
messageCode: string;
|
|
2158
2264
|
control: {
|
|
2159
2265
|
ControlField: string;
|
|
2160
2266
|
FrameType: string;
|
|
@@ -2172,14 +2278,14 @@ export declare class EMI {
|
|
|
2172
2278
|
};
|
|
2173
2279
|
};
|
|
2174
2280
|
readonly "A_Poll_Data.req": {
|
|
2175
|
-
new (
|
|
2281
|
+
new (pollingGroup: string, numberOfSlots: number): {
|
|
2176
2282
|
messageCode: 115;
|
|
2177
2283
|
pollingGroup: string;
|
|
2178
2284
|
numberOfSlots: number;
|
|
2179
2285
|
control: ControlField;
|
|
2180
2286
|
toBuffer(): Buffer;
|
|
2181
2287
|
describe(): {
|
|
2182
|
-
messageCode:
|
|
2288
|
+
messageCode: string;
|
|
2183
2289
|
control: {
|
|
2184
2290
|
ControlField: string;
|
|
2185
2291
|
FrameType: string;
|
|
@@ -2190,7 +2296,7 @@ export declare class EMI {
|
|
|
2190
2296
|
Confirm: string;
|
|
2191
2297
|
};
|
|
2192
2298
|
pollingGroup: string;
|
|
2193
|
-
numberOfSlots:
|
|
2299
|
+
numberOfSlots: string;
|
|
2194
2300
|
};
|
|
2195
2301
|
};
|
|
2196
2302
|
fromBuffer(buffer: Buffer): {
|
|
@@ -2200,7 +2306,7 @@ export declare class EMI {
|
|
|
2200
2306
|
control: ControlField;
|
|
2201
2307
|
toBuffer(): Buffer;
|
|
2202
2308
|
describe(): {
|
|
2203
|
-
messageCode:
|
|
2309
|
+
messageCode: string;
|
|
2204
2310
|
control: {
|
|
2205
2311
|
ControlField: string;
|
|
2206
2312
|
FrameType: string;
|
|
@@ -2211,12 +2317,12 @@ export declare class EMI {
|
|
|
2211
2317
|
Confirm: string;
|
|
2212
2318
|
};
|
|
2213
2319
|
pollingGroup: string;
|
|
2214
|
-
numberOfSlots:
|
|
2320
|
+
numberOfSlots: string;
|
|
2215
2321
|
};
|
|
2216
2322
|
};
|
|
2217
2323
|
};
|
|
2218
2324
|
readonly "A_Poll_Data.con": {
|
|
2219
|
-
new (
|
|
2325
|
+
new (sourceAddress: string, pollingGroup: string, numberOfSlots: number, pollData: Buffer): {
|
|
2220
2326
|
messageCode: 229;
|
|
2221
2327
|
sourceAddress: string;
|
|
2222
2328
|
pollingGroup: string;
|
|
@@ -2225,7 +2331,7 @@ export declare class EMI {
|
|
|
2225
2331
|
control: ControlField;
|
|
2226
2332
|
toBuffer(): Buffer;
|
|
2227
2333
|
describe(): {
|
|
2228
|
-
messageCode:
|
|
2334
|
+
messageCode: string;
|
|
2229
2335
|
control: {
|
|
2230
2336
|
ControlField: string;
|
|
2231
2337
|
FrameType: string;
|
|
@@ -2237,7 +2343,7 @@ export declare class EMI {
|
|
|
2237
2343
|
};
|
|
2238
2344
|
sourceAddress: string;
|
|
2239
2345
|
pollingGroup: string;
|
|
2240
|
-
numberOfSlots:
|
|
2346
|
+
numberOfSlots: string;
|
|
2241
2347
|
pollData: string;
|
|
2242
2348
|
};
|
|
2243
2349
|
};
|
|
@@ -2250,7 +2356,7 @@ export declare class EMI {
|
|
|
2250
2356
|
control: ControlField;
|
|
2251
2357
|
toBuffer(): Buffer;
|
|
2252
2358
|
describe(): {
|
|
2253
|
-
messageCode:
|
|
2359
|
+
messageCode: string;
|
|
2254
2360
|
control: {
|
|
2255
2361
|
ControlField: string;
|
|
2256
2362
|
FrameType: string;
|
|
@@ -2262,7 +2368,7 @@ export declare class EMI {
|
|
|
2262
2368
|
};
|
|
2263
2369
|
sourceAddress: string;
|
|
2264
2370
|
pollingGroup: string;
|
|
2265
|
-
numberOfSlots:
|
|
2371
|
+
numberOfSlots: string;
|
|
2266
2372
|
pollData: string;
|
|
2267
2373
|
};
|
|
2268
2374
|
};
|
|
@@ -2513,3 +2619,9 @@ export declare class EMI {
|
|
|
2513
2619
|
};
|
|
2514
2620
|
};
|
|
2515
2621
|
}
|
|
2622
|
+
type KeysOfEMI = "BusmonitorEMI" | "DataLinkLayerEMI" | "NetworkLayerEMI" | "TransportLayerEMI" | "ApplicationLayerEMI" | "ManagementEMI";
|
|
2623
|
+
type EMIClasses = {
|
|
2624
|
+
[K in KeysOfEMI]: (typeof EMI)[K][keyof (typeof EMI)[K]];
|
|
2625
|
+
}[KeysOfEMI];
|
|
2626
|
+
export type EMIInstance = InstanceType<EMIClasses>;
|
|
2627
|
+
export {};
|