User Manual

Table Of Contents
166
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
Return value
“Success”
“Failure”
“Not connected”
Comments
This command is used to measure BER when fully loaded baseband pack-
ets are sent from master to slave on the link.
Example
Trace("Test Control : ",
HCICatcTestControl(Address,1,1,2,2,4), "\n");
Trace("Enter Test Mode : ", HCICatcEnterTestMode(Address),
"\n");
Trace("BER Test : ", HCICatcBerTest(Address,1,3,0,0xFF,10),
"\n");
HCICatcChangeHeadsetGain()
HCICatcChangeHeadsetGain(Device, Gain)
NumberOf
Packets
The number of
baseband
packets to be
transmitted
0x0000 - an unlimited number of packets
0x0001 - 0xFFFF - number of packets
BERPacket
Type
0x00 - DH1
0x01 - DH3
0x02 - DH5
0x03 - DM1
0x04 - DM3
0x05 - DM5
TestDataType 0x00 - send Bluetooth test mode PRBS
0x01 - every octet equals TestData
TestData Data to send
BERInterval A packet is
sent every
BERInterval
frame
Parameter Meaning Default Value Comments
Device Speaker or
microphone
Values: “Speaker”, “Microphone”
Parameter Meaning Default Value Comments