We are using TI WL1827MOD in some products
The test house is asking us how to set up BLE Rx test and “hopping test”
This is how we set up BLE tx test mode from linux prompt:
Bluetooth LE testing
Log in as for WiFi testingWrite commands:
killall bluetoothd
“Enable bluetooth in GUI”
hciconfig hci0 noscan
bleprep
bletx
bletx 0 37 0
(Sets channel, length and test pattern i.e. bletx frequency modulation, testpattern, power)
blestop
We have no commands for Rx in our linux prompt.
root@evco-04F179:~# b
backlight bccmd bletx break bttest busybox.suid
badblocks bg blkid btconfig bttx bzcat
base64 bind blockdev btload builtin bzip2
basename bitapp bluemoon btmon bunzip2
bash bitappgui bluetoothctl btpkt busctl
bashbug bleprep bootctl btprep busybox
bbconfig blestop brctl btstop busybox.nosuid
root@evco-04F179:~#
The app note swra750 "WL18xx Bluetopia PM Bluetooth RF Testing" suggest that there is a way to do a receiver test
3 Bluetooth Low Energy Testing
Below are the HCI commands from the Spec to place the device in Bluetooth Low Energy test mode :
Transmitter Test
Send_HCI_BLE_Transmitter_Test 0x201e, 0x00, 0x00, 0
Wait_HCI_Command_Complete_BLE_Transmitter_Test_Event 5000, any, HCI_BLE_Transmitter_Test, 0x00
Send_HCI_BLE_Test_End 0x201f
Wait_HCI_Command_Complete_BLE_Test_End_Event 5000, any, HCI_BLE_Test_End, 0x00, 0
Receiver Test
Send_HCI_BLE_Receiver_Test 0x201d, 0x00
Wait_HCI_Command_Complete_BLE_Receiver_Test_Event 5000, any, HCI_BLE_Receiver_Test, 0x00
Send_HCI_BLE_Test_End 0x201f
Wait_HCI_Command_Complete_BLE_Test_End_Event 5000, any, HCI_BLE_Test_End, 0x00, 0
To disable RF Calibration
Send_HCI_VS_DRPb_Enable_RF_Calibration_Enhanced 0xFDFB, 0x1, 0xFF, 0x80000000, 0x00
Wait_HCI_Command_Complete_VS_DRPb_Enable_RF_Calibration_Enhanced_Event 5000, any,HCI_VS_DRPb_Enable_RF_Calibration_Enhanced, 0x00
But how is that done from the Linux prompt?
/KFor
