beautypg.com

Bnepsendcontrolpkt(), Bnepsendpkt(), Bnepsendcontrolpkt() bnepsendpkt() – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 266

background image

248

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Example

Result = BNEPRegister();

Trace(Result);

BNEPSendControlPkt()

BNEPSendControlPkt(BNEP_ADDR,packet type)

Return value

"Success"

"Failure"

"Invalid Parameter"

"Timed out"

"Failed: Not found"

"No BNEP connection"

"Not connected"

Comments

Send a predefined BNEP control packet to the remote device.

Example

BNEP_ADDR = '010203040506';

packet_type = "filter net type set msg";

Result = BNEPSendControlPkt(BNEP_ADDR,packet type);

BNEPSendPkt()

BNEPSendPkt(BNEP_ADDR,packet_type)

Parameter

Meaning

Default Value

Comments

BNEP_Address

Packet_Type

Possible types

are:

"filter net type

set msg"

"filter multi addr

set msg"

"unknown con-

trol packet"

Parameter

Meaning

Default Value

Comments

BNEP_Address