Skip to content

Commit eb04400

Browse files
author
Nima Behmanesh
committed
Merge pull request #113 in SA/ble_examples from feature/simplelink_cc13x2_26x2_sdk-4.10-port-to-5.10 to feature/simplelink_cc13x2_26x2_sdk-5.10
Squashed commit of the following: commit 5595b8f06b0903e81378502e3b98f8d8af222c6e Merge: 0ef0bdb0 564c7e9 Author: Nima Behmanesh <[email protected]> Date: Mon Aug 2 14:47:42 2021 -0500 Merge branch 'feature/simplelink_cc13x2_26x2_sdk-5.10' of ssh://bitbucket.itg.ti.com/sa/ble_examples into feature/simplelink_cc13x2_26x2_sdk-4.10-port-to-5.10 commit 0ef0bdb069b391f730b98179a4b9a0d775475e50 Author: Nima Behmanesh <[email protected]> Date: Thu Jul 29 11:43:31 2021 -0500 Fixed version numbers commit db60a69543f361a8e93f875b5d4cbe3493ebf3bb Author: Nima Behmanesh <[email protected]> Date: Thu Jul 29 11:34:36 2021 -0500 Added fixed noted in the pull request commit 3911fb375bc6f64b49898e53a99188573676bc63 Author: Nima Behmanesh <[email protected]> Date: Wed Jul 28 12:25:18 2021 -0500 Updated readme commit 800d4bc35e12a9bb6019a1cde4379bcfe0946582 Author: Nima Behmanesh <[email protected]> Date: Wed Jul 28 12:22:42 2021 -0500 Updated readme commit 565c2efd9da045210197772ebd2adbce0012df3e Author: Nima Behmanesh <[email protected]> Date: Wed Jul 28 12:21:41 2021 -0500 Updated readme commit 89baabc54d40ee4b675f9eb503d67e20774ad66f Author: Nima Behmanesh <[email protected]> Date: Tue Jul 27 17:03:22 2021 -0500 Updated the readme commit b10edf19d1837760f8d7d44f048edea3ff01c56c Author: Nima Behmanesh <[email protected]> Date: Tue Jul 27 16:51:02 2021 -0500 Finished porting serial socket client. commit 208e774870e336b9b3dbbddf00ddd51d0b51417b Author: Nima Behmanesh <[email protected]> Date: Tue Jul 27 14:57:55 2021 -0500 Added 'Start typing' to project commit 762d1150326f9ba200afd8f90a23f5772bb5f5a0 Author: Nima Behmanesh <[email protected]> Date: Tue Jul 27 14:29:43 2021 -0500 Ported serial socket server. need to add 'start typing:' commit 7bc833249cd9a03fa6930ffb6e2f3934bd33b104 Author: Nima Behmanesh <[email protected]> Date: Tue Jul 27 14:12:19 2021 -0500 Ported over throughput central commit 36eab838f16c2f84d774cba9294befd1a8c75e10 Author: Nima Behmanesh <[email protected]> Date: Tue Jul 27 13:03:00 2021 -0500 Ported throughput peripheral example
1 parent 564c7e9 commit eb04400

File tree

91 files changed

+34890
-181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+34890
-181
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@
1010
**/config/src
1111
**/tirtos/src
1212
**/tirtos/iar/config/
13+
**/Tools/src
1314
*.dep
1415
*.log
1516
*.ewt
1617
*.tmp
1718
*.bak
1819
*.obj
1920
*.a
21+
*.prefs
22+
*.xdchelp
23+
*.aem4f
24+
*.ccxml
25+
*.libs
2026
!cc2650_mSBC_library.a
2127
*.pos
2228
*.pp

README.md

