Constructors
constructor
new Frame( type: Type, subsystem: Subsystem, commandID: number, data: Buffer, length?: number, fcs?: number,): Frame Parameters
- type: Type
- subsystem: Subsystem
- commandID: number
- data: Buffer
Optional
length: numberOptional
fcs: number
Properties
Readonly
commandID
commandID: number
Optional
Readonly
fcs
fcs?: number
Optional
Readonly
length
length?: number
Methods
Static
fromBuffer
fromBuffer(length: number, fcsPosition: number, buffer: Buffer): Frame Parameters
- length: number
- fcsPosition: number
- buffer: Buffer