feat: release OpsXShell 2.1.0 native Tauri edition
This commit is contained in:
1 parent
e9a0d21758
commit
a3dba0c6ed
311 files changed
+31748
-14897
No files matched your search
@@ -0,0 +1,26 @@
|
||||
export type SerialParity = 'none' | 'odd' | 'even'
|
||||
export type SerialFlowControl = 'none' | 'software' | 'hardware'
|
||||
|
||||
export interface SerialConfig {
|
||||
path: string
|
||||
baudRate: number
|
||||
dataBits: 5 | 6 | 7 | 8
|
||||
stopBits: 1 | 2
|
||||
parity: SerialParity
|
||||
flowControl: SerialFlowControl
|
||||
}
|
||||
|
||||
export interface SerialPortSummary {
|
||||
path: string
|
||||
portType: string
|
||||
}
|
||||
|
||||
export interface SerialDataEvent {
|
||||
sessionId: string
|
||||
data: number[]
|
||||
}
|
||||
|
||||
export interface SerialErrorEvent {
|
||||
sessionId: string
|
||||
message: string
|
||||
}
|
||||
Reference in new issue
Block a user