mirror of
https://github.com/jwetzell/acn-js.git
synced 2026-09-09 23:39:26 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
export type Protocols = {
|
||||
SDT: 1;
|
||||
};
|
||||
|
||||
export type UDPPreamble = {
|
||||
preambleSize: number;
|
||||
postambleSize: number;
|
||||
packetIdentifier: string;
|
||||
};
|
||||
|
||||
export type ACNPacket<PreambleType, PDUBlockType, PostambleType> = {
|
||||
preamble: PreambleType;
|
||||
pduBlock: PDUBlockType;
|
||||
postamble: PostambleType;
|
||||
};
|
||||
|
||||
export type RootLayerPDU = {
|
||||
vector: number;
|
||||
header: Uint8Array;
|
||||
data: Uint8Array;
|
||||
};
|
||||
Reference in New Issue
Block a user