This proposed patch implements the TI BTS (Bluetooth script) mechanism. I have attached the diff and new files to be built along with hciattach. I have also attached a sample BTS file (the one that goes along with the BRF6150 plus firmware, as found in the iPAQ hx4700). The code is a bit chatty (prints BTS comment lines), but provides feedback as to what is being done with the chip. Comments / Suggestions welcome. Example usage: hciattach -S /etc/bluetooth/TIInit_3.2.26.bts ttyS1 texas Sample output (comments come from bts file): TI module LMP version : 0x02 TI module LMP sub-version : 0x0d1a Loading BTS script version 1 #-------------------------------------------------------------------------------- # Description : Initilization for BRF6150 2.11 ROM Device # # The following software update is required to be # executed after power up or reset of the BRF6150 v2.11 device # for optimal performance and enhancement of the RF. # # # Script Ver : 2.26c # # Compatablity: BRF6150 2.11 ROM Device # # Last Updated: 25.3.2004 # # Notes : For usage on BRF6150 v2.11 ROM device only (FW version 2.0.26)! # #-------------------------------------------------------------------------------- #LC Pole trim bits [9:7=011] # DETECTOR Update # Set MLSE THRESHOLD to -68 dBm #MLSE Match filter coef # MLSE Ideal values #AFC T2 Coefficients #ANRITSU Power Control BTS changing baud rate to 921600, flow control to 1 Bluetooth: HCI UART driver ver 2.1 Bluetooth: HCI H4 protocol initialized Bluetooth: HCI BCSP protocol initialized -- Todd Blumer SDG Systems, LLC