Class VBANSerialPacket

Hierarchy (view full)

Constructors

Properties

This field is used to give possible information on COM port and serial transmission mode related to a Hardware COM port. This is made to possibly emulate COM to COM port connections and let the receiver configure the physical COM port in the right mode.

bps: number

SR / bps : Bit rate is given in bps for information only. But it can be useful if serial data come from or go to a particular COM port. Set to ZERO if there is no particular bit rate.

channelsIdents: number

Can be used to define a sub channel (sub serial link) and then manage up to 256 different serial virtual pipes (ZERO by default).

data: Buffer

Data type used to store data in the packet (ZERO per default). The index is stored on 3 first bits. Bit 3 must be ZERO. Bits 4 to 7 gives additional mode

frameCounter: number

frameCounter allow checking if you receive frame in order, and without losing them

sr: number = 0

not used . Replaced by VBANSerialPacket.bps

streamName: string

the name of the current stream . Voicemeeter rely on it to allow a packet or not

streamType: ESerialStreamType

type of stream . MIDI or SERIAL ... But in practice, only serial is used (MIDI is serial)

subProtocol: ESubProtocol = VBANSerialPacket.subProtocol

the subProtocol of this packet ESubProtocol

frameCounters: Map<string, number> = ...
subProtocol: ESubProtocol = ESubProtocol.SERIAL

Methods