-
-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: zniffer exports, add to
/safe
entrypoint (#6830)
- Loading branch information
Showing
7 changed files
with
48 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export { BeamingInfo, MPDUHeaderType } from "@zwave-js/core/safe"; | ||
export type { ZnifferOptions } from "./lib/zniffer/Zniffer"; | ||
export { | ||
ExplorerFrameCommand, | ||
LongRangeFrameType, | ||
ZWaveFrameType, | ||
} from "./lib/zniffer/_Types"; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export enum ExplorerFrameCommand { | ||
Normal = 0x00, | ||
InclusionRequest = 0x01, | ||
SearchResult = 0x02, | ||
} | ||
|
||
export enum ZWaveFrameType { | ||
Singlecast, | ||
Multicast, | ||
AckDirect, | ||
ExplorerNormal, | ||
ExplorerSearchResult, | ||
ExplorerInclusionRequest, | ||
BeamStart, | ||
BeamStop, | ||
} | ||
|
||
/** An application-oriented representation of a Z-Wave frame that was captured by the Zniffer */ | ||
|
||
export enum LongRangeFrameType { | ||
Singlecast, | ||
Ack, | ||
BeamStart, | ||
BeamStop, | ||
} |