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

57
CATC Scripting Language for Bluetooth Analyzers
CATC
Manual Ver. 1.21
Bnep_Error = 0;
byte = GetNBits(in.Data, 0, 8);
E = (byte >> 7) & 1;
AddCell("E",Format ("%d", E),"Extension flag", Bnep_color);
DecodedBytes = 1;
Type = byte & 0x7f;
select
{
Type == 0: ShowGeneralEthernet();
Type == 1: ShowControl();
Type == 2: ShowCompressedEthernet();
Type == 3: ShowCompressedSourceEthernet();
Type == 4: ShowCompressedDestEthernet();
default: ShowUnknownBnep();
};
while (E && ! Bnep_Error)
{
AddSeparator();
ShowExtension();
};
out.DataLength = in.DataLength - DecodedBytes;
GetNBits(in.Data, DecodedBytes * 8, 0);
CopyToOutData( out.DataLength );
}
BuildCellList()
{
AddSeparator();