Lines changed: 73 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@
88
* [Tools](#tools)
99
* [References](#references)
1010
* [FAQ](docs/faq.md)
11-
* [Suggested Work Flow](docs/suggested_workflow.md)
11+
* [Versioning BLE-Stack Projects](docs/suggested_workflow.md)
1212

1313
# Introduction
1414

15-
These examples and demos are for **TI SimpleLink CC2640R2 SDK 4.10.00.00**
15+
These examples and demos are for **TI SimpleLink CC13x2 / CC26x2 SDK 5.10.00.00**
1616

17-
This repository contains *Bluetooth&reg;* Low Energy sample applications for
18-
Texas Instruments' SimpleLink CC2640R2 SDK. These examples have not been
19-
validated as production-ready. Services and profiles in this repository have not
20-
been validated or certified.
17+
This repository contains *Bluetooth&reg;* 5 sample applications for
18+
Texas Instruments' SimpleLink CC13x2 / CC26x2 SDK. These examples have not been
19+
validated as production-ready.
2120

2221
**Do not** use GitHub's bug tracking feature for support. For inquiries, see the
2322
[Bluetooth&reg; low energy Forum](https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538).
2423

2524
To use the examples and tools in this repository, please download and install
26-
the [SimpleLink CC2640R2 SDK](http://www.ti.com/ble-stack) **first**, and if
27-
necessary [buy an evaluation kit](http://www.ti.com/tool/launchxl-cc2640r2).
25+
the [SimpleLink CC13x2 / CC26x2 SDK](http://www.ti.com/tool/SIMPLELINK-CC13X2-26X2-SDK) **first**, and if
26+
necessary [buy an CC26X2](http://www.ti.com/tool/LAUNCHXL-CC26X2R1) or [CC1352](http://www.ti.com/tool/LAUNCHXL-CC1352R1) evaluation kit.
2827

2928
If you have any questions please refer to the [FAQ page](docs/faq.md).
30-
3129
For examples for other SDK versions and platforms, see table below.
3230

3331
<table>
@@ -38,19 +36,7 @@ For examples for other SDK versions and platforms, see table below.
3836
</tr>
3937
<tr>
4038
<td>
41-
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc2640r2_sdk-4.10">TI SimpleLink CC2640R2 SDK 4.10.00.00 (current)</a>
42-
</td>
43-
<td>
44-
<ul>
45-
<li><a href="#heart-rate">Heart Rate Sensor</a></li>
46-
<li><a href="#glucose">Glucose Sensor</a></li>
47-
<li><a href="#blood-pressure-monitor">Blood Pressure Monitor</li>
48-
</ul>
49-
</td>
50-
</tr>
51-
<tr>
52-
<td>
53-
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc13x2_26x2_sdk-4.10">TI SimpleLink CC13x2 / CC26x2 SDK 4.10.00.00</a>
39+
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_sdk-5.10">TI SimpleLink CC13x2 / CC26x2 SDK 5.10.00.00 (current)</a>
5440
</td>
5541
<td>
5642
<ul>
@@ -61,25 +47,12 @@ For examples for other SDK versions and platforms, see table below.
6147
</tr>
6248
<tr>
6349
<td>
64-
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc2640r2_sdk-3.40">TI SimpleLink CC2640R2 SDK 3.40.00.10</a>
65-
</td>
66-
<td>
67-
<ul>
68-
<li><a href="#simple-serial-socket">Simple Serial Socket</a></li>
69-
<li><a href="#simple-serial-socket">Bluetooth 5 Simple Serial Socket</li>
70-
<li><a href="#simple-peripheral-observer">Simple Peripheral Observer</li>
71-
<li><a href="#blood-pressure-monitor">Blood Pressure Monitor</li>
72-
</ul>
73-
</td>
74-
</tr>
75-
<tr>
76-
<td>
77-
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc2640r2_sdk-3.30">TI SimpleLink CC2640R2 SDK 3.30.00.20</a>
50+
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_sdk-4.10">TI SimpleLink CC13x2 / CC26x2 SDK 4.10.00.00</a>
7851
</td>
7952
<td>
8053
<ul>
81-
<li>Simple Serial Socket</a></li>
82-
<li>Bluetooth 5 Simple Serial Socket</li>
54+
<li>Simple Serial Socket</li>
55+
<li>Bluetooth 5 Throughput Demo</li>
8356
</ul>
8457
</td>
8558
</tr>
@@ -149,11 +122,11 @@ For examples for other SDK versions and platforms, see table below.
149122
</td>
150123
<td>
151124
<ul>
152-
<li><a href="#simple-serial-socket">Simple Serial Socket</a></li>
153-
<li><a href="#micro-ble-stack-broadcaster-observer">Micro BLE Stack Broadcaster Observer</li>
154-
<li><a href="#bidirectional-audio">Bidirectional Audio</li>
155-
<li><a href="#simple-peripheral-observer">Simple Peripheral Observer</li>
156-
<li><a href="#apple-notification-center-service">Apple Notification Center Service</li>
125+
<li>Simple Serial Socket</li>
126+
<li>Micro BLE Stack Broadcaster Observer</li>
127+
<li>Bidirectional Audio</li>
128+
<li>Simple Peripheral Observer</li>
129+
<li>Apple Notification Center Service</li>
157130
</ul>
158131
</td>
159132
</tr>
@@ -250,47 +223,31 @@ Older releases can be accessed by checking out/downloading their corresponding
250223
branch. For more information on supported examples
251224
please consult the readme.md of the desired branch/release.
252225

253-
For for more information about different SDK components, please consult the
254-
BLE-stack User's Guide.
255-
256226
## Change Log
257227

258228
Note: The version numbers below are related to GitHub ble_examples releases.
259229
The numbering scheme is in the form of M.mm.pp.bb. The fields pp.bb are incremented
260230
as GitHub examples are released, M.mm will map a GitHub release to a SimpleLink
261231
SDK release.
262232

263-
### 4.10.00.00
264-
Initial offering of select SimpleLink CC2640R2 SDK 4.10.00.00 examples.
265-
266-
### 3.40.00.00
267-
Initial offering of select SimpleLink CC2640R2 SDK 3.40.00.10 examples and one
268-
new example added:
269-
* Blood Pressure Monitor: This sample project implements the Blood Pressure
270-
profiles in a Bluetooth Low Energy peripheral device to provide an example
271-
blood pressure monitor (BPM) using simulated measurement data.
233+
### 5.10.00.00
234+
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 5.10.00.00 examples.
272235

273-
### 3.30.00.00
274-
Initial offering of select SimpleLink CC2640R2 SDK 3.30.00.20 examples.
236+
### 4.10.00.00
237+
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 4.10.00.00 examples.
275238

276239
### 3.20.00.00
277-
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 examples supporting
278-
the rev. E of the SimpleLinkCC26x2 and CC13x2 MCUs.
240+
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 examples,
241+
supporting the rev. E of the SimpleLinkCC26x2 and CC13x2 MCUs.
279242

280243
### 2.40.00.00
281244
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 2.40.00.81 examples.
282245

283-
### 2.20.00.00
284-
New examples added.
285-
* BLE-Stack: Simple Serial Socket Server/Client added
286-
287-
**SPP over BLE is now deprecated and replaced by Simple Serial Socket**
288-
289246
## Installation
290247

291248
This repository can be cloned and tracked using Git. For instructions on how to
292-
clone a repository from Github please refer to this guide:
293-
[Clone from Github](https://help.github.com/articles/cloning-a-repository/)
249+
clone a repository from GitHub please refer to this guide:
250+
[Clone from GitHub](https://help.github.com/articles/cloning-a-repository/)
294251

295252
For users who are unfamiliar with Git, there is the option of downloading the
296253
contents of the repository as a zip file. See instructions below.
@@ -300,23 +257,20 @@ contents of the repository as a zip file. See instructions below.
300257
1. Zip folder will appear in your Downloads folder
301258

302259
This repository can be cloned/download anywhere on your computer. There is a
303-
dependency between this repository and the SimpleLink CC2640R2 SDK install
260+
dependency between this repository and the SimpleLink CC26x2 SDK install
304261
location.
305262

306-
By default the SimpleLink CC2640R2 SDK will install to:
307-
308-
C:\ti\simplelink_cc2640r2_sdk_x_xx_xx_xx
263+
By default the SimpleLink CC13x2 / CC26x2 SDK will install to ``C:\ti\``
309264

310-
If the SimpleLink CC2640R2 SDK must be installed to a different location, then
311-
see the [FAQ page](docs/faq.md) for IDE specific instructions for changing
265+
If the SimpleLink CC13x2 / CC26x2 SDK must be installed to a different location,
266+
then see the [FAQ page](docs/faq.md) for IDE specific instructions for changing
312267
environment variables.
313268

314269
## Required Tools
315270

316-
Similar to the SimpleLink CC2640R2 SDK, the examples in this repository support
317-
the CCS and IAR toolchains. Please refer to the release notes for the supported
318-
versions of each toolcahin. Using a non supported version is
319-
untested and may result in unexpected behavior.
271+
Similar to the SimpleLink CC13x2 / CC26x2 SDK, the examples in this repository
272+
support the CCS and IAR toolchains. Please pay careful attention to versions of
273+
these tools, please refer to the release notes for supported versions.
320274

321275
For more information on toolchain setup, please refer to our
322276
[FAQ page](docs/faq.md).
@@ -328,63 +282,54 @@ related to the ble_examples repo.
328282

329283
## Examples / Demo List
330284

331-
### Glucose Sensor
332-
333-
This sample project implements the Glucose Sensor profiles in a Bluetooth low
334-
energy peripheral device to provide an example of a glucose level monitor
335-
using simulated measurement data. The application implements the Sensor role of
336-
the glucose sensor profile. The project is based on the adopted profile and
337-
service specifications for glucose sensor.
338-
* glucose\_sensor
339-
* BLE 4.2
340-
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/glucose_sensor/README.html)
341-
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/glucose_sensor/tirtos/ccs)
342-
* [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/glucose_sensor/src)
343-
* BLE 5.0
344-
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/glucose_sensor/README.html)
345-
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/glucose_sensor/tirtos/ccs)
346-
* [Source](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/glucose_sensor/src)
347-
348-
### Heart Rate Sensor
349-
350-
This sample project implements the Heart Rate profiles in a Bluetooth low
351-
energy peripheral device to provide an example of a heart rate monitor
352-
using simulated measurement data. The application implements the Sensor role of
353-
the heart rate profile. The project is based on the adopted profile and
354-
service specifications for heart rate sensor.
355-
* heart\_rate
356-
* BLE 4.2
357-
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/heart_rate/README.html)
358-
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/heart_rate/tirtos/ccs)
359-
* [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/heart_rate/src)
360-
* BLE 5.0
361-
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/heart_rate/README.html)
362-
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/heart_rate/tirtos/ccs)
363-
* [Source](examples/rtos/CC2640R2_LAUNCHXL/ble5apps/heart_rate/src)
364-
365-
### Blood Pressure Monitor
366-
367-
This sample project implements the Blood Pressure profiles in a Bluetooth low
368-
energy peripheral device to provide an example blood pressure monitor (BPM)
369-
using simulated measurement data. The application implements the Sensor role of
370-
the blood pressure profile. The project is based on the adopted profile and
371-
service specifications for blood pressure.
372-
373-
* blood\_pressure
374-
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/blood_pressure/readme.md)
375-
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/blood_pressure/tirtos/ccs)
376-
* [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/blood_pressure/src)
377-
285+
### Simple Serial Socket
286+
287+
This is a UART over BLE bridge example where a Simple Serial Socket Client
288+
(SSSC) and Simple Serial Socket Server (SSSS) connect with one another and
289+
exchange UART data over the air. An generic Simple Stream Service is used
290+
making it easy to exchange data sink and source to create a custom serial
291+
socket over BLE implementation.
292+
293+
**Note: this example replaces the SPP over BLE example**
294+
295+
#### For CC26x2R
296+
297+
* Simple Serial Socket Client
298+
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/readme.md)
299+
* [IAR Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/tirtos/iar)
300+
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/tirtos/ccs)
301+
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client)
302+
* Simple Serial Socket Server
303+
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/readme.md)
304+
* [IAR Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/tirtos/iar)
305+
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/tirtos/ccs)
306+
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server)
307+
308+
### Bluetooth 5 Throughput Demo
309+
310+
Showcase a high (near theoretical max) data throughput over Bluetooth 5. The demo
311+
can be run with two CC26x2/CC13X2 Launchpads, or one CC26x2/CC13X2 Launchpad and one smartphone
312+
with the Simplelink Starter app.
313+
314+
#### For CC26x2R
315+
* Throughput Central
316+
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/readme.md)
317+
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/tirtos/ccs)
318+
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral)
319+
* Throughput Peripheral
320+
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/readme.md)
321+
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/tirtos/ccs)
322+
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral)
378323

379324
## References
380325

381326
The following reference pages may be helpful during general Bluetooth Low
382-
Energy development.
383-
Users developing Bluetooth applications are encouraged to read the
384-
[BLE-Stack User's Guide](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FDocuments%2FBLE-Stack%2FBLE-Stack%20User's%20Guide).
327+
Energy development. New users of the SimpleLink CC26x2 platform and Bluetooth
328+
5 development are encouraged to read the
329+
[BLE5-Stack User's Guide](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC13x2%2026x2%20SDK%2FDocuments%2FBLE5-Stack%2FBLE5-Stack%20User's%20Guide).
385330

386331
As an additional resource, users are encouraged to complete the
387-
[SimpleLink Academy](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FSimpleLink%20Academy)
332+
[SimpleLink Academy](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC13x2%2026x2%20SDK%2FSimpleLink%20Academy)
388333
training.
389334

390335
Other resources can be found below:

0 commit comments

Comments
 (0)