zigbee-herdsman 0.50.1 → 0.51.0

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.
Files changed (61) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +7 -0
  3. package/dist/adapter/ember/adapter/emberAdapter.d.ts +23 -441
  4. package/dist/adapter/ember/adapter/emberAdapter.d.ts.map +1 -1
  5. package/dist/adapter/ember/adapter/emberAdapter.js +446 -1083
  6. package/dist/adapter/ember/adapter/emberAdapter.js.map +1 -1
  7. package/dist/adapter/ember/adapter/oneWaitress.d.ts +5 -4
  8. package/dist/adapter/ember/adapter/oneWaitress.d.ts.map +1 -1
  9. package/dist/adapter/ember/adapter/oneWaitress.js +28 -14
  10. package/dist/adapter/ember/adapter/oneWaitress.js.map +1 -1
  11. package/dist/adapter/ember/adapter/requestQueue.d.ts +14 -4
  12. package/dist/adapter/ember/adapter/requestQueue.d.ts.map +1 -1
  13. package/dist/adapter/ember/adapter/requestQueue.js +55 -35
  14. package/dist/adapter/ember/adapter/requestQueue.js.map +1 -1
  15. package/dist/adapter/ember/adapter/tokensManager.d.ts +10 -9
  16. package/dist/adapter/ember/adapter/tokensManager.d.ts.map +1 -1
  17. package/dist/adapter/ember/adapter/tokensManager.js +34 -34
  18. package/dist/adapter/ember/adapter/tokensManager.js.map +1 -1
  19. package/dist/adapter/ember/consts.d.ts +1 -0
  20. package/dist/adapter/ember/consts.d.ts.map +1 -1
  21. package/dist/adapter/ember/consts.js +2 -0
  22. package/dist/adapter/ember/consts.js.map +1 -1
  23. package/dist/adapter/ember/enums.d.ts +128 -407
  24. package/dist/adapter/ember/enums.d.ts.map +1 -1
  25. package/dist/adapter/ember/enums.js +140 -436
  26. package/dist/adapter/ember/enums.js.map +1 -1
  27. package/dist/adapter/ember/ezsp/buffalo.d.ts +13 -2
  28. package/dist/adapter/ember/ezsp/buffalo.d.ts.map +1 -1
  29. package/dist/adapter/ember/ezsp/buffalo.js +137 -28
  30. package/dist/adapter/ember/ezsp/buffalo.js.map +1 -1
  31. package/dist/adapter/ember/ezsp/consts.d.ts +2 -1
  32. package/dist/adapter/ember/ezsp/consts.d.ts.map +1 -1
  33. package/dist/adapter/ember/ezsp/consts.js +4 -3
  34. package/dist/adapter/ember/ezsp/consts.js.map +1 -1
  35. package/dist/adapter/ember/ezsp/enums.d.ts +160 -49
  36. package/dist/adapter/ember/ezsp/enums.d.ts.map +1 -1
  37. package/dist/adapter/ember/ezsp/enums.js +177 -47
  38. package/dist/adapter/ember/ezsp/enums.js.map +1 -1
  39. package/dist/adapter/ember/ezsp/ezsp.d.ts +975 -716
  40. package/dist/adapter/ember/ezsp/ezsp.d.ts.map +1 -1
  41. package/dist/adapter/ember/ezsp/ezsp.js +2413 -1882
  42. package/dist/adapter/ember/ezsp/ezsp.js.map +1 -1
  43. package/dist/adapter/ember/ezspError.d.ts +6 -0
  44. package/dist/adapter/ember/ezspError.d.ts.map +1 -0
  45. package/dist/adapter/ember/ezspError.js +13 -0
  46. package/dist/adapter/ember/ezspError.js.map +1 -0
  47. package/dist/adapter/ember/types.d.ts +89 -42
  48. package/dist/adapter/ember/types.d.ts.map +1 -1
  49. package/dist/adapter/ember/uart/ash.d.ts +11 -7
  50. package/dist/adapter/ember/uart/ash.d.ts.map +1 -1
  51. package/dist/adapter/ember/uart/ash.js +15 -17
  52. package/dist/adapter/ember/uart/ash.js.map +1 -1
  53. package/dist/adapter/ember/utils/math.d.ts +0 -8
  54. package/dist/adapter/ember/utils/math.d.ts.map +1 -1
  55. package/dist/adapter/ember/utils/math.js +1 -20
  56. package/dist/adapter/ember/utils/math.js.map +1 -1
  57. package/package.json +1 -1
  58. package/dist/adapter/ember/zdo.d.ts +0 -925
  59. package/dist/adapter/ember/zdo.d.ts.map +0 -1
  60. package/dist/adapter/ember/zdo.js +0 -723
  61. package/dist/adapter/ember/zdo.js.map +0 -1
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.50.1"
2
+ ".": "0.51.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.51.0](https://github.com/Koenkk/zigbee-herdsman/compare/v0.50.1...v0.51.0) (2024-07-01)
4
+
5
+
6
+ ### Features
7
+
8
+ * Ember: Support for EmberZNet v8.0.0 ([#1094](https://github.com/Koenkk/zigbee-herdsman/issues/1094)) ([c87ccd4](https://github.com/Koenkk/zigbee-herdsman/commit/c87ccd48a66b85272a409be737b9161fef8225d8))
9
+
3
10
  ## [0.50.1](https://github.com/Koenkk/zigbee-herdsman/compare/v0.50.0...v0.50.1) (2024-06-30)
4
11
 
5
12
 
@@ -1,12 +1,14 @@
1
- import { Adapter, TsType } from "../..";
2
- import { Backup } from "../../../models";
3
- import * as Zcl from "../../../zspec/zcl";
4
- import { BroadcastAddress } from '../../../zspec/enums';
5
- import { ZclPayload } from "../../events";
6
- import { EmberNetworkStatus } from "../enums";
7
- import { EmberEUI64, EmberExtendedPanId, EmberKeyData, EmberNetworkParameters, EmberNodeId, EmberPanId } from "../types";
1
+ import { Adapter, TsType } from '../..';
2
+ import { Backup } from '../../../models';
3
+ import * as ZSpec from '../../../zspec';
4
+ import * as Zcl from '../../../zspec/zcl';
5
+ import * as ZdoTypes from '../../../zspec/zdo/definition/tstypes';
6
+ import { ZclPayload } from '../../events';
7
+ import { EmberNetworkStatus } from '../enums';
8
+ import { EmberKeyData, EmberNetworkParameters } from '../types';
9
+ import { EUI64, ExtendedPanId, NodeId, PanId } from '../../../zspec/tstypes';
8
10
  export type NetworkCache = {
9
- eui64: EmberEUI64;
11
+ eui64: EUI64;
10
12
  parameters: EmberNetworkParameters;
11
13
  status: EmberNetworkStatus;
12
14
  };
@@ -17,7 +19,7 @@ export type NetworkCache = {
17
19
  * This key may be hashed and not the actual link key currently in use.
18
20
  */
19
21
  type LinkKeyBackupData = {
20
- deviceEui64: EmberEUI64;
22
+ deviceEui64: EUI64;
21
23
  key: EmberKeyData;
22
24
  outgoingFrameCounter: number;
23
25
  incomingFrameCounter: number;
@@ -57,26 +59,6 @@ type StackConfig = {
57
59
  CONCENTRATOR_MAX_HOPS: number;
58
60
  /** <6-64> (Default: 6) @see EzspConfigId.MAX_END_DEVICE_CHILDREN */
59
61
  MAX_END_DEVICE_CHILDREN: number;
60
- /** <1-255> (Default: 10) @see EzspConfigId.APS_UNICAST_MESSAGE_COUNT */
61
- APS_UNICAST_MESSAGE_COUNT: number;
62
- /** <-> (Default: 16) @see EzspConfigId.RETRY_QUEUE_SIZE */
63
- RETRY_QUEUE_SIZE: number;
64
- /** <1-250> (Default: 2) @see EzspConfigId.ADDRESS_TABLE_SIZE */
65
- ADDRESS_TABLE_SIZE: number;
66
- /** <0-4> (Default: 2) @see EzspConfigId.TRUST_CENTER_ADDRESS_CACHE_SIZE */
67
- TRUST_CENTER_ADDRESS_CACHE_SIZE: number;
68
- /** <0-127> (Default: 0) @see EzspConfigId.KEY_TABLE_SIZE */
69
- KEY_TABLE_SIZE: number;
70
- /** <0-127> (Default: 2) @see EzspConfigId.BINDING_TABLE_SIZE */
71
- BINDING_TABLE_SIZE: number;
72
- /** <15-254> (Default: 15) @see EzspConfigId.BROADCAST_TABLE_SIZE */
73
- BROADCAST_TABLE_SIZE: number;
74
- /** <1-250> (Default: 8) @see EzspConfigId.MULTICAST_TABLE_SIZE */
75
- MULTICAST_TABLE_SIZE: number;
76
- /** [1, 16, 26] (Default: 16). @see EzspConfigId.NEIGHBOR_TABLE_SIZE */
77
- NEIGHBOR_TABLE_SIZE: number;
78
- /** <0-255> (Default: 0) @see EzspConfigId.SOURCE_ROUTE_TABLE_SIZE */
79
- SOURCE_ROUTE_TABLE_SIZE: number;
80
62
  /** <-> (Default: 10000) @see EzspValueId.TRANSIENT_DEVICE_TIMEOUT */
81
63
  TRANSIENT_DEVICE_TIMEOUT: number;
82
64
  /** <0-14> (Default: 8) @see EzspConfigId.END_DEVICE_POLL_TIMEOUT */
@@ -99,8 +81,6 @@ export declare class EmberAdapter extends Adapter {
99
81
  private readonly oneWaitress;
100
82
  /** Periodically retrieve counters then clear them. */
101
83
  private watchdogCountersHandle;
102
- /** Hold ZDO request in process. */
103
- private readonly zdoRequestBuffalo;
104
84
  /** Sequence number used for ZDO requests. static uint8_t */
105
85
  private zdoRequestSequence;
106
86
  /** Default radius used for broadcast ZDO requests. uint8_t */
@@ -133,20 +113,11 @@ export declare class EmberAdapter extends Adapter {
133
113
  /**
134
114
  * Emitted from @see Ezsp.ezspIncomingMessageHandler
135
115
  *
136
- * @param clusterId The ZDO response cluster ID.
116
+ * @param apsFrame The APS frame associated with the response.
137
117
  * @param sender The sender of the response. Should match `payload.nodeId` in many responses.
138
- * @param payload If null, the response indicated a failure.
118
+ * @param messageContents The content of the response.
139
119
  */
140
120
  private onZDOResponse;
141
- /**
142
- * Emitted from @see Ezsp.ezspIncomingMessageHandler
143
- *
144
- * @param sender
145
- * @param nodeId
146
- * @param eui64
147
- * @param macCapFlags
148
- */
149
- private onEndDeviceAnnounce;
150
121
  /**
151
122
  * Emitted from @see Ezsp.ezspIncomingMessageHandler
152
123
  *
@@ -197,20 +168,6 @@ export declare class EmberAdapter extends Adapter {
197
168
  * This is called by start and on internal reset.
198
169
  */
199
170
  private initEzsp;
200
- /**
201
- * NCP Config init. Should always be called first in the init stack (after version cmd).
202
- * @returns
203
- */
204
- private initNCPPreConfiguration;
205
- /**
206
- * NCP Address table init.
207
- * @returns
208
- */
209
- private initNCPAddressTable;
210
- /**
211
- * NCP configuration init
212
- */
213
- private initNCPConfiguration;
214
171
  /**
215
172
  * NCP concentrator init. Also enables source route discovery mode with RESCHEDULE.
216
173
  *
@@ -282,19 +239,19 @@ export declare class EmberAdapter extends Adapter {
282
239
  * This call caches the results on the host to prevent frequent EZSP transactions.
283
240
  * Check against BLANK_EUI64 for validity.
284
241
  */
285
- emberGetEui64(): Promise<EmberEUI64>;
242
+ emberGetEui64(): Promise<EUI64>;
286
243
  /**
287
244
  * Return the PAN ID of the local node.
288
245
  * This call caches the results on the host to prevent frequent EZSP transactions.
289
246
  * Check against INVALID_PAN_ID for validity.
290
247
  */
291
- emberGetPanId(): Promise<EmberPanId>;
248
+ emberGetPanId(): Promise<PanId>;
292
249
  /**
293
250
  * Return the Extended PAN ID of the local node.
294
251
  * This call caches the results on the host to prevent frequent EZSP transactions.
295
252
  * Check against BLANK_EXTENDED_PAN_ID for validity.
296
253
  */
297
- emberGetExtendedPanId(): Promise<EmberExtendedPanId>;
254
+ emberGetExtendedPanId(): Promise<ExtendedPanId>;
298
255
  /**
299
256
  * Return the radio channel (uint8_t) of the current network.
300
257
  * This call caches the results on the host to prevent frequent EZSP transactions.
@@ -355,7 +312,7 @@ export declare class EmberAdapter extends Adapter {
355
312
  * @param context EmberAesMmoHashContext* A pointer to the location of the hash context to update.
356
313
  * @param data const uint8_t* A pointer to the location of the data to hash.
357
314
  *
358
- * @returns An ::EmberStatus value indicating EMBER_SUCCESS if the hash was
315
+ * @returns An ::SLStatus value indicating EMBER_SUCCESS if the hash was
359
316
  * calculated successfully. EMBER_INVALID_CALL if the block size is not a
360
317
  * multiple of 16 bytes, and EMBER_INDEX_OUT_OF_RANGE is returned when the
361
318
  * data exceeds the maximum limits of the hash function.
@@ -373,7 +330,7 @@ export declare class EmberAdapter extends Adapter {
373
330
  * @param context EmberAesMmoHashContext * A pointer to the location of the hash context to finalize.
374
331
  * @param data uint8_t * A pointer to the location of data to hash. May be NULL.
375
332
  *
376
- * @returns An ::EmberStatus value indicating EMBER_SUCCESS if the hash was
333
+ * @returns An ::SLStatus value indicating EMBER_SUCCESS if the hash was
377
334
  * calculated successfully. EMBER_INVALID_CALL if the block size is not a
378
335
  * multiple of 16 bytes, and EMBER_INDEX_OUT_OF_RANGE is returned when the
379
336
  * data exceeds the maximum limits of the hash function.
@@ -386,7 +343,7 @@ export declare class EmberAdapter extends Adapter {
386
343
  *
387
344
  * @param data const uint8_t* The data to hash. Expected of valid length (as in, not larger alloc)
388
345
  *
389
- * @returns An ::EmberStatus value indicating EMBER_SUCCESS if the hash was
346
+ * @returns An ::SLStatus value indicating EMBER_SUCCESS if the hash was
390
347
  * calculated successfully. EMBER_INVALID_CALL if the block size is not a
391
348
  * multiple of 16 bytes, and EMBER_INDEX_OUT_OF_RANGE is returned when the
392
349
  * data exceeds the maximum limits of the hash function.
@@ -413,35 +370,6 @@ export declare class EmberAdapter extends Adapter {
413
370
  * @returns
414
371
  */
415
372
  private emberSetJoinPolicy;
416
- /**
417
- * Get Source Route Overhead
418
- *
419
- * Returns the number of bytes needed in a packet for source routing.
420
- * Since each hop consumes 2 bytes in the packet, this routine calculates the
421
- * total number of bytes needed based on number of hops to reach the destination.
422
- *
423
- * This function is called by the framework to determine the overhead required
424
- * in the network frame for source routing to a particular destination.
425
- *
426
- * @param destination The node id of the destination Ver.: always
427
- * @returns int8u The number of bytes needed for source routing in a packet.
428
- */
429
- emberGetSourceRouteOverhead(destination: EmberNodeId): Promise<number>;
430
- /**
431
- * Return the maximum size of the payload that the Application Support sub-layer will accept for
432
- * the given message type, destination, and APS frame.
433
- *
434
- * The size depends on multiple factors, including the security level in use and additional information
435
- * added to the message to support the various options.
436
- *
437
- * @param type The outgoing message type.
438
- * @param indexOrDestination uint16_t Depending on the message type, this is either the
439
- * EmberNodeId of the destination, an index into the address table, an index
440
- * into the binding table, the multicast identifier, or a broadcast address.
441
- * @param apsFrame EmberApsFrame *The APS frame for the message.
442
- * @return uint8_t The maximum APS payload length for the given message.
443
- */
444
- private maximumApsPayloadLength;
445
373
  /**
446
374
  * ZDO
447
375
  * Change the default radius for broadcast ZDO requests
@@ -472,360 +400,13 @@ export declare class EmberAdapter extends Adapter {
472
400
  *
473
401
  * @param destination
474
402
  * @param clusterId uint16_t
403
+ * @param messageContents Content of the ZDO request (sequence to be assigned at index zero)
475
404
  * @param options
476
- * @param length uint8_t
477
405
  * @returns status Indicates success or failure (with reason) of send
478
406
  * @returns apsFrame The APS Frame resulting of the request being built and sent (`sequence` set from stack-given value).
479
407
  * @returns messageTag The tag passed to ezspSend${x} function.
480
408
  */
481
- private sendZDORequestBuffer;
482
- /**
483
- * ZDO
484
- * Service Discovery Functions
485
- * Request the specified node to send a list of its endpoints that
486
- * match the specified application profile and, optionally, lists of input
487
- * and/or output clusters.
488
- * @param target The node whose matching endpoints are desired. The request can
489
- * be sent unicast or broadcast ONLY to the "RX-on-when-idle-address" (0xFFFD)
490
- * If sent as a broadcast, any node that has matching endpoints will send a
491
- * response.
492
- * @param profile uint16_t The application profile to match.
493
- * @param inCount uint8_t The number of input clusters. To not match any input
494
- * clusters, set this value to 0.
495
- * @param outCount uint8_t The number of output clusters. To not match any output
496
- * clusters, set this value to 0.
497
- * @param inClusters uint16_t * The list of input clusters.
498
- * @param outClusters uint16_t * The list of output clusters.
499
- * @param options The options to use when sending the unicast request. See
500
- * emberSendUnicast() for a description. This parameter is ignored if the target
501
- * is a broadcast address.
502
- * @returns An EmberStatus value. EMBER_SUCCESS, MESSAGE_TOO_LONG,
503
- * EMBER_NETWORK_DOWN or EMBER_NETWORK_BUSY.
504
- */
505
- private emberMatchDescriptorsRequest;
506
- /**
507
- * ZDO
508
- * Device Discovery Functions
509
- * Request the 16 bit network address of a node whose EUI64 is known.
510
- *
511
- * @param target The EUI64 of the node.
512
- * @param reportKids true to request that the target list their children
513
- * in the response.
514
- * @param childStartIndex uint8_t The index of the first child to list in the response.
515
- * Ignored if @c reportKids is false.
516
- *
517
- * @return An ::EmberStatus value.
518
- * - ::EMBER_SUCCESS - The request was transmitted successfully.
519
- * - ::EMBER_NO_BUFFERS - Insufficient message buffers were available to construct the request.
520
- * - ::EMBER_NETWORK_DOWN - The node is not part of a network.
521
- * - ::EMBER_NETWORK_BUSY - Transmission of the request failed.
522
- */
523
- private emberNetworkAddressRequest;
524
- /**
525
- * ZDO
526
- * Device Discovery Functions
527
- * @brief Request the EUI64 of a node whose 16 bit network address is known.
528
- *
529
- * @param target uint16_t The network address of the node.
530
- * @param reportKids uint8_t true to request that the target list their children
531
- * in the response.
532
- * @param childStartIndex uint8_t The index of the first child to list in the response.
533
- * Ignored if reportKids is false.
534
- * @param options The options to use when sending the request. See ::emberSendUnicast() for a description.
535
- *
536
- * @return An ::EmberStatus value.
537
- * - ::EMBER_SUCCESS
538
- * - ::EMBER_NO_BUFFERS
539
- * - ::EMBER_NETWORK_DOWN
540
- * - ::EMBER_NETWORK_BUSY
541
- */
542
- private emberIeeeAddressRequest;
543
- /**
544
- * ZDO
545
- * @param discoveryNodeId uint16_t
546
- * @param reportKids uint8_t
547
- * @param childStartIndex uint8_t
548
- * @param options
549
- * @param targetNodeIdOfRequest
550
- */
551
- private emberIeeeAddressRequestToTarget;
552
- /**
553
- * ZDO
554
- *
555
- * @param target uint16_t
556
- * @param clusterId uint16_t
557
- * @param options
558
- * @returns
559
- */
560
- private emberSendZigDevRequestTarget;
561
- /**
562
- * ZDO
563
- * @brief Request the specified node to send the simple descriptor for
564
- * the specified endpoint.
565
- * The simple descriptor contains information specific
566
- * to a single endpoint. It describes the application profile identifier,
567
- * application device identifier, application device version, application flags,
568
- * application input clusters and application output clusters. It is defined in
569
- * the ZigBee Application Framework Specification.
570
- *
571
- * @param target uint16_t The node of interest.
572
- * @param targetEndpoint uint8_t The endpoint on the target node whose simple
573
- * descriptor is desired.
574
- * @param options The options to use when sending the request. See
575
- * emberSendUnicast() for a description.
576
- *
577
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
578
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
579
- */
580
- private emberSimpleDescriptorRequest;
581
- /**
582
- * ZDO
583
- * Common logic used by `emberBindRequest` & `emberUnbindRequest`.
584
- *
585
- * @param target
586
- * @param bindClusterId
587
- * @param source
588
- * @param sourceEndpoint
589
- * @param clusterId
590
- * @param type
591
- * @param destination
592
- * @param groupAddress
593
- * @param destinationEndpoint
594
- * @param options
595
- *
596
- * @returns An ::EmberStatus value.
597
- * - ::EMBER_SUCCESS
598
- * - ::EMBER_NO_BUFFERS
599
- * - ::EMBER_NETWORK_DOWN
600
- * - ::EMBER_NETWORK_BUSY
601
- * @returns APS frame created for the request
602
- * @returns The tag used on the message.
603
- */
604
- private emberSendZigDevBindRequest;
605
- /**
606
- * ZDO
607
- * Send a request to create a binding entry with the specified
608
- * contents on the specified node.
609
- *
610
- * @param target The node on which the binding will be created.
611
- * @param source The source EUI64 in the binding entry.
612
- * @param sourceEndpoint The source endpoint in the binding entry.
613
- * @param clusterId The cluster ID in the binding entry.
614
- * @param type The type of binding, either ::UNICAST_BINDING,
615
- * ::MULTICAST_BINDING, or ::UNICAST_MANY_TO_ONE_BINDING.
616
- * ::UNICAST_MANY_TO_ONE_BINDING is an Ember-specific extension
617
- * and should be used only when the target is an Ember device.
618
- * @param destination The destination EUI64 in the binding entry for
619
- * ::UNICAST_BINDING or ::UNICAST_MANY_TO_ONE_BINDING.
620
- * @param groupAddress The group address for the ::MULTICAST_BINDING.
621
- * @param destinationEndpoint The destination endpoint in the binding entry for
622
- * the ::UNICAST_BINDING or ::UNICAST_MANY_TO_ONE_BINDING.
623
- * @param options The options to use when sending the request. See
624
- * emberSendUnicast() for a description.
625
- *
626
- * @returns An ::EmberStatus value.
627
- * - ::EMBER_SUCCESS
628
- * - ::EMBER_NO_BUFFERS
629
- * - ::EMBER_NETWORK_DOWN
630
- * - ::EMBER_NETWORK_BUSY
631
- * @returns APS frame created for the request
632
- * @returns The tag used on the message.
633
- */
634
- private emberBindRequest;
635
- /**
636
- * ZDO
637
- * Send a request to remove a binding entry with the specified
638
- * contents from the specified node.
639
- *
640
- * @param target The node on which the binding will be removed.
641
- * @param source The source EUI64 in the binding entry.
642
- * @param sourceEndpoint uint8_t The source endpoint in the binding entry.
643
- * @param clusterId uint16_t The cluster ID in the binding entry.
644
- * @param type uint8_t The type of binding, either ::UNICAST_BINDING,
645
- * ::MULTICAST_BINDING, or ::UNICAST_MANY_TO_ONE_BINDING.
646
- * ::UNICAST_MANY_TO_ONE_BINDING is an Ember-specific extension
647
- * and should be used only when the target is an Ember device.
648
- * @param destination The destination EUI64 in the binding entry for the
649
- * ::UNICAST_BINDING or ::UNICAST_MANY_TO_ONE_BINDING.
650
- * @param groupAddress The group address for the ::MULTICAST_BINDING.
651
- * @param destinationEndpoint uint8_t The destination endpoint in the binding entry for
652
- * the ::UNICAST_BINDING or ::UNICAST_MANY_TO_ONE_BINDING.
653
- * @param options The options to use when sending the request. See
654
- * emberSendUnicast() for a description.
655
- *
656
- * @returns An ::EmberStatus value.
657
- * - ::EMBER_SUCCESS
658
- * - ::EMBER_NO_BUFFERS
659
- * - ::EMBER_NETWORK_DOWN
660
- * - ::EMBER_NETWORK_BUSY
661
- * @returns APS frame created for the request
662
- * @returns The tag used on the message.
663
- */
664
- private emberUnbindRequest;
665
- /**
666
- * ZDO
667
- * Request the specified node to send a list of its active
668
- * endpoints. An active endpoint is one for which a simple descriptor is
669
- * available.
670
- *
671
- * @param target The node whose active endpoints are desired.
672
- * @param options The options to use when sending the request. See
673
- * emberSendUnicast() for a description.
674
- *
675
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
676
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
677
- */
678
- private emberActiveEndpointsRequest;
679
- /**
680
- * ZDO
681
- * Request the specified node to send its power descriptor.
682
- * The power descriptor gives a dynamic indication of the power
683
- * status of the node. It describes current power mode,
684
- * available power sources, current power source and
685
- * current power source level. It is defined in the ZigBee
686
- * Application Framework Specification.
687
- *
688
- * @param target The node whose power descriptor is desired.
689
- * @param options The options to use when sending the request. See
690
- * emberSendUnicast() for a description.
691
- *
692
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
693
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
694
- */
695
- private emberPowerDescriptorRequest;
696
- /**
697
- * ZDO
698
- * Request the specified node to send its node descriptor.
699
- * The node descriptor contains information about the capabilities of the ZigBee
700
- * node. It describes logical type, APS flags, frequency band, MAC capabilities
701
- * flags, manufacturer code and maximum buffer size. It is defined in the ZigBee
702
- * Application Framework Specification.
703
- *
704
- * @param target The node whose node descriptor is desired.
705
- * @param options The options to use when sending the request. See
706
- * emberSendUnicast() for a description.
707
- *
708
- * @return An ::EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
709
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
710
- */
711
- private emberNodeDescriptorRequest;
712
- /**
713
- * ZDO
714
- * Request the specified node to send its LQI (neighbor) table.
715
- * The response gives PAN ID, EUI64, node ID and cost for each neighbor. The
716
- * EUI64 is only available if security is enabled. The other fields in the
717
- * response are set to zero. The response format is defined in the ZigBee Device
718
- * Profile Specification.
719
- *
720
- * @param target The node whose LQI table is desired.
721
- * @param startIndex uint8_t The index of the first neighbor to include in the
722
- * response.
723
- * @param options The options to use when sending the request. See
724
- * emberSendUnicast() for a description.
725
- *
726
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
727
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
728
- */
729
- private emberLqiTableRequest;
730
- /**
731
- * ZDO
732
- * Request the specified node to send its routing table.
733
- * The response gives destination node ID, status and many-to-one flags,
734
- * and the next hop node ID.
735
- * The response format is defined in the ZigBee Device
736
- * Profile Specification.
737
- *
738
- * @param target The node whose routing table is desired.
739
- * @param startIndex uint8_t The index of the first route entry to include in the
740
- * response.
741
- * @param options The options to use when sending the request. See
742
- * emberSendUnicast() for a description.
743
- *
744
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
745
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
746
- */
747
- private emberRoutingTableRequest;
748
- /**
749
- * ZDO
750
- * Request the specified node to send its nonvolatile bindings.
751
- * The response gives source address, source endpoint, cluster ID, destination
752
- * address and destination endpoint for each binding entry. The response format
753
- * is defined in the ZigBee Device Profile Specification.
754
- * Note that bindings that have the Ember-specific ::UNICAST_MANY_TO_ONE_BINDING
755
- * type are reported as having the standard ::UNICAST_BINDING type.
756
- *
757
- * @param target The node whose binding table is desired.
758
- * @param startIndex uint8_t The index of the first binding entry to include in the
759
- * response.
760
- * @param options The options to use when sending the request. See
761
- * emberSendUnicast() for a description.
762
- *
763
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
764
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
765
- */
766
- private emberBindingTableRequest;
767
- /**
768
- * ZDO
769
- *
770
- * @param clusterId uint16_t
771
- * @param target
772
- * @param startIndex uint8_t
773
- * @param options
774
- * @returns
775
- */
776
- private emberTableRequest;
777
- /**
778
- * ZDO
779
- * Request the specified node to remove the specified device from
780
- * the network. The device to be removed must be the node to which the request
781
- * is sent or one of its children.
782
- *
783
- * @param target The node which will remove the device.
784
- * @param deviceAddress All zeros if the target is to remove itself from
785
- * the network or the EUI64 of a child of the target device to remove
786
- * that child.
787
- * @param leaveRequestFlags uint8_t A bitmask of leave options.
788
- * Include ::AND_REJOIN if the target is to rejoin the network immediately after leaving.
789
- * @param options The options to use when sending the request. See
790
- * emberSendUnicast() for a description.
791
- *
792
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
793
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
794
- */
795
- private emberLeaveRequest;
796
- /**
797
- * ZDO
798
- * Request the specified node to allow or disallow association.
799
- *
800
- * @param target The node which will allow or disallow association. The request
801
- * can be broadcast by using a broadcast address (0xFFFC/0xFFFD/0xFFFF). No
802
- * response is sent if the request is broadcast.
803
- * @param duration uint8_t A value of 0x00 disables joining. A value of 0xFF enables
804
- * joining. Any other value enables joining for that number of seconds.
805
- * @param authentication uint8_t Controls Trust Center authentication behavior.
806
- * @param options The options to use when sending the request. See
807
- * emberSendUnicast() for a description. This parameter is ignored if the target
808
- * is a broadcast address.
809
- *
810
- * @return An EmberStatus value. ::EMBER_SUCCESS, ::EMBER_NO_BUFFERS,
811
- * ::EMBER_NETWORK_DOWN or ::EMBER_NETWORK_BUSY.
812
- */
813
- private emberPermitJoiningRequest;
814
- /**
815
- * ZDO
816
- *
817
- * @see NWK_UPDATE_REQUEST
818
- *
819
- * @param target
820
- * @param scanChannels uint8_t[]
821
- * @param duration uint8_t
822
- * @param count uint8_t
823
- * @param manager
824
- */
825
- private emberNetworkUpdateRequest;
826
- private emberScanChannelsRequest;
827
- private emberChannelChangeRequest;
828
- private emberSetActiveChannelsAndNwkManagerIdRequest;
409
+ private sendZDORequest;
829
410
  static isValidPath(path: string): Promise<boolean>;
830
411
  static autoDetectPath(): Promise<string>;
831
412
  start(): Promise<TsType.StartResult>;
@@ -838,6 +419,7 @@ export declare class EmberAdapter extends Adapter {
838
419
  getNetworkParameters(): Promise<TsType.NetworkParameters>;
839
420
  supportsChangeChannel(): Promise<boolean>;
840
421
  changeChannel(newChannel: number): Promise<void>;
422
+ scanChannels(networkAddress: NodeId, channels: number[], duration: number, count: number): Promise<ZdoTypes.NwkUpdateResponse>;
841
423
  setTransmitPower(value: number): Promise<void>;
842
424
  addInstallCode(ieeeAddress: string, key: Buffer): Promise<void>;
843
425
  /** WARNING: Adapter impl. Starts timer immediately upon returning */
@@ -856,7 +438,7 @@ export declare class EmberAdapter extends Adapter {
856
438
  removeDevice(networkAddress: number, ieeeAddr: string): Promise<void>;
857
439
  sendZclFrameToEndpoint(ieeeAddr: string, networkAddress: number, endpoint: number, zclFrame: Zcl.Frame, timeout: number, disableResponse: boolean, disableRecovery: boolean, sourceEndpoint?: number): Promise<ZclPayload>;
858
440
  sendZclFrameToGroup(groupID: number, zclFrame: Zcl.Frame, sourceEndpoint?: number): Promise<void>;
859
- sendZclFrameToAll(endpoint: number, zclFrame: Zcl.Frame, sourceEndpoint: number, destination: BroadcastAddress): Promise<void>;
441
+ sendZclFrameToAll(endpoint: number, zclFrame: Zcl.Frame, sourceEndpoint: number, destination: ZSpec.BroadcastAddress): Promise<void>;
860
442
  setChannelInterPAN(channel: number): Promise<void>;
861
443
  sendZclFrameInterPANToIeeeAddr(zclFrame: Zcl.Frame, ieeeAddress: string): Promise<void>;
862
444
  sendZclFrameInterPANBroadcast(zclFrame: Zcl.Frame, timeout: number): Promise<ZclPayload>;
@@ -1 +1 @@
1
- {"version":3,"file":"emberAdapter.d.ts","sourceRoot":"","sources":["../../../../src/adapter/ember/adapter/emberAdapter.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,OAAO,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AACtC,OAAO,EAAC,MAAM,EAAuB,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAKH,UAAU,EACb,MAAM,cAAc,CAAC;AAkBtB,OAAO,EASH,kBAAkB,EAerB,MAAM,UAAU,CAAC;AAClB,OAAO,EAGH,UAAU,EACV,kBAAkB,EAElB,YAAY,EAIZ,sBAAsB,EACtB,WAAW,EACX,UAAU,EAKb,MAAM,UAAU,CAAC;AA0ElB,MAAM,MAAM,YAAY,GAAG;IAEvB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,sBAAsB,CAAC;IACnC,MAAM,EAAE,kBAAkB,CAAC;CAE9B,CAAC;AAGF;;;;;GAKG;AACH,KAAK,iBAAiB,GAAG;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,GAAG,EAAE,YAAY,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;CAChC,CAAC;AAsDF,KAAK,WAAW,GAAG;IACf,qBAAqB,EAAE,MAAM,GAAG,KAAK,CAAC;IACtC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9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