NOTICE: The Processors Wiki will End-of-Life in December of 2020. 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.

CC256x TI Bluetooth Stack HOGPKeyboardDemo App

From Texas Instruments Wiki
Jump to: navigation, search

Return to CC256x MSP430 TI’s Bluetooth stack Basic Demo APPS

Demo Overview[edit]

The HID Over GATT Profile (HOGP) allows a user to use HID services over Low Energy.

It is recommended that the user visits the kit setup Getting Started Guide for MSP430 page before trying the application described on this page.

NoteNote: For the Tiva/MSP432/STM32F4 version of this demo, please go to here.

Running the Bluetooth Code[edit]

Once the code is flashed, connect the board to a PC using a miniUSB or microUSB cable. Once connected, wait for the driver to install. It will show up as MSP-EXP430F5438 USB - Serial Port (COM x) under Ports (COM & LPT) in the Device manager. Attach a Terminal program like PuTTY to the serial port x for the board. The serial parameters to use are 9600 Baud, 8, n, 1. Once connected, reset the device using Reset S3 button located next to the mini USB connector and you should see the stack getting initialized on the terminal and the help screen will be displayed, which shows all of the commands.

Demo Application[edit]

This section provides a description of how to use the demo application to connect to and use HID services over Bluetooth Low Energy. For our test case, we use a Microsoft Surface as the device we are connecting to.

1) Get the device up and running using the steps under running the Bluetooth Code section. The MSP430 should look like this.

SS1 MSP430 HOGP 1.jpg



2) The display shows a virtual keyboard that can be navigated using the SW2 and a key can be selected using the S1/S2 keys.

3) From the Remote device, intiate a connection using the Bluetooth settings. Look for a device named HOGPKeyboardDemo and select to begin pairing.

4) The device will display a passcode on the screen. Enter the same passcode, navigating using the SW2 button and entering the numbers using the S1/S2 keys.

5) The devices should be paired and connected now. Open a text editor and begin typing using the display.

6) Other Miscellaneous commands: The following are the special keys on the keyboard.

a) The SPACE key leaves a space between characters.

b) The TAB key leaves a tab space between characters.

c) The CAPS lock toggles between small letters/numbers and Big Letter/Characters.

d) The ENTER is used to start a new line.

e) The BACK is for backspace.

f) The INCR, DECR change the display battery level.

g) NUMLCK toggles Num-lock ON and OFF.

h) The DISC key disconnects the MSP430 from the remote device.

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 CC256x TI Bluetooth Stack HOGPKeyboardDemo App 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 CC256x TI Bluetooth Stack HOGPKeyboardDemo App here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC256x TI Bluetooth Stack HOGPKeyboardDemo App 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