Users Manual Instruction Manual

248
CATC BTTRAINER 2.11 CHAPTER
Users 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