Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

BSA Configuration for Setting the BT MAC Address (bd_addr)

BSA Configuration for Setting the BT MAC Address (bd_addr)

SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

BSA server, bsa_server, reads the configuration parameters from the bt_config.xml text file. If the bt_config.xml text file is not present, one will be created and the random Bluetooth MAC address will be used to setup the bluetooth device. If the configuration file exist, the device will be set based on the configuration set in the file.

root@imx6ulevk_1:~/mmp/bsa# cat bt_config.xml

<X_BROADCOM_COM_BluetoothAdapter>

  <bt_config>

    <enable>1</enable>

    <visible>1</visible>

    <connectable>1</connectable>

    <local_name>My BSA Bluetooth Device</local_name>

    <bd_addr>BE:EF:BE:EF:A3:56</bd_addr>

    <class_of_device>00:04:24</class_of_device>

    <pin_code>0000</pin_code>

    <pin_len>4</pin_len>

    <io_capabilities>1</io_capabilities>

    <root_path>./pictures</root_path>

  </bt_config>

</X_BROADCOM_COM_BluetoothAdapter>

root@imx6ulevk_1:~/mmp/bsa#

0 Likes
3919 Views
Contributors