SWRA772
august 2023
CC2564C
1
Abstract
Trademarks
1
Introduction
2
Running the Bluetooth Code
3
Demo Application
3.1
Device 1 (Server) Setup on the Demo Application
3.2
Device 2 (Client) Setup on the Demo Application
3.3
Initiating Connection from Device 2
3.4
Identify Supported Services
3.5
Data Transfer Between Client and Server
3.6
Multiple SPPLE Connections Guide
4
Demonstrating SPP LE on an iOS Device with the LightBlue App
4.1
LightBlue Overview
4.2
SPP LE Service Overview
4.2.1
Characteristics
5
LightBlue as the Client/SPPLEDemo as the Server
5.1
Connecting the Devices
5.2
Enabling Notifications
5.3
Sending Data from LightBlue/Receiving Data in SPPLEDemo
5.4
Sending Data from SPPLEDemo/Receiving Data in LightBlue
6
LightBlue as the Server/SPPLEDemo as the Client
6.1
Connecting the Devices
6.2
Sending Data from LightBlue/Receiving Data in SPPLEDemo
6.3
Sending Data from SPPLEDemo/Receiving Data in LightBlue
7
Application Commands
8
General Commands
8.1
Help (DisplayHelp)
8.2
Get Local Address
8.3
Set Baud Rate
8.4
Quit
9
BR/EDR Commands
10
GAPLE Commands
10.1
Set Discoverability Mode
10.2
Set Connectability Mode
10.3
Set Pairability Mode
10.4
Change Pairing Parameters
10.5
Advertise LE
10.6
Start Scanning
10.7
Stop Scanning
10.8
Connect LE
10.9
Disconnect LE
10.10
Pair LE
10.11
LE Pass Key Response
10.12
LE Query Encryption
10.13
Set Passkey
10.14
Discover GAPS
10.15
Get Local Name
10.16
Set Local Name
10.17
Get Remote Name
10.18
LE User Confirmation Response
10.19
Enable SC Only
10.20
Regenerate P256 Local Keys
10.21
SC Generate OOB Local Params
10.22
Set Local Appearance
10.23
Get Local Appearance
11
SPPLE Commands
11.1
Discover SPPLE
11.2
Register SPPLE
11.3
LE Send
11.4
Configure SPPLE
11.5
LE Read
11.6
Loopback
11.7
Display Raw Mode Data
11.8
Automatic Read Mode
12
References
13
Revision History
3.3
Initiating Connection from Device 2
Once the application on the client side knows the Bluetooth address of the device that is advertising, the application can connect to that device using the command: ConnectLE <BluetoothAddress>