-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add
zclCommandBroadcast
to endpoint (#1028)
* feat: Add optional `inclSleepyZED` parameter * feat: Add `inclSleepyZED` to z-stack * feat: Add `inclSleepyZED` to ezsp * feat: Add `inclSleepyZED` to zigate * feat: Add `inclSleepyZED` to ember * feat: Add `inclSleepyZED` to deconz * fix: Add test for z-stack * fix: Additional test for z-stack * Support custom clusters (#1019) * Support custom clusters * WIP * updates * updates * updates * update * updates * Process feedback * fix lint * fix: Add `destinationBroadcastAddress` * Update zStackAdapter.ts * Update emberAdapter.ts * Update ezspAdapter.ts * Update zigateAdapter.ts * Update deconzAdapter.ts * Update adapter.ts * Add broadcast ability from device. Add `zspec` folder. * Rename `triggerBroadcast` to `broadcastCommand` * Get `manufacturerCode` from provided `clusterKey` * Get cluster from `clusterKey` * Test for specific`manufacturerCode` * Refactor `broadcastCommand` based on `zclCommand` * Add missing `Options` interface * Updates * Feedback update. --------- Co-authored-by: Koen Kanters <koenkanters94@gmail.com> Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com>
- Loading branch information
1 parent
86c080e
commit ccfd299
Showing
15 changed files
with
188 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* ZigBee Broadcast Addresses | ||
* | ||
* ZigBee specifies three different broadcast addresses that reach different collections of nodes. | ||
* Broadcasts are normally sent only to routers. | ||
* Broadcasts can also be forwarded to end devices, either all of them or only those that do not sleep. | ||
* Broadcasting to end devices is both significantly more resource-intensive and significantly less reliable than broadcasting to routers. | ||
*/ | ||
export enum BroadcastAddress { | ||
/** Broadcast to all routers. */ | ||
DEFAULT = 0xFFFC, | ||
/** Broadcast to all non-sleepy devices. */ | ||
RX_ON_WHEN_IDLE = 0xFFFD, | ||
/** Broadcast to all devices, including sleepy end devices. */ | ||
SLEEPY = 0xFFFF, | ||
}; |
Empty file.
Empty file.
Oops, something went wrong.