This document talks about the SPPLE application in detail. The application allows the user to use a console to use Bluetooth Low Energy (BLE) to establish connection between two BLE devices, send Bluetooth commands and exchange data overBLE.
All trademarks are the property of their respective owners.
This application demonstrates a BR/EDR SPP based application as well as a custom application, SPPLE, over Bluetooth LE that is similar in functionality to the BR/EDR appliacation.The SPPLE Profile is similar to the SPP profile except the SPPLE uses LE transport compared to BR/EDR transport in the SPP profile. The SPP profile emulates serial cable connections. There are two roles defined in this profile. The first is the server that has the SPPLE service running and has open an server port. The client is a device that connects to the server. Both of these devices can then exchange data with each other.
Visit the TI Dual-Mode Bluetooth® Stack on MSP432™ MCUs or Dual-Mode Bluetooth® Stack on STM32F4 MCUs pages before trying the application described on this page.
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. The driver appears as MSP-EXP430F5438 USB -Serial Port(COM x), Tiva Virtual COM Port (COM x),XDS110 Class Application/User UART (COM x) for MSP432, under Ports (COM & LPT) in the Device manager. Attach a Terminal program like PuTTY to the serial port x for the board. Use the serial parameters 115200 Baud (9600 for MSP430), 8, n, 1. Once connected, reset the device using Reset S3 button (located next to the mini USB connector for the MSP430) and observe the stack getting initialized on the terminal and the help screen displays, which shows all of the commands. This device becomes the server. Connect the second board via miniUSB or microUSB cable and follow the same steps performed before when running the Bluetooth code on the first board. The second device that is connected to the computer is the client.