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

Page 66

Advertising
background image

60

CATC Scripting Language for Bluetooth Analyzers

CATC

Manual Ver. 1.21

DecodedBytes = DecodedBytes + 1;

}

ShowCtrlSetupReq()

{

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

uuid_len = NextNBits(8);

AddCell("UUID", Format("%d bytes", uuid_len), "length of the SDP service UUIDs",
Bnep_color);

DecodedBytes = DecodedBytes + 1;

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

i = uuid_len;

while ( i > 0)

{

str = str + Format( "%02X", NextNBits(8) );

i = i - 1;

}

ShowDestUUID(str);

DecodedBytes = DecodedBytes + uuid_len;

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

i = uuid_len;

str = "";

while ( i > 0)

{

str = str + Format( "%02X", NextNBits(8) );

i = i - 1;

}

ShowSourceUUID(str);

DecodedBytes = DecodedBytes + uuid_len;

}

Advertising