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

66
CATC Scripting Language for Bluetooth Analyzers
CATC
Manual Ver. 1.21
{
data1 = GetNBits(in.Data, 8, 4 * 8);
data2 = NextNBits(2 * 8);
AddCell("Source",Format("0x%08X", data1) + Format("%04X", data2),"Source Ad-
dress",Bnep_color );
protocol = NextNBits(2 * 8);
ShowEtherProtocol(protocol);
DecodedBytes = 9;
}
}
########### 0x04 - Compressed Ethernet Destination Only BNEP type
#########################
ShowCompressedDestEthernet()
{
AddCell("Type","ComprDest", "0x04 - Compressed Ethernet Destination Only BNEP type",
Bnep_color);
if (in.DataLength < 9 )
{
ShowBnepError(1);
}
else
{
data1 = GetNBits(in.Data, 8, 4 * 8);
data2 = NextNBits(2 * 8);
AddCell("Destination",Format("0x%08X", data1) + Format("%04X", data2),"Destination Ad-
dress",Bnep_color );
protocol = NextNBits(2 * 8);
ShowEtherProtocol(protocol);
DecodedBytes = 9;