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

68
CATC Scripting Language for Bluetooth Analyzers
CATC
Manual Ver. 1.21
ShowExtCtrl()
{
AddCell("ExtType","Control", "0x00 - Extension Control", Bnep_color);
if ( IsNotEnoughBnepData(1, 2) ) return 0;
ext_length = GetNBits(in.Data, DecodedBytes * 8, 8);
DecodedBytes = DecodedBytes + 1;
AddCell("ExtLength",Format ("%d", ext_length),"Extension Length", Bnep_color);
if ( IsNotEnoughBnepData(ext_length, 2) ) return 0;
control_type = NextNBits(8);
control_row = Find(BNEP_control_table, control_type);
AddCell("Control", control_row[1], Format("0x%02X - ", control_type) + control_row[2],
Bnep_color);
DecodedBytes = DecodedBytes + 1;
Call (control_row[3]);
}
ShowExtUnknown(byte)
{
AddCell("ExtType","Unknown", Format("0x%X - Reserved Extension Type value", byte),
Bnep_color);
}
const BNEP_SDP_UUID_table = [