zigbee-herdsman 0.55.0 → 0.55.1
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +9 -0
- package/dist/adapter/ember/adapter/emberAdapter.d.ts +22 -76
- package/dist/adapter/ember/adapter/emberAdapter.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/emberAdapter.js +209 -368
- package/dist/adapter/ember/adapter/emberAdapter.js.map +1 -1
- package/dist/adapter/ember/consts.d.ts +0 -1
- package/dist/adapter/ember/consts.d.ts.map +1 -1
- package/dist/adapter/ember/consts.js +1 -3
- package/dist/adapter/ember/consts.js.map +1 -1
- package/dist/adapter/ember/ezsp/ezsp.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/ezsp.js +27 -43
- package/dist/adapter/ember/ezsp/ezsp.js.map +1 -1
- package/dist/adapter/ember/uart/ash.d.ts +2 -0
- package/dist/adapter/ember/uart/ash.d.ts.map +1 -1
- package/dist/adapter/ember/uart/ash.js +5 -7
- package/dist/adapter/ember/uart/ash.js.map +1 -1
- package/dist/adapter/ember/utils/initters.d.ts.map +1 -1
- package/dist/adapter/ember/utils/initters.js +0 -1
- package/dist/adapter/ember/utils/initters.js.map +1 -1
- package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts +1 -0
- package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/zStackAdapter.js +14 -21
- package/dist/adapter/z-stack/adapter/zStackAdapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -2176,8 +2176,7 @@ class Ezsp extends events_1.default {
|
|
|
2176
2176
|
* @param lastHopRssi int8_t The energy level (in units of dBm) observed during the reception.
|
|
2177
2177
|
*/
|
|
2178
2178
|
ezspNetworkFoundHandler(networkFound, lastHopLqi, lastHopRssi) {
|
|
2179
|
-
logger_1.logger.debug(`ezspNetworkFoundHandler(): callback called with: [networkFound=${JSON.stringify(networkFound)}],
|
|
2180
|
-
`[lastHopLqi=${lastHopLqi}], [lastHopRssi=${lastHopRssi}]`, NS);
|
|
2179
|
+
logger_1.logger.debug(`ezspNetworkFoundHandler(): callback called with: [networkFound=${JSON.stringify(networkFound)}], [lastHopLqi=${lastHopLqi}], [lastHopRssi=${lastHopRssi}]`, NS);
|
|
2181
2180
|
}
|
|
2182
2181
|
/**
|
|
2183
2182
|
* Callback
|
|
@@ -2378,8 +2377,7 @@ class Ezsp extends events_1.default {
|
|
|
2378
2377
|
* @param childType The node type of the child.
|
|
2379
2378
|
*/
|
|
2380
2379
|
ezspChildJoinHandler(index, joining, childId, childEui64, childType) {
|
|
2381
|
-
logger_1.logger.debug(`ezspChildJoinHandler(): callback called with: [index=${index}], [joining=${joining}],
|
|
2382
|
-
`[childId=${childId}], [childEui64=${childEui64}], [childType=${childType}]`, NS);
|
|
2380
|
+
logger_1.logger.debug(`ezspChildJoinHandler(): callback called with: [index=${index}], [joining=${joining}], [childId=${childId}], [childEui64=${childEui64}], [childType=${childType}]`, NS);
|
|
2383
2381
|
}
|
|
2384
2382
|
/**
|
|
2385
2383
|
* Sends a ZDO energy scan request. This request may only be sent by the current
|
|
@@ -3284,8 +3282,7 @@ class Ezsp extends events_1.default {
|
|
|
3284
3282
|
* The first entry always be the local stack's nodeId, and thus the total aggregate duty cycle for the device.
|
|
3285
3283
|
*/
|
|
3286
3284
|
ezspDutyCycleHandler(channelPage, channel, state, totalDevices, arrayOfDeviceDutyCycles) {
|
|
3287
|
-
logger_1.logger.debug(`ezspDutyCycleHandler(): callback called with: [channelPage=${channelPage}], [channel=${channel}],
|
|
3288
|
-
`[state=${state}], [totalDevices=${totalDevices}], [arrayOfDeviceDutyCycles=${arrayOfDeviceDutyCycles}]`, NS);
|
|
3285
|
+
logger_1.logger.debug(`ezspDutyCycleHandler(): callback called with: [channelPage=${channelPage}], [channel=${channel}], [state=${state}], [totalDevices=${totalDevices}], [arrayOfDeviceDutyCycles=${arrayOfDeviceDutyCycles}]`, NS);
|
|
3289
3286
|
}
|
|
3290
3287
|
/**
|
|
3291
3288
|
* Configure the number of beacons to store when issuing active scans for networks.
|
|
@@ -3659,8 +3656,7 @@ class Ezsp extends events_1.default {
|
|
|
3659
3656
|
* @param policyDecision SLStatus.OK if the binding was added to the table and any other status if not.
|
|
3660
3657
|
*/
|
|
3661
3658
|
ezspRemoteSetBindingHandler(entry, index, policyDecision) {
|
|
3662
|
-
logger_1.logger.debug(`ezspRemoteSetBindingHandler(): callback called with: [entry=${JSON.stringify(entry)}], [index=${index}],
|
|
3663
|
-
`[policyDecision=${enums_1.SLStatus[policyDecision]}]`, NS);
|
|
3659
|
+
logger_1.logger.debug(`ezspRemoteSetBindingHandler(): callback called with: [entry=${JSON.stringify(entry)}], [index=${index}], [policyDecision=${enums_1.SLStatus[policyDecision]}]`, NS);
|
|
3664
3660
|
}
|
|
3665
3661
|
/**
|
|
3666
3662
|
* Callback
|
|
@@ -4201,8 +4197,7 @@ class Ezsp extends events_1.default {
|
|
|
4201
4197
|
* The list is passed as uint8_t * to avoid alignment problems.
|
|
4202
4198
|
*/
|
|
4203
4199
|
ezspIncomingRouteRecordHandler(source, sourceEui, lastHopLqi, lastHopRssi, relayCount, relayList) {
|
|
4204
|
-
logger_1.logger.debug(`ezspIncomingRouteRecordHandler(): callback called with: [source=${source}], [sourceEui=${sourceEui}],
|
|
4205
|
-
`[lastHopLqi=${lastHopLqi}], [lastHopRssi=${lastHopRssi}], [relayCount=${relayCount}], [relayList=${relayList}]`, NS);
|
|
4200
|
+
logger_1.logger.debug(`ezspIncomingRouteRecordHandler(): callback called with: [source=${source}], [sourceEui=${sourceEui}], [lastHopLqi=${lastHopLqi}], [lastHopRssi=${lastHopRssi}], [relayCount=${relayCount}], [relayList=${relayList}]`, NS);
|
|
4206
4201
|
// XXX: could at least trigger a `Events.lastSeenChanged` but this is not currently being listened to at the adapter level
|
|
4207
4202
|
}
|
|
4208
4203
|
/**
|
|
@@ -4476,7 +4471,7 @@ class Ezsp extends events_1.default {
|
|
|
4476
4471
|
*/
|
|
4477
4472
|
ezspIdConflictHandler(id) {
|
|
4478
4473
|
logger_1.logger.debug(`ezspIdConflictHandler(): callback called with: [id=${id}]`, NS);
|
|
4479
|
-
logger_1.logger.warning(`An ID conflict was detected for network address
|
|
4474
|
+
logger_1.logger.warning(`An ID conflict was detected for network address '${id}'. Corresponding devices kicked from the network.`, NS);
|
|
4480
4475
|
// XXX: this is currently causing more problems than not doing it, so disabled for now.
|
|
4481
4476
|
// devices should rejoin on ID conflict anyway, so the database isn't out of sync for very long.
|
|
4482
4477
|
// hijacking the event from `ezspTrustCenterJoinHandler`, and forging a DEVICE_LEFT to avoid another event ending up doing the same logic
|
|
@@ -4526,8 +4521,7 @@ class Ezsp extends events_1.default {
|
|
|
4526
4521
|
* @param messageContents uint8_t * The raw message that was received.
|
|
4527
4522
|
*/
|
|
4528
4523
|
ezspMacPassthroughMessageHandler(messageType, packetInfo, messageContents) {
|
|
4529
|
-
logger_1.logger.debug(`ezspMacPassthroughMessageHandler(): callback called with: [messageType=${messageType}],
|
|
4530
|
-
`[packetInfo=${JSON.stringify(packetInfo)}], [messageContents=${messageContents.toString('hex')}]`, NS);
|
|
4524
|
+
logger_1.logger.debug(`ezspMacPassthroughMessageHandler(): callback called with: [messageType=${messageType}], [packetInfo=${JSON.stringify(packetInfo)}], [messageContents=${messageContents.toString('hex')}]`, NS);
|
|
4531
4525
|
}
|
|
4532
4526
|
/**
|
|
4533
4527
|
* Callback
|
|
@@ -4539,9 +4533,8 @@ class Ezsp extends events_1.default {
|
|
|
4539
4533
|
* @param messageContents uint8_t * The raw message that was received.
|
|
4540
4534
|
*/
|
|
4541
4535
|
ezspMacFilterMatchMessageHandler(filterIndexMatch, legacyPassthroughType, packetInfo, messageContents) {
|
|
4542
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler(): callback called with: [filterIndexMatch=${filterIndexMatch}], ` +
|
|
4543
|
-
`[
|
|
4544
|
-
`[messageContents=${messageContents.toString('hex')}]`, NS);
|
|
4536
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler(): callback called with: [filterIndexMatch=${filterIndexMatch}], [legacyPassthroughType=${legacyPassthroughType}], ` +
|
|
4537
|
+
`[packetInfo=${JSON.stringify(packetInfo)}], [messageContents=${messageContents.toString('hex')}]`, NS);
|
|
4545
4538
|
// TODO: needs triple-checking, this is only valid for InterPAN messages
|
|
4546
4539
|
const msgBuffalo = new buffalo_1.EzspBuffalo(messageContents, 0);
|
|
4547
4540
|
const macFrameControl = msgBuffalo.readUInt16() & ~consts_1.MAC_ACK_REQUIRED;
|
|
@@ -4558,7 +4551,7 @@ class Ezsp extends events_1.default {
|
|
|
4558
4551
|
destAddress = msgBuffalo.readUInt16();
|
|
4559
4552
|
}
|
|
4560
4553
|
else {
|
|
4561
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN macFrameControl
|
|
4554
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN macFrameControl '${macFrameControl}'.`, NS);
|
|
4562
4555
|
return;
|
|
4563
4556
|
}
|
|
4564
4557
|
const sourcePanId = msgBuffalo.readUInt16();
|
|
@@ -4566,19 +4559,19 @@ class Ezsp extends events_1.default {
|
|
|
4566
4559
|
// Now that we know the correct MAC length, verify the interpan frame is the correct length.
|
|
4567
4560
|
let remainingLength = msgBuffalo.getBufferLength() - msgBuffalo.getPosition();
|
|
4568
4561
|
if (remainingLength < consts_1.STUB_NWK_SIZE + consts_1.MIN_STUB_APS_SIZE) {
|
|
4569
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN length
|
|
4562
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN length '${remainingLength}'.`, NS);
|
|
4570
4563
|
return;
|
|
4571
4564
|
}
|
|
4572
4565
|
const nwkFrameControl = msgBuffalo.readUInt16();
|
|
4573
4566
|
remainingLength -= 2; // read 2 more bytes before APS stuff
|
|
4574
4567
|
if (nwkFrameControl !== consts_1.STUB_NWK_FRAME_CONTROL) {
|
|
4575
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN nwkFrameControl
|
|
4568
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN nwkFrameControl '${nwkFrameControl}'.`, NS);
|
|
4576
4569
|
return;
|
|
4577
4570
|
}
|
|
4578
4571
|
const apsFrameControl = msgBuffalo.readUInt8();
|
|
4579
4572
|
if ((apsFrameControl & ~consts_1.INTERPAN_APS_FRAME_DELIVERY_MODE_MASK & ~consts_1.INTERPAN_APS_FRAME_SECURITY) !==
|
|
4580
4573
|
consts_1.INTERPAN_APS_FRAME_CONTROL_NO_DELIVERY_MODE) {
|
|
4581
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN apsFrameControl
|
|
4574
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN apsFrameControl '${apsFrameControl}'.`, NS);
|
|
4582
4575
|
return;
|
|
4583
4576
|
}
|
|
4584
4577
|
const messageType = apsFrameControl & consts_1.INTERPAN_APS_FRAME_DELIVERY_MODE_MASK;
|
|
@@ -4587,21 +4580,21 @@ class Ezsp extends events_1.default {
|
|
|
4587
4580
|
case enums_1.EmberInterpanMessageType.UNICAST:
|
|
4588
4581
|
case enums_1.EmberInterpanMessageType.BROADCAST: {
|
|
4589
4582
|
if (remainingLength < consts_1.INTERPAN_APS_UNICAST_BROADCAST_SIZE) {
|
|
4590
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN length
|
|
4583
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN length '${remainingLength}'.`, NS);
|
|
4591
4584
|
return;
|
|
4592
4585
|
}
|
|
4593
4586
|
break;
|
|
4594
4587
|
}
|
|
4595
4588
|
case enums_1.EmberInterpanMessageType.MULTICAST: {
|
|
4596
4589
|
if (remainingLength < consts_1.INTERPAN_APS_MULTICAST_SIZE) {
|
|
4597
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN length
|
|
4590
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN length '${remainingLength}'.`, NS);
|
|
4598
4591
|
return;
|
|
4599
4592
|
}
|
|
4600
4593
|
groupId = msgBuffalo.readUInt16();
|
|
4601
4594
|
break;
|
|
4602
4595
|
}
|
|
4603
4596
|
default: {
|
|
4604
|
-
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN messageType
|
|
4597
|
+
logger_1.logger.debug(`ezspMacFilterMatchMessageHandler INVALID InterPAN messageType '${messageType}'.`, NS);
|
|
4605
4598
|
return;
|
|
4606
4599
|
}
|
|
4607
4600
|
}
|
|
@@ -4622,8 +4615,7 @@ class Ezsp extends events_1.default {
|
|
|
4622
4615
|
* - SLStatus.ZIGBEE_DELIVERY_FAILED if not
|
|
4623
4616
|
*/
|
|
4624
4617
|
ezspRawTransmitCompleteHandler(messageContents, status) {
|
|
4625
|
-
logger_1.logger.debug(`ezspRawTransmitCompleteHandler(): callback called with: [messageContents=${messageContents.toString('hex')}],
|
|
4626
|
-
`[status=${enums_1.SLStatus[status]}]`, NS);
|
|
4618
|
+
logger_1.logger.debug(`ezspRawTransmitCompleteHandler(): callback called with: [messageContents=${messageContents.toString('hex')}], [status=${enums_1.SLStatus[status]}]`, NS);
|
|
4627
4619
|
}
|
|
4628
4620
|
/**
|
|
4629
4621
|
* This function is useful to sleepy end devices.
|
|
@@ -5434,8 +5426,7 @@ class Ezsp extends events_1.default {
|
|
|
5434
5426
|
*/
|
|
5435
5427
|
ezspTrustCenterJoinHandler(newNodeId, newNodeEui64, status, policyDecision, parentOfNewNodeId) {
|
|
5436
5428
|
logger_1.logger.debug(`ezspTrustCenterJoinHandler(): callback called with: [newNodeId=${newNodeId}], [newNodeEui64=${newNodeEui64}], ` +
|
|
5437
|
-
`[status=${enums_1.EmberDeviceUpdate[status]}], [policyDecision=${enums_1.EmberJoinDecision[policyDecision]}],
|
|
5438
|
-
`[parentOfNewNodeId=${parentOfNewNodeId}]`, NS);
|
|
5429
|
+
`[status=${enums_1.EmberDeviceUpdate[status]}], [policyDecision=${enums_1.EmberJoinDecision[policyDecision]}], [parentOfNewNodeId=${parentOfNewNodeId}]`, NS);
|
|
5439
5430
|
// NOTE: this is mostly just passing stuff up to Z2M, so use only one emit for all, let adapter do the rest, no parsing needed
|
|
5440
5431
|
this.emit(EzspEvents.TRUST_CENTER_JOIN, newNodeId, newNodeEui64, status, policyDecision, parentOfNewNodeId);
|
|
5441
5432
|
}
|
|
@@ -5602,8 +5593,7 @@ class Ezsp extends events_1.default {
|
|
|
5602
5593
|
* @param responderSmac EmberSmacData * The calculated value of the responder's SMAC
|
|
5603
5594
|
*/
|
|
5604
5595
|
ezspCalculateSmacsHandler(status, initiatorSmac, responderSmac) {
|
|
5605
|
-
logger_1.logger.debug(`ezspCalculateSmacsHandler(): callback called with: [status=${enums_1.SLStatus[status]}], [initiatorSmac=${initiatorSmac}],
|
|
5606
|
-
`[responderSmac=${responderSmac}]`, NS);
|
|
5596
|
+
logger_1.logger.debug(`ezspCalculateSmacsHandler(): callback called with: [status=${enums_1.SLStatus[status]}], [initiatorSmac=${initiatorSmac}], [responderSmac=${responderSmac}]`, NS);
|
|
5607
5597
|
}
|
|
5608
5598
|
/**
|
|
5609
5599
|
* This call starts the generation of the ECC 283k1 curve Ephemeral
|
|
@@ -5629,7 +5619,7 @@ class Ezsp extends events_1.default {
|
|
|
5629
5619
|
* @param ephemeralPublicKey EmberPublicKey283k1Data * The generated ephemeral public key.
|
|
5630
5620
|
*/
|
|
5631
5621
|
ezspGenerateCbkeKeysHandler283k1(status, ephemeralPublicKey) {
|
|
5632
|
-
logger_1.logger.debug(`ezspGenerateCbkeKeysHandler283k1(): callback called with: [status=${enums_1.SLStatus[status]}],
|
|
5622
|
+
logger_1.logger.debug(`ezspGenerateCbkeKeysHandler283k1(): callback called with: [status=${enums_1.SLStatus[status]}], [ephemeralPublicKey=${ephemeralPublicKey}]`, NS);
|
|
5633
5623
|
}
|
|
5634
5624
|
/**
|
|
5635
5625
|
* Calculates the SMAC verification keys for both the initiator and responder
|
|
@@ -5665,8 +5655,7 @@ class Ezsp extends events_1.default {
|
|
|
5665
5655
|
* @param responderSmac EmberSmacData * The calculated value of the responder's SMAC
|
|
5666
5656
|
*/
|
|
5667
5657
|
ezspCalculateSmacsHandler283k1(status, initiatorSmac, responderSmac) {
|
|
5668
|
-
logger_1.logger.debug(`ezspCalculateSmacsHandler283k1(): callback called with: [status=${enums_1.SLStatus[status]}], [initiatorSmac=${initiatorSmac}],
|
|
5669
|
-
`[responderSmac=${responderSmac}]`, NS);
|
|
5658
|
+
logger_1.logger.debug(`ezspCalculateSmacsHandler283k1(): callback called with: [status=${enums_1.SLStatus[status]}], [initiatorSmac=${initiatorSmac}], [responderSmac=${responderSmac}]`, NS);
|
|
5670
5659
|
}
|
|
5671
5660
|
/**
|
|
5672
5661
|
* Clears the temporary data associated with CBKE and the key establishment,
|
|
@@ -6019,8 +6008,7 @@ class Ezsp extends events_1.default {
|
|
|
6019
6008
|
* Length will be greater than 3 and less than 123.
|
|
6020
6009
|
*/
|
|
6021
6010
|
ezspMfglibRxHandler(linkQuality, rssi, packetContents) {
|
|
6022
|
-
logger_1.logger.debug(`ezspMfglibRxHandler(): callback called with: [linkQuality=${linkQuality}], [rssi=${rssi}],
|
|
6023
|
-
`[packetContents=${packetContents.toString('hex')}]`, NS);
|
|
6011
|
+
logger_1.logger.debug(`ezspMfglibRxHandler(): callback called with: [linkQuality=${linkQuality}], [rssi=${rssi}], [packetContents=${packetContents.toString('hex')}]`, NS);
|
|
6024
6012
|
}
|
|
6025
6013
|
//-----------------------------------------------------------------------------
|
|
6026
6014
|
// Bootloader Frames
|
|
@@ -6096,8 +6084,7 @@ class Ezsp extends events_1.default {
|
|
|
6096
6084
|
* @param messageContents uint8_t *The bootload message that was sent.
|
|
6097
6085
|
*/
|
|
6098
6086
|
ezspIncomingBootloadMessageHandler(longId, packetInfo, messageContents) {
|
|
6099
|
-
logger_1.logger.debug(`ezspIncomingBootloadMessageHandler(): callback called with: [longId=${longId}], [packetInfo=${JSON.stringify(packetInfo)}],
|
|
6100
|
-
`[messageContents=${messageContents.toString('hex')}]`, NS);
|
|
6087
|
+
logger_1.logger.debug(`ezspIncomingBootloadMessageHandler(): callback called with: [longId=${longId}], [packetInfo=${JSON.stringify(packetInfo)}], [messageContents=${messageContents.toString('hex')}]`, NS);
|
|
6101
6088
|
}
|
|
6102
6089
|
/**
|
|
6103
6090
|
* Callback
|
|
@@ -6109,8 +6096,7 @@ class Ezsp extends events_1.default {
|
|
|
6109
6096
|
* @param messageContents uint8_t * The message that was sent.
|
|
6110
6097
|
*/
|
|
6111
6098
|
ezspBootloadTransmitCompleteHandler(status, messageContents) {
|
|
6112
|
-
logger_1.logger.debug(`ezspBootloadTransmitCompleteHandler(): callback called with: [status=${enums_1.SLStatus[status]}],
|
|
6113
|
-
`[messageContents=${messageContents.toString('hex')}]`, NS);
|
|
6099
|
+
logger_1.logger.debug(`ezspBootloadTransmitCompleteHandler(): callback called with: [status=${enums_1.SLStatus[status]}], [messageContents=${messageContents.toString('hex')}]`, NS);
|
|
6114
6100
|
}
|
|
6115
6101
|
/**
|
|
6116
6102
|
* Perform AES encryption on plaintext using key.
|
|
@@ -6138,8 +6124,7 @@ class Ezsp extends events_1.default {
|
|
|
6138
6124
|
* @param data uint8_t * A pointer to the data received in the current message.
|
|
6139
6125
|
*/
|
|
6140
6126
|
ezspIncomingMfgTestMessageHandler(messageType, messageContents) {
|
|
6141
|
-
logger_1.logger.debug(`ezspIncomingMfgTestMessageHandler(): callback called with: [messageType=${messageType}],
|
|
6142
|
-
`[messageContents=${messageContents.toString('hex')}]`, NS);
|
|
6127
|
+
logger_1.logger.debug(`ezspIncomingMfgTestMessageHandler(): callback called with: [messageType=${messageType}], [messageContents=${messageContents.toString('hex')}]`, NS);
|
|
6143
6128
|
}
|
|
6144
6129
|
/**
|
|
6145
6130
|
* A function used on the Golden Node to switch between normal network operation (for testing) and manufacturing configuration.
|
|
@@ -6368,8 +6353,7 @@ class Ezsp extends events_1.default {
|
|
|
6368
6353
|
* @param packetInfo Information about the incoming packet received from this network.
|
|
6369
6354
|
*/
|
|
6370
6355
|
ezspZllNetworkFoundHandler(networkInfo, isDeviceInfoNull, deviceInfo, packetInfo) {
|
|
6371
|
-
logger_1.logger.debug(`ezspZllNetworkFoundHandler(): callback called with: [networkInfo=${networkInfo}], [isDeviceInfoNull=${isDeviceInfoNull}],
|
|
6372
|
-
`[deviceInfo=${deviceInfo}], [packetInfo=${JSON.stringify(packetInfo)}]`, NS);
|
|
6356
|
+
logger_1.logger.debug(`ezspZllNetworkFoundHandler(): callback called with: [networkInfo=${networkInfo}], [isDeviceInfoNull=${isDeviceInfoNull}], [deviceInfo=${deviceInfo}], [packetInfo=${JSON.stringify(packetInfo)}]`, NS);
|
|
6373
6357
|
}
|
|
6374
6358
|
/**
|
|
6375
6359
|
* Callback
|
|
@@ -6387,7 +6371,7 @@ class Ezsp extends events_1.default {
|
|
|
6387
6371
|
* @param packetInfo Information about the incoming packet received from this network.
|
|
6388
6372
|
*/
|
|
6389
6373
|
ezspZllAddressAssignmentHandler(addressInfo, packetInfo) {
|
|
6390
|
-
logger_1.logger.debug(`ezspZllAddressAssignmentHandler(): callback called with: [addressInfo=${addressInfo}],
|
|
6374
|
+
logger_1.logger.debug(`ezspZllAddressAssignmentHandler(): callback called with: [addressInfo=${addressInfo}], [packetInfo=${JSON.stringify(packetInfo)}]`, NS);
|
|
6391
6375
|
}
|
|
6392
6376
|
/**
|
|
6393
6377
|
* Callback
|