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

70
CATC Scripting Language for Bluetooth Analyzers
CATC
Manual Ver. 1.21
select {
protocol_row[1] == "" : Format ("0x%04X", protocol);
protocol_row[1] == null: Format ("0x%04X", protocol);
default : protocol_row[1];
}
,"Networking Protocol Type\n" + Format ("0x%04X - ", protocol) + protocol_row[2],
Bnep_color);
out.EtherProtocol = protocol;
}
#--------------- Functions for Error handling-------------------
IsNotEnoughBnepData(need, error_type)
{
if ((in.DataLength - DecodedBytes) < need )
{
ShowBnepError(error_type);
return 1;
}
return 0;
}
const Bnep_Error_Table =
[
[0 , "No error" , "No Error" ],
[1 , "No data" , "not enough data for this type of transaction" ],
[2 , "No data" , "Not enough data for extension option"]
];