NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
WiLink8 Bluetooth Demo: Android
Contents
Enabling Bluetooth[edit]
- To turn on Bluetooth, browse to "App Launcher" -> "Settings" -> "Bluetooth".
- Enable Bluetoth by sliding the ON/OFF tab to the ON position and wait for few seconds.
- Bluetooth icon appears on taskbar.
- When BT is enabled the status shows Turning Bluetooth ON and lists out the available Bluetooth devices.
- Select the desired device to pair with.
- A popup dialog with pin will appear.
- Click Pair button to confirm pairing.
- Verify that the desired device shows the same pin. click OK. And then the device gets listed under the paired devices category.

Disabling Bluetooth[edit]
- To turn off Bluetooth, browse to "App Launcher" -> "Settings" -> "Bluetooth".
- Disable Bluetooth by sliding the ON/OFF tab to the OFF position.
Bluetooth Object Push profile[edit]
Using Bluetooth, it is possible to send / receive files (pictures, media files etc).
Sending files[edit]
Note: 'Share using Bluetooth' is not enabled by default in the Gallery app. You need to install a third party application like BlueFTP to enable the sharing option. Follow the instructions from http://www.medieval.it/blueftp-android/menu-id-68.html to download BlueFTP
- browse to "App Launcher" -> "Gallery" -> "Images".
- Select a picture to share.
- Click share icon (top bar), select bluetooth from the options
- select paired BT device to send to.
- The BT device will prompt to accept. Accept incoming file at the other device.
- Once download finishes, check file.
Receiving files[edit]
- On paired device (e.g. phone), select send via Bluetooth, click on AM335XEVM.
- On evm, notification appears about incoming connection.
- Open the task bar and select "Bluetooth share: Incoming file".
- A pop up appears asking for confirmation. On popup click Accept.
- Once download completes, check file.
Bluetooth A2DP[edit]
You can listen to Media audio on Bluetooth A2DP headset.
- Pair A2DP capable bluetooth headset with device. Android uses the stereo headset icon to denote A2DP headset.
- After pairing succeeds, the status is updated to 'Connected'.
- Open Music player and play any audio clip.
- Audio will be heard on the Bluetooth headset.
Bluetooth HID[edit]
You can connect to Bluetooth keyboard or mouse.
Bluetooth Keyboard[edit]
- Pair with the Bluetooth keyboard, by providing the suitable pass-code from the keyboard matching to the code shown on the device.
- After the successful pairing of the keyboard with the device, the keyboard will be listed under the paired devices category.
- The supported functionality of the paired keyboard can be used on the device.
- For disconnecting the keyboard from the device, select the keyboard under paired devices category, and agree to disconnect message.
Bluetooth Mouse[edit]
- Pair with the Bluetooth mouse, by providing the suitable pass-code from the device, matching to the supported code of the mouse.
- After the successful pairing of the mouse with the device, the mouse will be listed under the paired devices category.
- The supported functionality of the paired mouse can be used on the device.
- For disconnecting the mouse from the device, select the mouse under paired devices category, and agree to the disconnect message.
Bluetooth AVRCP[edit]
You can control Media playback with Media player keys on Bluetooth headset with AVRCP capabilities.
NOTE: The following steps assume Bluetooth A2DP headset with AVRCP.
- Pair the BT headset
- The following text appears on the debug serial when the pairing is successfully completed. This confirms that AVRCP feature is registered with android
[ 3291.281250] input: AVRCP as /devices/virtual/input/input4
- Open Music Player and go to playlist view. Check that there are multiple clips in the playlist.
- Press the Play/Pause button on the BT headset - The currently queued clip begins playing on the headset.
- Press the Play/Pause button again on the headset - The currently playing clip is paused.
- Press the Next button on the headset; the next clip in the playlist begins to play on the headset.
- Press the Prev button on the headset; the currently playing clip restarts from the beginning.