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

Page 64

Advertising
background image

58

CATC Scripting Language for Bluetooth Analyzers

CATC

Manual Ver. 1.21

GetNBits(out.Data, 0, 0);

ShowDataBlock(out.DataLength);

}

########### 0x00- General Ethernet BNEP type #########################

ShowGeneralEthernet()

{

AddCell("Type","GenEthrnet", "0x00- General Ethernet BNEP type", Bnep_color);

if ( IsNotEnoughBnepData(14, 1) ) return 0;

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 );

data1 = NextNBits(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 = 15;

}

########### 0x01- Control BNEP type #########################

const BNEP_control_table = [

[ 0x07 , "Reserved" , "Reservedfor future use" , "" ],

Advertising