Tool/software: Linux
Hello,
We are using WL18MODGB in our device and as part of FCC testing we need to configure BT in different modes.
For this we are following http://processors.wiki.ti.com/index.php/WL18xx_Bluetopia_PM_Bluetooth_RF_Testing webpage and using hcitool to run commands on our Yocto platform
When we run commands as per the suggestion in the wiki page, we do not get the respective Channel set/enabled in spectrum analyzer consistently.
Sometimes the same set of commands enables/activate the channel and sometimes same set of commands does not enable/activate the channel.
Below are the commands used for different configurations. Please let us know if there is anything missed here and let us know what might be the issue.
-------------------------------------------------------------------
bt_config_ch00_1mbps.sh
------------
hcitool cmd 0x3f 0x10c 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0x64
hcitool cmd 0x01 0x001 0x33 0x8b 0x9e 0x04 0x00
hcitool cmd 0x03 0x001a 0x00
hcitool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x00 0x01
hcitool cmd 0x3f 0x01ca 0x62 0x09 0x01 0x00 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
-------------------------------------------------------------------
-------------------------------------------------------------------
bt_config_ch78_1mbps.sh
---------------------
hcitool cmd 0x3f 0x10c 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0x64
hcitool cmd 0x01 0x001 0x33 0x8b 0x9e 0x04 0x00
hcitool cmd 0x03 0x001a 0x00
hcitool cmd 0x3f 0x01fb 0x01 0xff 0x00 0x00 0x00 0x00 0x01
hcitool cmd 0x3f 0x01ca 0xB0 0x09 0x01 0x00 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
-------------------------------------------------------------------
-------------------------------------------------------------------
bt_stopcnt.sh - Stop Tx on BT
--------------------------
hcitool cmd 0x3f 0x0301 0x44 0x40 0x01 0x20 0x10 0x00
hcitool cmd 0x3f 0x0301 0x48 0x40 0x01 0x20 0x14 0x00
hcitool cmd 0x3f 0x0301 0x0c 0x90 0x01 0x20 0x00 0x00
-------------------------------------------------------------------
Please let us know how we can enable different channels with different datarate consistently
Thanks,
Vijay