TS-4900 Silex Bluetooth

From embeddedTS Manuals
Revision as of 13:04, 6 December 2021 by Mark (talk | contribs)

Support for Bluetooth is provided by the BlueZ project. BlueZ has support for many different profiles for HID, A2DP, and many more. Refer to the BlueZ documentation for more information. Please see our BLE Examples page for information on installing the latest BlueZ release, getting started, and using demo applications.

The Silex compatible images include support for a patched bluez that include support for qualcomm's firmware loading mechanism. Load the driver with:

echo 27 > /sys/class/gpio/export
echo low > /sys/class/gpio/gpio27/direction
sleep .5
echo high > /sys/class/gpio/gpio27/direction
hciattach /dev/ttymxc1 qca 115200 -t30 flow

This will create an hci0 bluez interface:

hciconfig hci0 up
hcitool scan