User's Manual
Table Of Contents
- 1 Introduction
- 2 Description
- 3 Setup
- 3.1 LMU BT LE driver streams and serial port configuration parameters setup example.
- 3.2 LMU BTST SPP driver streams and serial port configuration parameters setup example.
- 3.3 LMU Bluetooth driver configuration parameters setup.
- 3.4 LMU user serial message configuration parameters setup example.
- 3.5 BTCS version format.
- 3.6 BTCS default Pass key.
- 3.7 Verification of LMU BTST SPP mode “Data” state example.
- 3.8 Verification of LMU configuration for BLE “connection” mode example.
- 3.9 Verification of LMU BLE “Advert broadcast scanning” mode configuration example.
- 4 Usage
- 4.1 Demonstration of LMU BT SPP mode.
- 4.2 Demonstration of BLE “connection” mode based remote temperature sensor device.
- 4.2.1 Send command “Enable notifications on Temperature sensor attribute profile”.
- 4.2.2 Send command “Start temperature conversion”.
- 4.2.3 Observe the GPSTRAX server User 0 temperature data.
- 4.2.4 Disable BLE sensor “notifications”.
- 4.2.5 Send command “Stop” temperature conversion.
- 4.2.6 “GPSTRAX” server report contains temperature sensor data.
- 4.3 Demonstration of BLE “broadcast scanning” mode based remote KeyFob DriverID device.
- 5 PWA Label
- 6 Integration Instructions
User Manual
Version:
1.0
Feature: Bluetooth Support
Page #:
3 of 20
1 Introduction
This application note documents the use of Bluetooth chipset device based on TI
MSP430F5438A microcontroller and CC2564 RF processor. The BTCS device has Bluetooth
LE4.0 dual mode capabilities. The firmware is based on Stonestreet One Bluetopia protocol
stack. The document uses as an example the Texas Instruments CC 2541 Sensor Tag with the
purpose of reading the temperature from TI TMP006 temperature sensor. A “KeyFob”
device which broadcasts “Button xx press” events together with “battery charge state as
percentage“ information is used as another example.
2 Description
The BTCS device is connected to a LMU serial port. The BTCS unit supports Bluetooth SPP
mode of operation. BTCS plays a server slave device which upon connection with a Remote
Bluetooth client master device can exchange data. There are two Bluetooth low energy
(BLE) modes of operation: “Connection” based and an “Advert Broadcast Scanning” mode.
In “Connection” mode, the LMU firmware starts the discovery process of all BLE remote
devices. If a match is found based on the remote address stored as an “APP PARAM 2082”,
the discovery sequence is ended and the connection process starts. Upon the reception of
“CONNECTED_OK” event, the user will be able to send setup commands to the remote
device, and consequently receive the sensor data.
In “Advert Broadcast scanning” mode BT driver simply receives the broadcast
advertisements from all remote BLE devices.
The block diagram is presented in Figure 1 below.