Appendix b: sample bnep script, B: s, Bnep s – Teledyne LeCroy Merlins Wand - CSL manual (CATC Scripting Language Manual) User Manual

Page 61: Ppendix, Ample, Cript

Advertising
background image

55

CATC Scripting Language for Bluetooth Analyzers

CATC

Manual Ver. 1.21

A

PPENDIX

B: S

AMPLE

BNEP

S

CRIPT

Sample Script

#

# Copyright (c) 2001, Computer Access Technology Corp. - All Rights Reserved

#

# BNEP.dec

#

# BNEP Transaction Decoder

#

%include "BTDecoderTools.inc" #include usefull decoder functions

%include "ethernet.inc" #ethernet related tables

const Bnep_color = 0x551234;

set ModuleType = "Transaction Decoder";

set OutputType = "BNEP";

set InputType = "L2CAP";

set LevelName = "BNEP";

set LevelColor = Bnep_color;

set Icon = "bnep.bmp"; #it's possible to specify toolbar icon

set DecoderDesc = "View Bluetooth Network Encapsulation Protocol Layer";

#---- L2CAP Input Data

# in.Data - Data_block to decode

# in.DataLength - Length of Data_block

# in.Slave - Slave or Master

# in.AmAddr - AmAddr

# in.Cid - cid

#

#---- Output

#

Advertising