Skip to content

Commit ee20d02

Browse files
author
Thomas Kopriva
committed
readme and version script update
1 parent 5ac3e75 commit ee20d02

File tree

5 files changed

+254
-227
lines changed

5 files changed

+254
-227
lines changed

README.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
Extra examples and demos for **TI SimpleLink CC2640R2 SDK**
2-
===========================================================
1+
# Introduction
32

4-
This repository contains additional *Bluetooth®* 5 and *Bluetooth®* 4.2
5-
Low Energy sample applications for Texas Instruments' SimpleLink CC2640R2 SDK.
3+
These examples and demos are for **TI SimpleLink CC2640R2 SDK 1.35.00.33**
4+
5+
This repository contains experimental *Bluetooth®* 5 and *Bluetooth®*
6+
4.2 Low Energy sample applications for Texas Instruments' SimpleLink CC2640R2
7+
SDK. These examples have not been validated as production-ready.
68

79
To use the examples and tools in this repository, please download and install
810
the [SimpleLink CC2640R2 SDK](http://www.ti.com/ble-stack) first, and if
@@ -12,8 +14,13 @@ For other hardware and software resources,
1214
[please visit our wiki](http://www.ti.com/ble-wiki). If you have any questions
1315
please refer to the [FAQ page](docs/faq.md).
1416

15-
Installation
16-
============
17+
## Change Log
18+
19+
### 1.35.00.00
20+
Initial offering of Simplelink CC2640R2 SDK examples.
21+
* BLE5-Stack: Throughput Demo (Central/Peripheral)
22+
23+
## Installation
1724

1825
This repository can be cloned and tracked using Git. For instructions on how to
1926
clone a repository from Github please refer to this guide:
@@ -38,8 +45,7 @@ If the Simplelink CC2640R2 SDK must be installed to a different location, then
3845
see the [FAQ page](docs/faq.md) for IDE specific instructions for changing
3946
environment variables.
4047

41-
Required Tools
42-
==============
48+
## Required Tools
4349

4450
Similar to the Simplelink CC2640R2 SDK, the examples in this repository support
4551
the CCS and IAR toolchains. Please pay careful attention to versions of these
@@ -52,14 +58,12 @@ untested and may result in unexpected behavior.
5258
For more information on toolchain setup, please refer to our
5359
[FAQ page](docs/faq.md).
5460

55-
FAQ
56-
===
61+
## FAQ
5762

5863
The [FAQ page](docs/faq.md) will try to address some of the common questions
5964
related to the ble_examples repo.
6065

61-
Examples / Demo List
62-
====================
66+
## Examples / Demo List
6367

6468
### Bluetooth 5 Throughput Demo
6569

@@ -76,8 +80,7 @@ and Coded PHYs.
7680
* [IAR Project Files](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/throughput_peripheral/tirtos/iar)
7781
* [Source](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/throughput_peripheral/src)
7882

79-
References
80-
==========
83+
## References
8184

8285
The following reference pages may be helpful during general Bluetooth Low
8386
Energy development. New users of the Simplelink CC2640R2 platform and Bluetooth

docs/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
## Frequently Asked Questions
22

3-
* [What if I installed the SimpleLink CC2640R2 SDK at a non default location (e.g. ``C:\ti\simplelink_cc2640r2_sdk_1_35_00_33M_mm_pp_bb``)?](#default)
3+
* [What if I installed the SimpleLink CC2640R2 SDK at a non default location (e.g. Not at ``C:\ti\simplelink_cc2640r2_sdk_1_35_00_33``)?](#default)
44
* [Why am I getting an error when I am trying to run a Python script from the /tools folder?](#python)
55
* [How can I setup my toolchain for use with the ble\_examples repo?](#toolchain)
66
* [I am using a LaunchPad device, how can I view display data?](#display)
77
---
88

9-
### <a name="default"></a>What if I installed the SimpleLink CC2640R2 SDK at a non default location (e.g. ``C:\ti\simplelink_cc2640r2_sdk_1_35_00_33M_mm_pp_bb``)?
9+
### <a name="default"></a>What if I installed the SimpleLink CC2640R2 SDK at a non default location (e.g. Not at ``C:\ti\simplelink_cc2640r2_sdk_1_35_00_33``)?
1010

1111
All projects reference files from the BLE stack using environment variables, you
1212
can change this in your IDE's project files.
@@ -79,7 +79,7 @@ To setup your PC to receive this data please follow the steps below:
7979
1. Install PuTTY or another serial terminal emulator
8080
1. Use the Windows Device Manager (Start &rarr; Run &rarr; `mmc devmgmt.msc`
8181
&rarr; Ok) to determine which COM port you should connect to:
82-
82+
8383
![Device Manager](resources/dev_mgr_xds110.png)
8484
* Note the COM port number of the `XDS110 Class Application/User UART` listed.
8585
1. Configure putty as a serial console with 115200 8N1.
Lines changed: 102 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
BLE5 Throughput Central
2-
=======================
1+
# BLE5-Stack Throughput Central
32

43
## Functional Overview
54

6-
This project is meant to be utilized with BLE5 Throughput Peripheral to demonstrate
7-
BLE5 features.
5+
This project is meant to be utilized with BLE5-Stack Throughput Peripheral to
6+
demonstrate Bluetooth&trade; 5 features.
87

9-
This project is based on the Simple Central sample application from the SDK.
8+
This project is based on the Simple Central sample application from the
9+
BLE5-Stack component of the SDK.
1010

11-
BLE5 Throughput Peripheral Project should be used in order to do a full
11+
BLE5-Stack Throughput Peripheral Project should be used in order to do a full
1212
throughput demo. However, this project can function standalone to demonstrate
1313
the Data Length Extension, 2 Megabit, or Coded PHYs when connected to a peer
1414
device supporting these features.
1515

16-
The following changes are done:
16+
This list contains the changes from the standard Simple Central example:
1717
- Added Support for a custom profile called Throughput Profile
1818
- Modified existing menu system to utilize the Two Button Menu
1919
- Changed Service and Characteristic Discover Behavior
@@ -26,87 +26,105 @@ The following changes are done:
2626
### Two Button Menu
2727

2828
The Two Button Menu system is designed to utilize the two push buttons available
29-
on the CC2640R2 Launchpad. The left button (BTN1) is always used to cycle between options.
30-
The right button (BTN2) is used to activate the selected action or item.
29+
on the CC2640R2 Launchpad. The left button (BTN1) is always used to cycle
30+
between options. The right button (BTN2) is used to activate the selected action
31+
or item.
3132

32-
The Two Button Menu is set up by default to utilize the back channel UART present
33-
on the launchpad as it's display.
33+
The Two Button Menu is set up by default to utilize the back channel UART
34+
present on the launchpad as it's display.
3435

3536
### Running the Demo
3637

37-
1. Compile and load the projects:
38+
1. Compile and load the projects:
3839
- First build and load `ble5_throughput_central_cc2640r2lp_stack`
3940
- Next build and load `ble5_throughput_central_cc2640r2lp_app`
4041

41-
2. Connect to the LaunchPad via PuTTY (or other serial console emulator). For
42-
instructions on connecting via PuTTY, please see our [FAQ page](faq.md).
43-
44-
3. After connecting to PuTTY, you will be presented with the Two Button Menu system
45-
prompting you for actions. Select 'Scan/Connect Menu' by pressing the right button (BTN2).
46-
47-
*Texas Instruments Bluetooth 5 Demo
48-
49-
+Scan/Connect Menu >
50-
51-
4. Then select "Scan For Devices" menu option by pressing the right button (BTN2).
52-
53-
*Scan/Connect Menu
54-
< Next Item
55-
Scan for Devices >
56-
+Upper Menu
57-
58-
5. After Scanning is Performed, choose the desired device to connect to by pressing
59-
the right button (BTN2). Note: If the peer device supports the Throughput Profile,
60-
below the peer device's address will contain the text: "-- Throughput Profile Supported --"
61-
62-
*Scan/Connect Menu
63-
< Next Item
64-
Select Next Device >
65-
Connect to Selected Device
66-
Scan for Devices
67-
+Upper Menu
68-
2 Devices Found
69-
70-
Scanned Device 1
71-
0x98072DAA4E5E
72-
-- Throughput Profile Supported --
73-
74-
5. Press the left button (BTN1) to move to the next action, "Connect to Selected Device". Then
75-
use the right button (BTN2) to begin connecting to the displayed device.
76-
77-
After a connection is successful, you will be presented with new menu options:
78-
79-
*Texas Instruments Bluetooth 5 Demo
80-
< Next Item
81-
+Set PHY >
82-
+Set PDU
83-
Toggle RSSI Readings
84-
Disconnect
85-
86-
As well as connection details in the UART display:
87-
88-
Peer Device : 0x98072DAA4E5E
89-
PHY: 1 Mbps
90-
Instant Rate (kb/s): 247.904
91-
Average Rate (kb/s): 264.104 over 10 Samples
92-
RSSI -dBm: 44
93-
94-
As shown, if the Throughput Profile is supported on the peer, throughput information will be displayed.
95-
96-
6. As desired, BLE5 Throughput Central can modify the PHY and DLE PDU size of the
97-
connection. Use left button (BTN1) to change selected action, and right button (BTN2) to
98-
invoke the selected action. The display will update if connection PDU or PHY is changed.
99-
100-
Peer Device : 0x98072DAA4E5E
101-
Current PHY: 2 Mbps
102-
Instant Rate (kb/s): 1366.400
103-
Average Rate (kb/s): 1219.408 over 10 Samples
104-
RSSI -dBm: 32
105-
106-
This Device's BDADDR : 0x00124B005220
107-
Device GAP Role: Central
108-
Device RX PDU Size: 251B
109-
MTU Size: 247B
110-
111-
If Throughput Profile is supported on the peer, the displayed throughput will update in
112-
real time.
42+
1. Connect to the LaunchPad via PuTTY (or other serial console emulator). For
43+
instructions on connecting via PuTTY, please see our [FAQ page](faq.md).
44+
45+
1. After connecting to PuTTY, you will be presented with the Two Button Menu
46+
system prompting you for actions. Select 'Scan/Connect Menu' by pressing the
47+
right button (BTN2).
48+
49+
```
50+
*Texas Instruments Bluetooth 5 Demo
51+
52+
+Scan/Connect Menu >
53+
```
54+
55+
1. Then select "Scan For Devices" menu option by pressing the right button (BTN2).
56+
57+
```
58+
*Scan/Connect Menu
59+
< Next Item
60+
Scan for Devices >
61+
+Upper Menu
62+
```
63+
64+
1. After Scanning is Performed, choose the desired device to connect to by pressing
65+
the right button (BTN2). Note: If the peer device supports the Throughput Profile,
66+
below the peer device's address will contain the text:
67+
``-- Throughput Profile Supported --``
68+
69+
```
70+
*Scan/Connect Menu
71+
< Next Item
72+
Select Next Device >
73+
Connect to Selected Device
74+
Scan for Devices
75+
+Upper Menu
76+
2 Devices Found
77+
78+
Scanned Device 1
79+
0x98072DAA4E5E
80+
-- Throughput Profile Supported --
81+
```
82+
83+
1. Press the left button (BTN1) to move to the next action, "Connect to
84+
Selected Device". Then use the right button (BTN2) to begin connecting to
85+
the displayed device.
86+
87+
After a connection is successful, you will be presented with new menu
88+
options:
89+
90+
```
91+
*Texas Instruments Bluetooth 5 Demo
92+
< Next Item
93+
+Set PHY >
94+
+Set PDU
95+
Toggle RSSI Readings
96+
Disconnect
97+
```
98+
99+
As well as connection details in the UART display:
100+
101+
```
102+
Peer Device : 0x98072DAA4E5E
103+
PHY: 1 Mbps
104+
Instant Rate (kb/s): 247.904
105+
Average Rate (kb/s): 264.104 over 10 Samples
106+
RSSI -dBm: 44
107+
```
108+
109+
As shown, if the Throughput Profile is supported on the peer, throughput information will be displayed.
110+
111+
1. As desired, BLE5-Stack Throughput Central can modify the PHY and DLE PDU
112+
size of the connection. Use left button (BTN1) to change selected action,
113+
and right button (BTN2) to invoke the selected action. The display will
114+
update if connection PDU or PHY is changed.
115+
116+
```
117+
Peer Device : 0x98072DAA4E5E
118+
Current PHY: 2 Mbps
119+
Instant Rate (kb/s): 1366.400
120+
Average Rate (kb/s): 1366.400 over 10 Samples
121+
RSSI -dBm: 32
122+
123+
This Device's BDADDR : 0x00124B005220
124+
Device GAP Role: Central
125+
Device RX PDU Size: 251B
126+
MTU Size: 247B
127+
```
128+
129+
If Throughput Profile is supported on the peer, the displayed throughput
130+
will update in real time.

0 commit comments

Comments
 (0)