mirror of
https://github.com/jwetzell/acn-js.git
synced 2026-09-05 05:28:59 +00:00
add support for decoding join refuse data
This commit is contained in:
@@ -80,8 +80,16 @@ export type SDTJoinAcceptData = {
|
||||
reciprocalChannel: number;
|
||||
};
|
||||
|
||||
export type SDTJoinRefuseData = {
|
||||
leaderComponentID: string;
|
||||
channelNumber: number;
|
||||
memberID: number;
|
||||
reliableSequenceNumber: number;
|
||||
refuseCode: number;
|
||||
};
|
||||
|
||||
export type SessionDataTransportPDU = {
|
||||
vector: SessionDataTransportVectors;
|
||||
// TODO(jwetzell): cleanup these types
|
||||
data: SDTJoinData | SDTJoinAcceptData | Uint8Array;
|
||||
data: SDTJoinData | SDTJoinAcceptData | SDTJoinRefuseData| Uint8Array;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user