Teledyne LeCroy Merlins Wand - CSL manual (CATC Scripting Language Manual) User Manual

Page 71

Advertising
background image

65

CATC Scripting Language for Bluetooth Analyzers

CATC

Manual Ver. 1.21

########### 0x02 - Compressed Ethernet BNEP type #########################

ShowCompressedEthernet()

{

AddCell("Type","ComprEthernet", "0x02 - Compressed Ethernet BNEP type", Bnep_color);

if (in.DataLength < 3 )

{

ShowBnepError(1);

}

else

{

protocol = GetNBits(in.Data, 8, 2 * 8);

ShowEtherProtocol(protocol);

DecodedBytes = 3;

}

}

########### 0x03 - Compressed Ethernet Source Only BNEP type #########################

ShowCompressedSourceEthernet()

{

AddCell("Type","ComprSource", "0x03 - Compressed Ethernet Source Only BNEP type",
Bnep_color);

if (in.DataLength < 9 )

{

ShowBnepError(1);

}

else

Advertising