SWRA772 august 2023 CC2564C
SPP LE implements credit-based protocol using GATT characteristics. The SPP LE service has 4 characteristics:
Name | UUID | Purpose |
---|---|---|
Rx Characteristic | 0x8B00ACE7-EB0B-49B0-BBE9-9AEE0A26E1A3 | Client sends data to the server using this characteristic with an ATT Write Request. |
Tx Credits Characteristic | 0xBA04C4B2-892B-43BE-B69C-5D13F2195392 | Client sends credits to the server using this characteristic with an ATT Write Request. |
Tx Characteristic | 0x0734594A-A8E7-4B1A-A6B1-CD5243059A57 | Server sends data to the client using this characteristic with an ATT Handle Value Notification. |
Rx Credits Characteristic | 0xE06D5EFB-4F4A-45C0-9EB1-371AE5A14AD4 | Server sends credits to the client using this characteristic with an ATT Handle Value Notification. |
The client and server use these characteristics to send and receive data and credits. The following is a demonstration of the SPPLEDemo as the server and LightBlue as the client. Download the LightBlue app from the App Store and turn on Bluetooth on an iOS device.
For more information about characteristics, ATT Write Requests, and ATT Handle Value Notifications, please refer to the Attribute Protocol (ATT) and Generic AttributeProfile (GATT) specifications in the Bluetooth Core specification, which can be found on the Bluetooth SIG's website
.
The following instructions were confirmed in version 2.2.0 of LightBlue running on an iPhone 5 with iOS 8.1.3. These instructions can be used with the SPPLEDemo app from any TI Bluetooth SDK, but in this example the SPPLEDemo app from the Tiva v1.2 R2 SDK.