Users Manual Instruction Manual

249
CATC BTTRAINER 2.11 CHAPTER
Users Manual
Return value
"Success"
•"Failure"
"Invalid Parameter"
"Timed out"
"Failed: Not found"
"No BNEP connection"
"Not connected"
Comments
Send a predefined BNEP packet to the remote device.
Example
BNEP_ADDR = '010203040506';
packet_type = "compressed ethernet";
Result = BNEPSendPkt(BNEP_ADDR,packet_type);
Trace(Result);
BNEPSendPktGeneral()
BNEPSendPktGeneral(BNEP_ADDR, data_to_send)
Packet_Type Possible types
are:
"compressed
ethernet"
"comp ether-
net source
only"
"comp ether-
net dest only"
"general ether-
net"
"general with
ext hdr
Parameter Meaning Default Value Comments
BNEP_Address BNEP address
of the remote
device.
BNEP connection has to be present.
Parameter Meaning Default Value Comments