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

From Texas Instruments Wiki
Jump to: navigation, search

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.

BT scan results

  • Select the desired device to pair with.
  • A popup dialog with pin will appear.

PIN for pairing

  • 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.
NoteNote: When pairing with Bluetooth headset, pin may not be displayed. Android attempts to pair automatically with Bluetooth headsets. Pin dialog will be shown only if auto-pairing fails.

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]

NoteNote: '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.

incoming transfer icon

  • Open the task bar and select "Bluetooth share: Incoming file".

incoming transfer message

  • A pop up appears asking for confirmation. On popup click Accept.

Confirm incoming transfer

  • 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'.

A2DP headset pairing

  • 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 keyboard detected

Bluetooth keyboard pairing

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 mouse detected

Bluetooth mouse pairing

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.


E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article WiLink8 Bluetooth Demo: Android here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article WiLink8 Bluetooth Demo: Android here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article WiLink8 Bluetooth Demo: Android here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article WiLink8 Bluetooth Demo: Android here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article WiLink8 Bluetooth Demo: Android here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article WiLink8 Bluetooth Demo: Android here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article WiLink8 Bluetooth Demo: Android here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article WiLink8 Bluetooth Demo: Android here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article WiLink8 Bluetooth Demo: Android here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity