zigbee-herdsman 0.14.101 → 0.14.103
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/dist/adapter/ezsp/driver/types/basic.js +12 -12
- package/dist/adapter/ezsp/driver/types/basic.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/named.js +39 -39
- package/dist/adapter/ezsp/driver/types/named.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/struct.js +44 -44
- package/dist/adapter/ezsp/driver/types/struct.js.map +1 -1
- package/dist/adapter/serialPort.js +1 -1
- package/dist/adapter/serialPort.js.map +1 -1
- package/dist/adapter/zigate/driver/frame.js +1 -1
- package/dist/adapter/zigate/driver/frame.js.map +1 -1
- package/dist/controller/model/device.d.ts +0 -3
- package/dist/controller/model/device.d.ts.map +1 -1
- package/dist/controller/model/device.js +4 -9
- package/dist/controller/model/device.js.map +1 -1
- package/dist/controller/model/endpoint.d.ts +1 -1
- package/dist/controller/model/endpoint.d.ts.map +1 -1
- package/dist/controller/model/endpoint.js +23 -44
- package/dist/controller/model/endpoint.js.map +1 -1
- package/dist/zcl/zclFrame.d.ts +1 -1
- package/dist/zcl/zclFrame.d.ts.map +1 -1
- package/dist/zcl/zclFrame.js +2 -2
- package/dist/zcl/zclFrame.js.map +1 -1
- package/package.json +2 -2
|
@@ -40,52 +40,52 @@ class int_t {
|
|
|
40
40
|
return '';
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
exports.int_t = int_t;
|
|
44
43
|
int_t._signed = true;
|
|
44
|
+
exports.int_t = int_t;
|
|
45
45
|
class int8s extends int_t {
|
|
46
46
|
}
|
|
47
|
-
exports.int8s = int8s;
|
|
48
47
|
int8s._size = 1;
|
|
48
|
+
exports.int8s = int8s;
|
|
49
49
|
class int16s extends int_t {
|
|
50
50
|
}
|
|
51
|
-
exports.int16s = int16s;
|
|
52
51
|
int16s._size = 2;
|
|
52
|
+
exports.int16s = int16s;
|
|
53
53
|
class int24s extends int_t {
|
|
54
54
|
}
|
|
55
|
-
exports.int24s = int24s;
|
|
56
55
|
int24s._size = 3;
|
|
56
|
+
exports.int24s = int24s;
|
|
57
57
|
class int32s extends int_t {
|
|
58
58
|
}
|
|
59
|
-
exports.int32s = int32s;
|
|
60
59
|
int32s._size = 4;
|
|
60
|
+
exports.int32s = int32s;
|
|
61
61
|
class int64s extends int_t {
|
|
62
62
|
}
|
|
63
|
-
exports.int64s = int64s;
|
|
64
63
|
int64s._size = 8;
|
|
64
|
+
exports.int64s = int64s;
|
|
65
65
|
class uint_t extends int_t {
|
|
66
66
|
}
|
|
67
|
-
exports.uint_t = uint_t;
|
|
68
67
|
uint_t._signed = false;
|
|
68
|
+
exports.uint_t = uint_t;
|
|
69
69
|
class uint8_t extends uint_t {
|
|
70
70
|
}
|
|
71
|
-
exports.uint8_t = uint8_t;
|
|
72
71
|
uint8_t._size = 1;
|
|
72
|
+
exports.uint8_t = uint8_t;
|
|
73
73
|
class uint16_t extends uint_t {
|
|
74
74
|
}
|
|
75
|
-
exports.uint16_t = uint16_t;
|
|
76
75
|
uint16_t._size = 2;
|
|
76
|
+
exports.uint16_t = uint16_t;
|
|
77
77
|
class uint24_t extends uint_t {
|
|
78
78
|
}
|
|
79
|
-
exports.uint24_t = uint24_t;
|
|
80
79
|
uint24_t._size = 3;
|
|
80
|
+
exports.uint24_t = uint24_t;
|
|
81
81
|
class uint32_t extends uint_t {
|
|
82
82
|
}
|
|
83
|
-
exports.uint32_t = uint32_t;
|
|
84
83
|
uint32_t._size = 4;
|
|
84
|
+
exports.uint32_t = uint32_t;
|
|
85
85
|
class uint64_t extends uint_t {
|
|
86
86
|
}
|
|
87
|
-
exports.uint64_t = uint64_t;
|
|
88
87
|
uint64_t._size = 8;
|
|
88
|
+
exports.uint64_t = uint64_t;
|
|
89
89
|
class LVBytes {
|
|
90
90
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/
|
|
91
91
|
static serialize(cls, value) {
|
|
@@ -1 +1 @@
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,CAAC;IACpB,iBAAO,GAAG,MAAM,CAAC;IAG5B,OAAO,SAAS,CAAC;AACrB,CAAC;AAVD,gCAUC;AACD,qDAAqD;AAErD,MAAa,KAAK;IACd,gEAAgE;IAChE,MAAM,CAAC,SAAS,CAAC,GAAQ,EAAE,KAAY;QACnC,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED,gEAAgE;IAChE,MAAM,CAAC,WAAW,CAAC,GAAQ,EAAE,IAAY;QACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;CACJ;AAVD,sBAUC"}
|
|
@@ -32,7 +32,6 @@ const basic_1 = require("./basic");
|
|
|
32
32
|
console.assert(basic.uint8_t);
|
|
33
33
|
class NcpResetCode extends basic.uint8_t {
|
|
34
34
|
}
|
|
35
|
-
exports.NcpResetCode = NcpResetCode;
|
|
36
35
|
//Reset and Error Codes for NCP
|
|
37
36
|
NcpResetCode.RESET_UNKNOWN_REASON = 0x00;
|
|
38
37
|
NcpResetCode.RESET_EXTERNAL = 0x01;
|
|
@@ -43,6 +42,7 @@ NcpResetCode.RESET_BOOTLOADER = 0x09;
|
|
|
43
42
|
NcpResetCode.RESET_SOFTWARE = 0x0B;
|
|
44
43
|
NcpResetCode.ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT = 0x51;
|
|
45
44
|
NcpResetCode.ERROR_UNKNOWN_EM3XX_ERROR = 0x80;
|
|
45
|
+
exports.NcpResetCode = NcpResetCode;
|
|
46
46
|
class EmberRf4ceTxOption extends basic.uint8_t {
|
|
47
47
|
}
|
|
48
48
|
exports.EmberRf4ceTxOption = EmberRf4ceTxOption;
|
|
@@ -130,12 +130,11 @@ class SecureEzspSessionId extends basic.uint64_t {
|
|
|
130
130
|
exports.SecureEzspSessionId = SecureEzspSessionId;
|
|
131
131
|
class Bool extends basic.uint8_t {
|
|
132
132
|
}
|
|
133
|
-
exports.Bool = Bool;
|
|
134
133
|
Bool.false = 0x00; // An alias for zero, used for clarity.
|
|
135
134
|
Bool.true = 0x01; // An alias for one, used for clarity.
|
|
135
|
+
exports.Bool = Bool;
|
|
136
136
|
class EzspConfigId extends basic.uint8_t {
|
|
137
137
|
}
|
|
138
|
-
exports.EzspConfigId = EzspConfigId;
|
|
139
138
|
// Identifies a configuration value.
|
|
140
139
|
// The number of packet buffers available to the stack. When set to the
|
|
141
140
|
// special value 0xFF, the NCP will allocate all remaining configuration RAM
|
|
@@ -298,9 +297,9 @@ EzspConfigId.CONFIG_BROADCAST_MIN_ACKS_NEEDED = 0x37;
|
|
|
298
297
|
// takes effect once rejoins using the well-known key has been allowed. This command
|
|
299
298
|
// updates the emAllowTcRejoinsUsingWellKnownKeyTimeoutSec value.
|
|
300
299
|
EzspConfigId.CONFIG_TC_REJOINS_USING_WELL_KNOWN_KEY_TIMEOUT_S = 0x38;
|
|
300
|
+
exports.EzspConfigId = EzspConfigId;
|
|
301
301
|
class EzspValueId extends basic.uint8_t {
|
|
302
302
|
}
|
|
303
|
-
exports.EzspValueId = EzspValueId;
|
|
304
303
|
// Identifies a value.
|
|
305
304
|
// The contents of the node data stack token.
|
|
306
305
|
EzspValueId.VALUE_TOKEN_STACK_NODE_DATA = 0x00;
|
|
@@ -411,9 +410,9 @@ EzspValueId.VALUE_PTA_OPTIONS = 0x32;
|
|
|
411
410
|
// Configure manufacturing library options(0-non-CSMA transmits,1-CSMA transmits).
|
|
412
411
|
EzspValueId.VALUE_MFGLIB_OPTIONS = 0x33;
|
|
413
412
|
EzspValueId.VALUE_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE = 0x3F;
|
|
413
|
+
exports.EzspValueId = EzspValueId;
|
|
414
414
|
class EzspExtendedValueId extends basic.uint8_t {
|
|
415
415
|
}
|
|
416
|
-
exports.EzspExtendedValueId = EzspExtendedValueId;
|
|
417
416
|
// Identifies a value based on specified characteristics. Each set of
|
|
418
417
|
// characteristics is unique to that value and is specified during the call
|
|
419
418
|
// to get the extended value.
|
|
@@ -428,17 +427,17 @@ EzspExtendedValueId.EXTENDED_VALUE_LAST_LEAVE_REASON = 0x01;
|
|
|
428
427
|
// This number of bytes of overhead required in the network frame for source
|
|
429
428
|
// routing to a particular destination.
|
|
430
429
|
EzspExtendedValueId.EXTENDED_VALUE_GET_SOURCE_ROUTE_OVERHEAD = 0x02;
|
|
430
|
+
exports.EzspExtendedValueId = EzspExtendedValueId;
|
|
431
431
|
class EzspEndpointFlags extends basic.uint16_t {
|
|
432
432
|
}
|
|
433
|
-
exports.EzspEndpointFlags = EzspEndpointFlags;
|
|
434
433
|
// Flags associated with the endpoint data configured on the NCP.
|
|
435
434
|
// Indicates that the endpoint is disabled and NOT discoverable via ZDO.
|
|
436
435
|
EzspEndpointFlags.ENDPOINT_DISABLED = 0x00;
|
|
437
436
|
// Indicates that the endpoint is enabled and discoverable via ZDO.
|
|
438
437
|
EzspEndpointFlags.ENDPOINT_ENABLED = 0x01;
|
|
438
|
+
exports.EzspEndpointFlags = EzspEndpointFlags;
|
|
439
439
|
class EmberConfigTxPowerMode extends basic.uint16_t {
|
|
440
440
|
}
|
|
441
|
-
exports.EmberConfigTxPowerMode = EmberConfigTxPowerMode;
|
|
442
441
|
// Values for CONFIG_TX_POWER_MODE.
|
|
443
442
|
// Normal power mode and bi-directional RF transmitter output.
|
|
444
443
|
EmberConfigTxPowerMode.TX_POWER_MODE_DEFAULT = 0x00;
|
|
@@ -451,9 +450,9 @@ EmberConfigTxPowerMode.TX_POWER_MODE_BOOST = 0x01;
|
|
|
451
450
|
// RF_TX_ALT_N pins. TX_POWER_MODE_BOOST_AND_ALTERNATE 0x03 Enable both
|
|
452
451
|
// boost mode and the alternate transmitter output.
|
|
453
452
|
EmberConfigTxPowerMode.TX_POWER_MODE_ALTERNATE = 0x02;
|
|
453
|
+
exports.EmberConfigTxPowerMode = EmberConfigTxPowerMode;
|
|
454
454
|
class EzspPolicyId extends basic.uint8_t {
|
|
455
455
|
}
|
|
456
|
-
exports.EzspPolicyId = EzspPolicyId;
|
|
457
456
|
// Identifies a policy.
|
|
458
457
|
// Controls trust center behavior.
|
|
459
458
|
EzspPolicyId.TRUST_CENTER_POLICY = 0x00;
|
|
@@ -478,9 +477,9 @@ EzspPolicyId.PACKET_VALIDATE_LIBRARY_POLICY = 0x07;
|
|
|
478
477
|
// Controls whether the stack will process ZLL messages.
|
|
479
478
|
EzspPolicyId.ZLL_POLICY = 0x08;
|
|
480
479
|
EzspPolicyId.TC_REJOINS_USING_WELL_KNOWN_KEY_POLICY = 0x09;
|
|
480
|
+
exports.EzspPolicyId = EzspPolicyId;
|
|
481
481
|
class EzspDecisionId extends basic.uint16_t {
|
|
482
482
|
}
|
|
483
|
-
exports.EzspDecisionId = EzspDecisionId;
|
|
484
483
|
// Identifies a policy decision.
|
|
485
484
|
// Send the network key in the clear to all joining and rejoining devices.
|
|
486
485
|
EzspDecisionId.ALLOW_JOINS = 0x00;
|
|
@@ -554,9 +553,9 @@ EzspDecisionId.ALLOW_APP_KEY_REQUESTS = 0x61;
|
|
|
554
553
|
EzspDecisionId.PACKET_VALIDATE_LIBRARY_CHECKS_ENABLED = 0x62;
|
|
555
554
|
// Indicates that packet validate library checks are NOT enabled on the NCP.
|
|
556
555
|
EzspDecisionId.PACKET_VALIDATE_LIBRARY_CHECKS_DISABLED = 0x63;
|
|
556
|
+
exports.EzspDecisionId = EzspDecisionId;
|
|
557
557
|
class EzspMfgTokenId extends basic.uint8_t {
|
|
558
558
|
}
|
|
559
|
-
exports.EzspMfgTokenId = EzspMfgTokenId;
|
|
560
559
|
// Manufacturing token IDs used by ezspGetMfgToken().
|
|
561
560
|
// Custom version (2 bytes).
|
|
562
561
|
EzspMfgTokenId.MFG_CUSTOM_VERSION = 0x00;
|
|
@@ -590,9 +589,9 @@ EzspMfgTokenId.STACK_CAL_FILTER = 0x0B;
|
|
|
590
589
|
EzspMfgTokenId.MFG_CUSTOM_EUI_64 = 0x0C;
|
|
591
590
|
// CTUNE value (2 byte).
|
|
592
591
|
EzspMfgTokenId.MFG_CTUNE = 0x0D;
|
|
592
|
+
exports.EzspMfgTokenId = EzspMfgTokenId;
|
|
593
593
|
class EzspStatus extends basic.uint8_t {
|
|
594
594
|
}
|
|
595
|
-
exports.EzspStatus = EzspStatus;
|
|
596
595
|
// Status values used by EZSP.
|
|
597
596
|
// Success.
|
|
598
597
|
EzspStatus.SUCCESS = 0x00;
|
|
@@ -749,9 +748,9 @@ EzspStatus.ASH_ACK_RECEIVED = 0x7D;
|
|
|
749
748
|
EzspStatus.ASH_ACK_SENT = 0x7E;
|
|
750
749
|
// No reset or error
|
|
751
750
|
EzspStatus.NO_ERROR = 0xFF;
|
|
751
|
+
exports.EzspStatus = EzspStatus;
|
|
752
752
|
class EmberStatus extends basic.uint8_t {
|
|
753
753
|
}
|
|
754
|
-
exports.EmberStatus = EmberStatus;
|
|
755
754
|
// Return type for stack functions.
|
|
756
755
|
// The generic 'no error' message.
|
|
757
756
|
EmberStatus.SUCCESS = 0x00;
|
|
@@ -1090,9 +1089,9 @@ EmberStatus.APPLICATION_ERROR_14 = 0xFE;
|
|
|
1090
1089
|
// This error is reserved for customer application use. This will never be
|
|
1091
1090
|
// returned from any portion of the network stack or HAL.
|
|
1092
1091
|
EmberStatus.APPLICATION_ERROR_15 = 0xFF;
|
|
1092
|
+
exports.EmberStatus = EmberStatus;
|
|
1093
1093
|
class EmberEventUnits extends basic.uint8_t {
|
|
1094
1094
|
}
|
|
1095
|
-
exports.EmberEventUnits = EmberEventUnits;
|
|
1096
1095
|
// Either marks an event as inactive or specifies the units for the event
|
|
1097
1096
|
// execution time.
|
|
1098
1097
|
// The event is not scheduled to run.
|
|
@@ -1105,9 +1104,9 @@ EmberEventUnits.EVENT_QS_TIME = 0x02;
|
|
|
1105
1104
|
// The execution time is in 'binary' minutes (65536 approximate milliseconds
|
|
1106
1105
|
// each).
|
|
1107
1106
|
EmberEventUnits.EVENT_MINUTE_TIME = 0x03;
|
|
1107
|
+
exports.EmberEventUnits = EmberEventUnits;
|
|
1108
1108
|
class EmberNodeType extends basic.uint8_t {
|
|
1109
1109
|
}
|
|
1110
|
-
exports.EmberNodeType = EmberNodeType;
|
|
1111
1110
|
// The type of the node.
|
|
1112
1111
|
// Device is not joined.
|
|
1113
1112
|
EmberNodeType.UNKNOWN_DEVICE = 0x00;
|
|
@@ -1122,9 +1121,9 @@ EmberNodeType.END_DEVICE = 0x03;
|
|
|
1122
1121
|
EmberNodeType.SLEEPY_END_DEVICE = 0x04;
|
|
1123
1122
|
// A sleepy end device that can move through the network.
|
|
1124
1123
|
EmberNodeType.MOBILE_END_DEVICE = 0x05;
|
|
1124
|
+
exports.EmberNodeType = EmberNodeType;
|
|
1125
1125
|
class EmberNetworkStatus extends basic.uint8_t {
|
|
1126
1126
|
}
|
|
1127
|
-
exports.EmberNetworkStatus = EmberNetworkStatus;
|
|
1128
1127
|
// The possible join states for a node.
|
|
1129
1128
|
// The node is not associated with a network in any way.
|
|
1130
1129
|
EmberNetworkStatus.NO_NETWORK = 0x00;
|
|
@@ -1137,9 +1136,9 @@ EmberNetworkStatus.JOINED_NETWORK = 0x02;
|
|
|
1137
1136
|
EmberNetworkStatus.JOINED_NETWORK_NO_PARENT = 0x03;
|
|
1138
1137
|
// The node is in the process of leaving its current network.
|
|
1139
1138
|
EmberNetworkStatus.LEAVING_NETWORK = 0x04;
|
|
1139
|
+
exports.EmberNetworkStatus = EmberNetworkStatus;
|
|
1140
1140
|
class EmberIncomingMessageType extends basic.uint8_t {
|
|
1141
1141
|
}
|
|
1142
|
-
exports.EmberIncomingMessageType = EmberIncomingMessageType;
|
|
1143
1142
|
// Incoming message types.
|
|
1144
1143
|
// Unicast.
|
|
1145
1144
|
EmberIncomingMessageType.INCOMING_UNICAST = 0x00;
|
|
@@ -1155,9 +1154,9 @@ EmberIncomingMessageType.INCOMING_BROADCAST = 0x04;
|
|
|
1155
1154
|
EmberIncomingMessageType.INCOMING_BROADCAST_LOOPBACK = 0x05;
|
|
1156
1155
|
// Many to one route request.
|
|
1157
1156
|
EmberIncomingMessageType.INCOMING_MANY_TO_ONE_ROUTE_REQUEST = 0x06;
|
|
1157
|
+
exports.EmberIncomingMessageType = EmberIncomingMessageType;
|
|
1158
1158
|
class EmberOutgoingMessageType extends basic.uint8_t {
|
|
1159
1159
|
}
|
|
1160
|
-
exports.EmberOutgoingMessageType = EmberOutgoingMessageType;
|
|
1161
1160
|
// Outgoing message types.
|
|
1162
1161
|
// Unicast sent directly to an EmberNodeId.
|
|
1163
1162
|
EmberOutgoingMessageType.OUTGOING_DIRECT = 0x00;
|
|
@@ -1171,9 +1170,9 @@ EmberOutgoingMessageType.OUTGOING_MULTICAST = 0x03;
|
|
|
1171
1170
|
// Broadcast message. This value is passed to emberMessageSentHandler()
|
|
1172
1171
|
// only. It may not be passed to emberSendUnicast().
|
|
1173
1172
|
EmberOutgoingMessageType.OUTGOING_BROADCAST = 0x04;
|
|
1173
|
+
exports.EmberOutgoingMessageType = EmberOutgoingMessageType;
|
|
1174
1174
|
class EmberMacPassthroughType extends basic.uint8_t {
|
|
1175
1175
|
}
|
|
1176
|
-
exports.EmberMacPassthroughType = EmberMacPassthroughType;
|
|
1177
1176
|
// MAC passthrough message type flags.
|
|
1178
1177
|
// No MAC passthrough messages.
|
|
1179
1178
|
EmberMacPassthroughType.MAC_PASSTHROUGH_NONE = 0x00;
|
|
@@ -1186,9 +1185,9 @@ EmberMacPassthroughType.MAC_PASSTHROUGH_EMBERNET_SOURCE = 0x04;
|
|
|
1186
1185
|
EmberMacPassthroughType.MAC_PASSTHROUGH_APPLICATION = 0x08;
|
|
1187
1186
|
EmberMacPassthroughType.MAC_PASSTHROUGH_CUSTOM = 0x10;
|
|
1188
1187
|
EmberMacPassthroughType.MAC_PASSTHROUGH_INTERNAL = 0x80;
|
|
1188
|
+
exports.EmberMacPassthroughType = EmberMacPassthroughType;
|
|
1189
1189
|
class EmberBindingType extends basic.uint8_t {
|
|
1190
1190
|
}
|
|
1191
|
-
exports.EmberBindingType = EmberBindingType;
|
|
1192
1191
|
// Binding types.
|
|
1193
1192
|
// A binding that is currently not in use.
|
|
1194
1193
|
EmberBindingType.UNUSED_BINDING = 0x00;
|
|
@@ -1200,9 +1199,9 @@ EmberBindingType.MANY_TO_ONE_BINDING = 0x02;
|
|
|
1200
1199
|
// multicast binding can be used to send messages to the group and to
|
|
1201
1200
|
// receive messages sent to the group.
|
|
1202
1201
|
EmberBindingType.MULTICAST_BINDING = 0x03;
|
|
1202
|
+
exports.EmberBindingType = EmberBindingType;
|
|
1203
1203
|
class EmberApsOption extends basic.uint16_t {
|
|
1204
1204
|
}
|
|
1205
|
-
exports.EmberApsOption = EmberApsOption;
|
|
1206
1205
|
// Options to use when sending a message.
|
|
1207
1206
|
// No options.
|
|
1208
1207
|
EmberApsOption.APS_OPTION_NONE = 0x0000;
|
|
@@ -1238,17 +1237,17 @@ EmberApsOption.APS_OPTION_ZDO_RESPONSE_REQUIRED = 0x4000;
|
|
|
1238
1237
|
// low-order byte. If the low-order byte is zero this is the first fragment
|
|
1239
1238
|
// and the high-order byte contains the number of fragments in the message.
|
|
1240
1239
|
EmberApsOption.APS_OPTION_FRAGMENT = 0x8000;
|
|
1240
|
+
exports.EmberApsOption = EmberApsOption;
|
|
1241
1241
|
class EzspNetworkScanType extends basic.uint8_t {
|
|
1242
1242
|
}
|
|
1243
|
-
exports.EzspNetworkScanType = EzspNetworkScanType;
|
|
1244
1243
|
// Network scan types.
|
|
1245
1244
|
// An energy scan scans each channel for its RSSI value.
|
|
1246
1245
|
EzspNetworkScanType.ENERGY_SCAN = 0x00;
|
|
1247
1246
|
// An active scan scans each channel for available networks.
|
|
1248
1247
|
EzspNetworkScanType.ACTIVE_SCAN = 0x01;
|
|
1248
|
+
exports.EzspNetworkScanType = EzspNetworkScanType;
|
|
1249
1249
|
class EmberJoinDecision extends basic.uint8_t {
|
|
1250
1250
|
}
|
|
1251
|
-
exports.EmberJoinDecision = EmberJoinDecision;
|
|
1252
1251
|
// Decision made by the trust center when a node attempts to join.
|
|
1253
1252
|
// Allow the node to join. The joining node should have a pre-configured
|
|
1254
1253
|
// key. The security data sent to it will be encrypted with that key.
|
|
@@ -1261,9 +1260,9 @@ EmberJoinDecision.SEND_KEY_IN_THE_CLEAR = 0x01;
|
|
|
1261
1260
|
EmberJoinDecision.DENY_JOIN = 0x02;
|
|
1262
1261
|
// Take no action.
|
|
1263
1262
|
EmberJoinDecision.NO_ACTION = 0x03;
|
|
1263
|
+
exports.EmberJoinDecision = EmberJoinDecision;
|
|
1264
1264
|
class EmberInitialSecurityBitmask extends basic.uint16_t {
|
|
1265
1265
|
}
|
|
1266
|
-
exports.EmberInitialSecurityBitmask = EmberInitialSecurityBitmask;
|
|
1267
1266
|
// This is the Initial Security Bitmask that controls the use of various
|
|
1268
1267
|
// security features.
|
|
1269
1268
|
// This enables ZigBee Standard Security on the node.
|
|
@@ -1322,9 +1321,9 @@ EmberInitialSecurityBitmask.GET_PRECONFIGURED_KEY_FROM_INSTALL_CODE = 0x2000;
|
|
|
1322
1321
|
// ::EmberInitialSecurityState::preconfiguredTrustCenterEui64 must be
|
|
1323
1322
|
// populated with the appropriate EUI64.
|
|
1324
1323
|
EmberInitialSecurityBitmask.HAVE_TRUST_CENTER_EUI64 = 0x0040;
|
|
1324
|
+
exports.EmberInitialSecurityBitmask = EmberInitialSecurityBitmask;
|
|
1325
1325
|
class EmberCurrentSecurityBitmask extends basic.uint16_t {
|
|
1326
1326
|
}
|
|
1327
|
-
exports.EmberCurrentSecurityBitmask = EmberCurrentSecurityBitmask;
|
|
1328
1327
|
// This is the Current Security Bitmask that details the use of various
|
|
1329
1328
|
// security features.
|
|
1330
1329
|
// This denotes that the device is running in a network with ZigBee Standard
|
|
@@ -1343,9 +1342,9 @@ EmberCurrentSecurityBitmask.GLOBAL_LINK_KEY = 0x0004;
|
|
|
1343
1342
|
EmberCurrentSecurityBitmask.HAVE_TRUST_CENTER_LINK_KEY = 0x0010;
|
|
1344
1343
|
// This denotes that the Trust Center is using a Hashed Link Key.
|
|
1345
1344
|
EmberCurrentSecurityBitmask.TRUST_CENTER_USES_HASHED_LINK_KEY = 0x0084;
|
|
1345
|
+
exports.EmberCurrentSecurityBitmask = EmberCurrentSecurityBitmask;
|
|
1346
1346
|
class EmberKeyType extends basic.uint8_t {
|
|
1347
1347
|
}
|
|
1348
|
-
exports.EmberKeyType = EmberKeyType;
|
|
1349
1348
|
// Describes the type of ZigBee security key.
|
|
1350
1349
|
// A shared key between the Trust Center and a device.
|
|
1351
1350
|
EmberKeyType.TRUST_CENTER_LINK_KEY = 0x01;
|
|
@@ -1362,9 +1361,9 @@ EmberKeyType.APPLICATION_LINK_KEY = 0x05;
|
|
|
1362
1361
|
// An Application Master Key shared secret used to derive an Application
|
|
1363
1362
|
// Link Key.
|
|
1364
1363
|
EmberKeyType.APPLICATION_MASTER_KEY = 0x06;
|
|
1364
|
+
exports.EmberKeyType = EmberKeyType;
|
|
1365
1365
|
class EmberKeyStructBitmask extends basic.uint16_t {
|
|
1366
1366
|
}
|
|
1367
|
-
exports.EmberKeyStructBitmask = EmberKeyStructBitmask;
|
|
1368
1367
|
// Describes the presence of valid data within the EmberKeyStruct structure.
|
|
1369
1368
|
// The key has a sequence number associated with it.
|
|
1370
1369
|
EmberKeyStructBitmask.KEY_HAS_SEQUENCE_NUMBER = 0x0001;
|
|
@@ -1374,9 +1373,9 @@ EmberKeyStructBitmask.KEY_HAS_OUTGOING_FRAME_COUNTER = 0x0002;
|
|
|
1374
1373
|
EmberKeyStructBitmask.KEY_HAS_INCOMING_FRAME_COUNTER = 0x0004;
|
|
1375
1374
|
// The key has a Partner IEEE address associated with it.
|
|
1376
1375
|
EmberKeyStructBitmask.KEY_HAS_PARTNER_EUI64 = 0x0008;
|
|
1376
|
+
exports.EmberKeyStructBitmask = EmberKeyStructBitmask;
|
|
1377
1377
|
class EmberDeviceUpdate extends basic.uint8_t {
|
|
1378
1378
|
}
|
|
1379
|
-
exports.EmberDeviceUpdate = EmberDeviceUpdate;
|
|
1380
1379
|
// The status of the device update.
|
|
1381
1380
|
EmberDeviceUpdate.STANDARD_SECURITY_SECURED_REJOIN = 0x0;
|
|
1382
1381
|
EmberDeviceUpdate.STANDARD_SECURITY_UNSECURED_JOIN = 0x1;
|
|
@@ -1385,9 +1384,9 @@ EmberDeviceUpdate.STANDARD_SECURITY_UNSECURED_REJOIN = 0x3;
|
|
|
1385
1384
|
EmberDeviceUpdate.HIGH_SECURITY_SECURED_REJOIN = 0x4;
|
|
1386
1385
|
EmberDeviceUpdate.HIGH_SECURITY_UNSECURED_JOIN = 0x5;
|
|
1387
1386
|
EmberDeviceUpdate.HIGH_SECURITY_UNSECURED_REJOIN = 0x7;
|
|
1387
|
+
exports.EmberDeviceUpdate = EmberDeviceUpdate;
|
|
1388
1388
|
class EmberKeyStatus extends basic.uint8_t {
|
|
1389
1389
|
}
|
|
1390
|
-
exports.EmberKeyStatus = EmberKeyStatus;
|
|
1391
1390
|
// The status of the attempt to establish a key.
|
|
1392
1391
|
EmberKeyStatus.APP_LINK_KEY_ESTABLISHED = 0x01;
|
|
1393
1392
|
EmberKeyStatus.APP_MASTER_KEY_ESTABLISHED = 0x02;
|
|
@@ -1406,9 +1405,9 @@ EmberKeyStatus.TC_NON_MATCHING_APP_KEY_REQUEST_RECEIVED = 0x0E;
|
|
|
1406
1405
|
EmberKeyStatus.TC_FAILED_TO_SEND_APP_KEYS = 0x0F;
|
|
1407
1406
|
EmberKeyStatus.TC_FAILED_TO_STORE_APP_KEY_REQUEST = 0x10;
|
|
1408
1407
|
EmberKeyStatus.TC_REJECTED_APP_KEY_REQUEST = 0x11;
|
|
1408
|
+
exports.EmberKeyStatus = EmberKeyStatus;
|
|
1409
1409
|
class EmberCounterType extends basic.uint8_t {
|
|
1410
1410
|
}
|
|
1411
|
-
exports.EmberCounterType = EmberCounterType;
|
|
1412
1411
|
// Defines the events reported to the application by the
|
|
1413
1412
|
// readAndClearCounters command.
|
|
1414
1413
|
// The MAC received a broadcast.
|
|
@@ -1508,9 +1507,9 @@ EmberCounterType.COUNTER_PTA_LO_PRI_TX_ABORTED = 38;
|
|
|
1508
1507
|
EmberCounterType.COUNTER_PTA_HI_PRI_TX_ABORTED = 39;
|
|
1509
1508
|
// A placeholder giving the number of Ember counter types.
|
|
1510
1509
|
EmberCounterType.COUNTER_TYPE_COUNT = 40;
|
|
1510
|
+
exports.EmberCounterType = EmberCounterType;
|
|
1511
1511
|
class EmberJoinMethod extends basic.uint8_t {
|
|
1512
1512
|
}
|
|
1513
|
-
exports.EmberJoinMethod = EmberJoinMethod;
|
|
1514
1513
|
// The type of method used for joining.
|
|
1515
1514
|
// Normally devices use MAC Association to join a network, which respects
|
|
1516
1515
|
// the "permit joining" flag in the MAC Beacon. For mobile nodes this value
|
|
@@ -1537,9 +1536,9 @@ EmberJoinMethod.USE_NWK_REJOIN_HAVE_NWK_KEY = 0x2;
|
|
|
1537
1536
|
// ahead of time, a router device may be commissioned such that it does not
|
|
1538
1537
|
// need to send any messages to begin communicating on the network.
|
|
1539
1538
|
EmberJoinMethod.USE_NWK_COMMISSIONING = 0x3;
|
|
1539
|
+
exports.EmberJoinMethod = EmberJoinMethod;
|
|
1540
1540
|
class EmberZdoConfigurationFlags extends basic.uint8_t {
|
|
1541
1541
|
}
|
|
1542
|
-
exports.EmberZdoConfigurationFlags = EmberZdoConfigurationFlags;
|
|
1543
1542
|
// Flags for controlling which incoming ZDO requests are passed to the
|
|
1544
1543
|
// application. To see if the application is required to send a ZDO response
|
|
1545
1544
|
// to an incoming message, the application must check the APS options
|
|
@@ -1571,9 +1570,9 @@ EmberZdoConfigurationFlags.APP_HANDLES_ZDO_ENDPOINT_REQUESTS = 0x04;
|
|
|
1571
1570
|
// will no longer send any ZDO response for these requests, and it is the
|
|
1572
1571
|
// application's responsibility to do so.
|
|
1573
1572
|
EmberZdoConfigurationFlags.APP_HANDLES_ZDO_BINDING_REQUESTS = 0x08;
|
|
1573
|
+
exports.EmberZdoConfigurationFlags = EmberZdoConfigurationFlags;
|
|
1574
1574
|
class EmberConcentratorType extends basic.uint16_t {
|
|
1575
1575
|
}
|
|
1576
|
-
exports.EmberConcentratorType = EmberConcentratorType;
|
|
1577
1576
|
// Type of concentrator.
|
|
1578
1577
|
// A concentrator with insufficient memory to store source routes for the
|
|
1579
1578
|
// entire network. Route records are sent to the concentrator prior to every
|
|
@@ -1583,9 +1582,9 @@ EmberConcentratorType.LOW_RAM_CONCENTRATOR = 0xFFF8;
|
|
|
1583
1582
|
// entire network. Remote nodes stop sending route records once the
|
|
1584
1583
|
// concentrator has successfully received one.
|
|
1585
1584
|
EmberConcentratorType.HIGH_RAM_CONCENTRATOR = 0xFFF9;
|
|
1585
|
+
exports.EmberConcentratorType = EmberConcentratorType;
|
|
1586
1586
|
class EmberZllState extends basic.uint16_t {
|
|
1587
1587
|
}
|
|
1588
|
-
exports.EmberZllState = EmberZllState;
|
|
1589
1588
|
// ZLL device state identifier.
|
|
1590
1589
|
// No state.
|
|
1591
1590
|
EmberZllState.ZLL_STATE_NONE = 0x0000;
|
|
@@ -1599,9 +1598,9 @@ EmberZllState.ZLL_STATE_LINK_INITIATOR = 0x0010;
|
|
|
1599
1598
|
EmberZllState.ZLL_STATE_LINK_PRIORITY_REQUEST = 0x0020;
|
|
1600
1599
|
// The device is on a non-ZLL network.
|
|
1601
1600
|
EmberZllState.ZLL_STATE_NON_ZLL_NETWORK = 0x0100;
|
|
1601
|
+
exports.EmberZllState = EmberZllState;
|
|
1602
1602
|
class EmberZllKeyIndex extends basic.uint8_t {
|
|
1603
1603
|
}
|
|
1604
|
-
exports.EmberZllKeyIndex = EmberZllKeyIndex;
|
|
1605
1604
|
// ZLL key encryption algorithm enumeration.
|
|
1606
1605
|
// Key encryption algorithm for use during development.
|
|
1607
1606
|
EmberZllKeyIndex.ZLL_KEY_INDEX_DEVELOPMENT = 0x00;
|
|
@@ -1609,30 +1608,30 @@ EmberZllKeyIndex.ZLL_KEY_INDEX_DEVELOPMENT = 0x00;
|
|
|
1609
1608
|
EmberZllKeyIndex.ZLL_KEY_INDEX_MASTER = 0x04;
|
|
1610
1609
|
// Key encryption algorithm for use during development and certification.
|
|
1611
1610
|
EmberZllKeyIndex.ZLL_KEY_INDEX_CERTIFICATION = 0x0F;
|
|
1611
|
+
exports.EmberZllKeyIndex = EmberZllKeyIndex;
|
|
1612
1612
|
class EzspZllNetworkOperation extends basic.uint8_t {
|
|
1613
1613
|
}
|
|
1614
|
-
exports.EzspZllNetworkOperation = EzspZllNetworkOperation;
|
|
1615
1614
|
// Differentiates among ZLL network operations.
|
|
1616
1615
|
EzspZllNetworkOperation.ZLL_FORM_NETWORK = 0x00; // ZLL form network command.
|
|
1617
1616
|
EzspZllNetworkOperation.ZLL_JOIN_TARGET = 0x01; // ZLL join target command.
|
|
1617
|
+
exports.EzspZllNetworkOperation = EzspZllNetworkOperation;
|
|
1618
1618
|
class EzspSourceRouteOverheadInformation extends basic.uint8_t {
|
|
1619
1619
|
}
|
|
1620
|
-
exports.EzspSourceRouteOverheadInformation = EzspSourceRouteOverheadInformation;
|
|
1621
1620
|
// Validates Source Route Overhead Information cached.
|
|
1622
1621
|
// Ezsp source route overhead unknown
|
|
1623
1622
|
EzspSourceRouteOverheadInformation.SOURCE_ROUTE_OVERHEAD_UNKNOWN = 0xFF;
|
|
1623
|
+
exports.EzspSourceRouteOverheadInformation = EzspSourceRouteOverheadInformation;
|
|
1624
1624
|
class EmberNetworkInitBitmask extends basic.uint16_t {
|
|
1625
1625
|
}
|
|
1626
|
-
exports.EmberNetworkInitBitmask = EmberNetworkInitBitmask;
|
|
1627
1626
|
// Bitmask options for emberNetworkInit().
|
|
1628
1627
|
// No options for Network Init
|
|
1629
1628
|
EmberNetworkInitBitmask.NETWORK_INIT_NO_OPTIONS = 0x0000;
|
|
1630
1629
|
// Save parent info (node ID and EUI64) in a token during joining/rejoin,
|
|
1631
1630
|
// and restore on reboot.
|
|
1632
1631
|
EmberNetworkInitBitmask.NETWORK_INIT_PARENT_INFO_IN_TOKEN = 0x0001;
|
|
1632
|
+
exports.EmberNetworkInitBitmask = EmberNetworkInitBitmask;
|
|
1633
1633
|
class EmberZDOCmd extends basic.uint16_t {
|
|
1634
1634
|
}
|
|
1635
|
-
exports.EmberZDOCmd = EmberZDOCmd;
|
|
1636
1635
|
// Device and Service Discovery Server Requests
|
|
1637
1636
|
EmberZDOCmd.NWK_addr_req = 0x0000;
|
|
1638
1637
|
EmberZDOCmd.IEEE_addr_req = 0x0001;
|
|
@@ -1706,9 +1705,9 @@ EmberZDOCmd.Mgmt_Leave_rsp = 0x8034;
|
|
|
1706
1705
|
EmberZDOCmd.Mgmt_Permit_Joining_rsp = 0x8036;
|
|
1707
1706
|
// ... TODO optional stuff ...
|
|
1708
1707
|
EmberZDOCmd.Mgmt_NWK_Update_rsp = 0x8038;
|
|
1708
|
+
exports.EmberZDOCmd = EmberZDOCmd;
|
|
1709
1709
|
class EzspDecisionBitmask extends basic.uint16_t {
|
|
1710
1710
|
}
|
|
1711
|
-
exports.EzspDecisionBitmask = EzspDecisionBitmask;
|
|
1712
1711
|
// EZSP Decision bitmask.
|
|
1713
1712
|
// Disallow joins and rejoins.
|
|
1714
1713
|
EzspDecisionBitmask.DEFAULT_CONFIGURATION = 0x0000;
|
|
@@ -1724,4 +1723,5 @@ EzspDecisionBitmask.IGNORE_UNSECURED_REJOINS = 0x0008;
|
|
|
1724
1723
|
EzspDecisionBitmask.JOINS_USE_INSTALL_CODE_KEY = 0x0010;
|
|
1725
1724
|
// Delay sending the network key to a new joining device.
|
|
1726
1725
|
EzspDecisionBitmask.DEFER_JOINS = 0x0020;
|
|
1726
|
+
exports.EzspDecisionBitmask = EzspDecisionBitmask;
|
|
1727
1727
|
//# sourceMappingURL=named.js.map
|