Skip to content

Commit d28eeff

Browse files
committed
Merge pull request #96 in SA/ble_examples from simplelink_cc2640r2_sdk-3.30-develop to master
Squashed commit of the following: commit d96c52668836607e5628b1eed6378b0764754572 Author: Marie Hernes <[email protected]> Date: Fri Nov 15 14:49:33 2019 +0100 Clean up after rebase. commit fe7e5a8eaab59a8d462c6439d835335fce89b21a Author: Marie Hernes <[email protected]> Date: Fri Nov 15 07:28:53 2019 -0600 Merge pull request #95 in SA/ble_examples from feature/move-develop-to-sss to simplelink_cc2640r2_sdk-3.30-develop Squashed commit of the following: commit 34d4fe65f8403bd0e25fbbd4e428f4c73923fc25 Author: Marie Hernes <[email protected]> Date: Fri Nov 15 09:52:34 2019 +0100 Minor change. commit 86f286d74313285ff0fc1a07671b5ec81d7bb61e Author: Marie Hernes <[email protected]> Date: Fri Nov 15 08:30:57 2019 +0100 Deleted everything that is not SSS commit 37cf65204193d44de12d5b2467fbc1f0539c6288 Author: Marie Hernes <[email protected]> Date: Fri Nov 15 07:46:23 2019 +0100 small changes to settings. commit 0af161bbe7dfeda055480ddfd1bde938e3efa442 Author: Marie Hernes <[email protected]> Date: Fri Nov 15 07:43:15 2019 +0100 Changes in docs. commit 381945a735b8e9ea27cf922f1d6524a25636b9e3 Author: Marie Hernes <[email protected]> Date: Thu Nov 14 14:42:52 2019 +0100 Fix memory issue. commit 3fd413df0feb8f16373bb69d602fa6f2c4bab408 Author: Marie Hernes <[email protected]> Date: Thu Nov 14 14:32:59 2019 +0100 Small changes client. commit 0f9b90e98721563b8e98ba1deba1e47cde9ca7b7 Author: Marie Hernes <[email protected]> Date: Thu Nov 14 12:51:42 2019 +0100 Configure RF mode in build config. commit 42def47ec9ec6ee2ef3ee46e9059849f154d54f0 Author: Marie Hernes <[email protected]> Date: Thu Nov 14 12:49:30 2019 +0100 Configure RF mode in build config. commit cd7e6ab80458e59e171d98cfaa9c9cc96a95fdcc Author: Marie Hernes <[email protected]> Date: Thu Nov 14 12:45:54 2019 +0100 Remove cache as ram remains. commit 898f490b5b2ea24d711f43962ec1eee390218aa4 Author: Marie Hernes <[email protected]> Date: Thu Nov 14 12:41:54 2019 +0100 Fix error with SHOW_BD_ADDR. commit 638e578af89a733b3c25f5245e6b70e81c11381c Author: Marie Hernes <[email protected]> Date: Thu Nov 14 10:14:42 2019 +0100 Some changes. commit 2b30e1d419bd72e03af9292fc54cca793d303695 Author: Marie Hernes <[email protected]> Date: Tue Nov 12 12:37:36 2019 +0100 SOmething is wrong commit 8afa6b0c24d0b752a9b6bd565a830b32d51a8697 Author: Marie Hernes <[email protected]> Date: Tue Nov 12 10:49:59 2019 +0100 Iar for SSSS. commit 127dce35d627c2d88467245852fb01e75a5baf6f Author: Marie Hernes <[email protected]> Date: Tue Nov 12 10:42:00 2019 +0100 Effort to help iar. commit 0ce24d66f6ae1cf4eba7c1fbe82a4a6872d0a7ad Author: Marie Hernes <[email protected]> Date: Tue Nov 12 10:32:20 2019 +0100 peripheral observer builds and runs in CCS commit 5c7551efa44746a0a7ca721fee08137e28c45271 Author: Marie Hernes <[email protected]> Date: Mon Nov 11 12:59:24 2019 +0100 Deleted ewd. commit a72d8480beee960555ba53a0e2b2d283b42ecd48 Author: Marie Hernes <[email protected]> Date: Mon Nov 11 12:58:13 2019 +0100 Builds and runs in IAR commit 34eb7540e33c149dd0c548444ee1085201b4ba3a Author: Marie Hernes <[email protected]> Date: Mon Nov 11 12:00:56 2019 +0100 More random changes. commit 603b8cfb190c4a8ff08f8ef5fd8d0415cb30f264 Author: Marie Hernes <[email protected]> Date: Tue Nov 5 13:34:11 2019 +0100 IAR first try. commit d7d19a719474b88a570360bf3ae428d3ed7d88dd Author: Marie Hernes <[email protected]> Date: Tue Nov 5 12:16:29 2019 +0100 SSSS and sSSC builds and runs in CCS. commit 4d72387057b7327245a408a7ddb4096d0db50b1a Author: Sean Lyons <[email protected]> Date: Tue Jan 1 14:33:14 2019 -0600 Merge pull request #87 in SA/ble_examples from feature/fix_SSS_client_not_reconnecting_after_termination to simplelink_cc2640r2_sdk-2.20 Squashed commit of the following: commit 94b26cac7840dd13ead27d50305963e5193fa8fc Author: Wennerfeldt <[email protected]> Date: Thu Oct 18 13:16:59 2018 +0200 Fix so that client now starts discovery again following a termination. Fixed internal state in discovery support functions not being properly reset. commit b7af2d960078f1418ec36521613c1190062b1d9a Author: Sean Lyons <[email protected]> Date: Tue Jan 1 14:35:46 2019 -0600 Merge pull request #88 in SA/ble_examples from feature/add_heap_buffer_limit_to_sss_example to simplelink_cc2640r2_sdk-2.20-develop Squashed commit of the following: commit 93d0978a8d4cfdf71eadf5dc0f30fe118f102bc9 Author: Wennerfeldt <[email protected]> Date: Wed Oct 24 08:48:12 2018 +0200 Added an "alloacte only if enough headroom" helper function that is sued by the streaming service to reserve heap for the BLE appliation/stack. commit d95cd3389608ca315f9b0b1ec8754533be6314a6 Author: Sean Lyons <[email protected]> Date: Thu Sep 6 21:15:16 2018 +0200 Fix typo in readme commit 7ac750c02cd7d997adb7bbff43d06cd7b224d9df Author: Sean Lyons <[email protected]> Date: Thu Sep 27 09:12:34 2018 -0500 Merge pull request #85 in SA/ble_examples from bugfix/LPRFAPPS-952-update-board-files-on-s3-example to simplelink_cc2640r2_sdk-2.20-develop Squashed commit of the following: commit af24ffc2060b29a89ba2c2d3137ce6bbbaacb5d6 Author: Wennerfeldt <[email protected]> Date: Wed Sep 26 08:43:23 2018 +0200 Updates based on feedback commit e1df1bd6a518f5d6dd7fb49e82cb3ef63c4354d3 Author: Wennerfeldt <[email protected]> Date: Tue Sep 25 13:49:23 2018 +0200 LPRFAPPS-952: Added information on how to increase UART ring buffer and how to enable "UART mode" support for third-party applications. commit 074b433a9e901c28a26d2300a6d5d975f822877d Author: Sean Lyons <[email protected]> Date: Thu Sep 6 21:09:51 2018 +0200 Remove version # from SSSC readmes commit d23fceb7d4efd4f945e4910c8409964cfcf7f917 Author: Sean Lyons <[email protected]> Date: Thu Sep 6 15:45:57 2018 +0200 Readme updates commit 54b56b5830f9a83eab03a3677853568c5446063a Author: Sean Lyons <[email protected]> Date: Thu Sep 6 08:24:39 2018 -0500 Merge pull request #84 in SA/ble_examples from feature/simple_serial_bridge to simplelink_cc2640r2_sdk-2.20-develop Squashed commit of the following: commit 8e27e047e0e7700805cceb5e790de5e4acfff879 Author: Wennerfeldt <[email protected]> Date: Wed Sep 5 15:08:20 2018 +0200 Updated readme files commit 9ca594e36c1ddc2fd6b16c5d22fa989d0ff95213 Author: Wennerfeldt <[email protected]> Date: Wed Sep 5 08:57:13 2018 +0200 Refactoring and adjustments based on feedback commit 1f9509b7c745bdba9a37ca7ef6dd0f3754f0e379 Author: Wennerfeldt <[email protected]> Date: Thu Aug 30 10:41:37 2018 +0200 Refactoring of client side code, changed project names commit 0c1fad0cb04fd113bf18380e775e9f7952a68995 Author: Wennerfeldt <[email protected]> Date: Mon Aug 27 15:14:02 2018 +0200 Memory leak fixes and polishing commit 4e6a4717fa3f43b94e7b5798bdcdec1cdc759e5b Author: Wennerfeldt <[email protected]> Date: Wed Aug 22 15:29:33 2018 +0200 Initial commit of Simple serial bridge example commit aad4666b4d0f91a694c4b6612d8aa9318a9bd58a Author: Sean Lyons <[email protected]> Date: Thu Sep 6 15:22:44 2018 +0200 Batch prot to SDK 2.20 commit d4ee27813e2f1c56ae76187f753f70c0f8ae25bd Author: Sean Lyons <[email protected]> Date: Thu Sep 6 10:12:59 2018 +0200 Batch up to CC2640R2 SDK 2.20
1 parent 0b86232 commit d28eeff

File tree

213 files changed

+13296
-64677
lines changed

Some content is hidden

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

213 files changed

+13296
-64677
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
**/config/src
1111
**/tirtos/src
1212
**/tirtos/iar/config/
13-
**/Tools/src
1413
*.dep
1514
*.log
1615
*.ewt

README.md

Lines changed: 60 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@
1212

1313
# Introduction
1414

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

17-
This repository contains *Bluetooth&reg;* 5 sample applications for
18-
Texas Instruments' SimpleLink CC13x2 / CC26x2 SDK. These examples have not been
17+
This repository contains *Bluetooth&reg;* Low Energy sample applications for
18+
Texas Instruments' SimpleLink CC2640R2 SDK. These examples have not been
1919
validated as production-ready.
2020

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

2424
To use the examples and tools in this repository, please download and install
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.
25+
the [SimpleLink CC2640R2 SDK](http://www.ti.com/ble-stack) **first**, and if
26+
necessary [buy an evaluation kit](http://www.ti.com/tool/launchxl-cc2640r2).
2727

2828
If you have any questions please refer to the [FAQ page](docs/faq.md).
29+
2930
For examples for other SDK versions and platforms, see table below.
3031

3132
<table>
@@ -36,7 +37,17 @@ For examples for other SDK versions and platforms, see table below.
3637
</tr>
3738
<tr>
3839
<td>
39-
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_sdk-3.20">TI SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 (current)</a>
40+
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc2640r2_sdk-3.30">TI SimpleLink CC2640R2 SDK 3.30.00.20 (current)</a>
41+
</td>
42+
<td>
43+
<ul>
44+
<li><a href="#simple-serial-socket">Simple Serial Socket</a></li>
45+
</ul>
46+
</td>
47+
</tr>
48+
<tr>
49+
<td>
50+
<a href = "https://github.com/ti-simplelink/ble_examples/tree/simplelink_sdk-3.20">TI SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67</a>
4051
</td>
4152
<td>
4253
<ul>
@@ -100,11 +111,11 @@ For examples for other SDK versions and platforms, see table below.
100111
</td>
101112
<td>
102113
<ul>
103-
<li>Simple Serial Socket</li>
104-
<li>Micro BLE Stack Broadcaster Observer</li>
105-
<li>Bidirectional Audio</li>
106-
<li>Simple Peripheral Observer</li>
107-
<li>Apple Notification Center Service</li>
114+
<li><a href="#simple-serial-socket">Simple Serial Socket</a></li>
115+
<li><a href="#micro-ble-stack-broadcaster-observer">Micro BLE Stack Broadcaster Observer</li>
116+
<li><a href="#bidirectional-audio">Bidirectional Audio</li>
117+
<li><a href="#simple-peripheral-observer">Simple Peripheral Observer</li>
118+
<li><a href="#apple-notification-center-service">Apple Notification Center Service</li>
108119
</ul>
109120
</td>
110121
</tr>
@@ -201,25 +212,37 @@ Older releases can be accessed by checking out/downloading their corresponding
201212
branch. For more information on supported examples
202213
please consult the readme.md of the desired branch/release.
203214

215+
For for more information about different SDK components, please consult the
216+
BLE-stack User's Guide.
217+
204218
## Change Log
205219

206220
Note: The version numbers below are related to GitHub ble_examples releases.
207221
The numbering scheme is in the form of M.mm.pp.bb. The fields pp.bb are incremented
208222
as GitHub examples are released, M.mm will map a GitHub release to a SimpleLink
209223
SDK release.
210224

225+
### 3.30.00.00
226+
Initial offering of select SimpleLink CC2640R2 SDK 3.30.00.20 examples.
227+
211228
### 3.20.00.00
212-
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 examples,
213-
supporting the rev. E of the SimpleLinkCC26x2 and CC13x2 MCUs.
229+
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 examples supporting
230+
the rev. E of the SimpleLinkCC26x2 and CC13x2 MCUs.
214231

215232
### 2.40.00.00
216233
Initial offering of SimpleLink CC13x2 / CC26x2 SDK 2.40.00.81 examples.
217234

235+
### 2.20.00.00
236+
New examples added.
237+
* BLE-Stack: Simple Serial Socket Server/Client added
238+
239+
**SPP over BLE is now deprecated and replaced by Simple Serial Socket**
240+
218241
## Installation
219242

220243
This repository can be cloned and tracked using Git. For instructions on how to
221-
clone a repository from GitHub please refer to this guide:
222-
[Clone from GitHub](https://help.github.com/articles/cloning-a-repository/)
244+
clone a repository from Github please refer to this guide:
245+
[Clone from Github](https://help.github.com/articles/cloning-a-repository/)
223246

224247
For users who are unfamiliar with Git, there is the option of downloading the
225248
contents of the repository as a zip file. See instructions below.
@@ -229,20 +252,23 @@ contents of the repository as a zip file. See instructions below.
229252
1. Zip folder will appear in your Downloads folder
230253

231254
This repository can be cloned/download anywhere on your computer. There is a
232-
dependency between this repository and the SimpleLink CC26x2 SDK install
255+
dependency between this repository and the SimpleLink CC2640R2 SDK install
233256
location.
234257

235-
By default the SimpleLink CC13x2 / CC26x2 SDK will install to ``C:\ti\``
258+
By default the SimpleLink CC2640R2 SDK will install to:
259+
260+
C:\ti\simplelink_cc2640r2_sdk_2_20_00_49
236261

237-
If the SimpleLink CC13x2 / CC26x2 SDK must be installed to a different location,
238-
then see the [FAQ page](docs/faq.md) for IDE specific instructions for changing
262+
If the Simplelink CC2640R2 SDK must be installed to a different location, then
263+
see the [FAQ page](docs/faq.md) for IDE specific instructions for changing
239264
environment variables.
240265

241266
## Required Tools
242267

243-
Similar to the SimpleLink CC13x2 / CC26x2 SDK, the examples in this repository
244-
support the CCS and IAR toolchains. Please pay careful attention to versions of
245-
these tools, please refer to the release notes for supported versions.
268+
Similar to the Simplelink CC2640R2 SDK, the examples in this repository support
269+
the CCS and IAR toolchains. Please refer to the release notes for the supported
270+
versions of each toolcahin. Using a non supported version is
271+
untested and may result in unexpected behavior.
246272

247273
For more information on toolchain setup, please refer to our
248274
[FAQ page](docs/faq.md).
@@ -264,69 +290,26 @@ socket over BLE implementation.
264290

265291
**Note: this example replaces the SPP over BLE example**
266292

267-
#### For CC1352R
268-
269-
* Simple Serial Socket Client
270-
* [Documentation](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_client/readme.md)
271-
* [IAR Project Files](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_client/tirtos/iar)
272-
* [CCS Project Files](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_client/tirtos/ccs)
273-
* [Source](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_client/src)
274-
* Simple Serial Socket Server
275-
* [Documentation](examples/rtosCC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_server/readme.md)
276-
* [IAR Project Files](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_server/tirtos/iar)
277-
* [CCS Project Files](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_server/tirtos/ccs)
278-
* [Source](examples/rtos/CC1352R1_LAUNCHXL/ble5apps/simple_serial_socket_server/src)
279-
280-
#### For CC26x2R
281-
282293
* Simple Serial Socket Client
283-
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/readme.md)
284-
* [IAR Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/tirtos/iar)
285-
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/tirtos/ccs)
286-
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_client/src)
294+
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/readme.md)
295+
* [IAR Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/tirtos/iar)
296+
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/tirtos/ccs)
297+
* [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_client/src)
287298
* Simple Serial Socket Server
288-
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/readme.md)
289-
* [IAR Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/tirtos/iar)
290-
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/tirtos/ccs)
291-
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/simple_serial_socket_server/src)
292-
293-
### Bluetooth 5 Throughput Demo
294-
295-
Showcase a high (near theoretical max) data throughput over Bluetooth 5. The demo
296-
can be run with two CC26x2 Launchpads, or one CC26x2 Launchpad and one smartphone
297-
with the Simplelink Starter app.
298-
299-
* throughput\_peripheral
300-
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/readme.md)
301-
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/tirtos/ccs)
302-
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_peripheral/src)
303-
* throughput\_central
304-
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_central/readme.md)
305-
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_central/tirtos/ccs)
306-
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/throughput_central/src)
307-
308-
### Tree Structure Network
309-
310-
Set up a tree structure network using tiers of star network. This network format
311-
can be used to set up a network with up to 47 devices. The same application is used
312-
for the founding node (grandpa node), the middle nodes (father nodes) and the
313-
children nodes.
314-
315-
* tree_structure_network
316-
* [Documentation](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/tree_structure_network/readme.md)
317-
* [CCS Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/tree_structure_network/tirtos/ccs)
318-
* [IAR Project Files](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/tree_structure_network/tirtos/iar)
319-
* [Source](examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/tree_structure_network/src)
299+
* [Documentation](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/readme.md)
300+
* [IAR Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/tirtos/iar)
301+
* [CCS Project Files](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/tirtos/ccs)
302+
* [Source](examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/src)
320303

321304
## References
322305

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

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

332315
Other resources can be found below:

docs/faq.md

Lines changed: 50 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
## Frequently Asked Questions
22

3-
* [What if I installed the SimpleLink CC13X2 / CC26x2 SDK at a non default location (e.g. Not at ``C:\ti\``)?](#what-if-i-installed-the-simplelink-cc13x2-26x2-sdk-at-a-non-default-location-eg-not-at-cti)
4-
* [How can I setup my toolchain for use with the ble\_examples repo?](#how-can-i-setup-my-toolchain-for-use-with-the-ble_examples-repo)
5-
* [I am using a LaunchPad device, how can I view display data?](#i-am-using-a-launchpad-device-how-can-i-view-display-data)
3+
* [What if I installed the SimpleLink CC2640R2 SDK at a non default location (i.e. not at ``C:\ti\simplelink_cc2640r2_sdk_3_30_00_20``)?](#default)
4+
* [Why am I getting an error when I am trying to run a Python script from the /tools folder?](#python)
5+
* [How can I setup my toolchain for use with the ble\_examples repo?](#toolchain)
6+
* [I am using a LaunchPad device, how can I view display data?](#display)
67
---
78

8-
### <a name="default"></a>What if I installed the SimpleLink CC13X2 / CC26x2 SDK at a non default location (e.g. Not at ``C:\ti\``)?
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_3_30_00_20``)?
910

1011
All projects reference files from the BLE stack using environment variables, you
11-
can change this in your IDE's project files.
12+
can change this in your IDE's project files.
1213

13-
Alternatively, you can make a symlink in the default location pointing to your
14-
custom location. E.g., if you have cloned this repo to ``C:\git\`` you can use
15-
the following command:
14+
**CCS**
15+
16+
No changes to the project is necessary. You just need to ensure that Code
17+
Composer Studio was able to discover the SimpleLink CC2640R2 SDK in the
18+
available *RTSC Products* tab. See the
19+
[BLE-Stack User's Guide](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FDocuments%2FBLE-Stack%2FBLE-Stack%20User's%20Guide)
20+
for more details.
21+
22+
23+
**IAR**
1624

17-
``mklink /d ble_examples-simplelink_cc13x2_26x2_sdk-3.20 C:\git\ble_examples``
25+
1. Navigate to the sample project directory within the repo and open the
26+
`.custom_argvars` file.
27+
1. Update the value of ``SIMPLELINK_CORE_SDK_INSTALL_DIR`` to point to your
28+
custom installation directory where you installed the SimpleLink CC2640R2 SDK.
1829

1930
---
2031
### <a name="versioning"></a>How should I keep my application based on a TI BLE-Stack SDK under version control?
@@ -27,33 +38,48 @@ You can read more here: [Version Control](suggested_workflow.md)
2738

2839
---
2940

41+
### <a name="python"></a>Why am I getting an error when I am trying to run a Python script from the /tools folder?
42+
43+
Likely your Python environment is not installed correctly. Please check the
44+
following debug steps:
45+
46+
1. All scripts in the tools folder use Python 2.7, ensure that you have this
47+
version installed to `C:\Python27`
48+
1. Python scripts can be invoked using `python <script_name>.py` this requires
49+
adding Python to your environment variables.
50+
* Add ``C:\Python27`` to the `PATH` variable within your Windows environment
51+
variables, see
52+
[windows env vars](https://www.java.com/en/download/help/path.xml) for more
53+
info.
54+
1. If you can run the script successfully but get a runtime error, you likely
55+
don't have the necessary python modules installed.
56+
* Python modules can be found by looking at the `import` statements at the top
57+
of the `.py` file. You can install Python modules using the Python package
58+
manager, pip.
59+
- Install Pip by following
60+
[these steps](http://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows).
61+
The section "Python 2 ≤ 2.7.8 and Python 3 ≤ 3.3" will be most helpful.
62+
63+
---
64+
3065
### <a name="toolchain"></a>How can I setup my toolchain for use with the ble\_examples repo?
3166

3267
**CCS**
3368

34-
1. Import the project to your CCS workspace
35-
2. Open Project -> Properties -> General -> Products and select the 3.20.00.68
36-
version of SimpleLink CC13x2 26x2 SDK.
37-
3. Build and flash the example project.
38-
69+
For BLE-Stack examples, see the *Developing with CCS* section of the
70+
[BLE-Stack User's Guide](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FDocuments%2FBLE-Stack%2FBLE-Stack%20User's%20Guide).
3971
**IAR**
4072

41-
1. Open IAR, if there is any active workspace close it.
42-
2. Open Tools -> Configure Custom Argvars -> Global and make sure no groups are
43-
active (if they are you can disable or delete them with the buttons on the
44-
left side). Import ``ble_examples.custom_argvars`` from ``ble_examples\tools\iar``.
45-
3. Close the Configure Custom Argvars view. Open the ``.template.eww`` file with
46-
the Open Workspace option.
47-
4. When asked to select a folder for the workspace, make sure to select an empty
48-
folder.
49-
5. Build and flash the example project.
73+
For BLE-Stack examples, see the *Developing with IAR* section of the
74+
[BLE-Stack User's Guide](http://dev.ti.com/tirex/#/?link=Software%2FSimpleLink%20CC2640R2%20SDK%2FDocuments%2FBLE-Stack%2FBLE-Stack%20User's%20Guide).
5075

5176
---
5277

5378
### <a name="display"></a>I am using a LaunchPad device, how can I view display data?
79+
5480
LaunchPad projects are already set up to use the tidriver Display. For more
5581
information about the Display driver please see the Display.h driver
56-
documentation in the SimpleLink CC13X2 / CC26x2 SDK (`docs/tidrivers/tidriversAPI.html`)
82+
documentation in the SimpleLink CC2640R2 SDK (`docs/tidrivers/tidriversAPI.html`)
5783

5884
To setup your PC to receive this data please follow the steps below:
5985

docs/suggested_workflow.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ on what files should be modified by the developer, and how to best do so.
9898
The TI SimpleLink SDK should be treated as a Read Only (RO) dependency that is
9999
required to build the customer application. At the start of a development cycle,
100100
the developer should start with a given TI SimpleLink SDK and based on the
101-
guidance in the protocol stack user guide (i.e. ble5stack-users-guide) select a
101+
guidance in the protocol stack user guide (i.e. blestack-users-guide) select a
102102
sample application from the SDK as a base for their development.
103103

104104
At this time the customer should copy the **application software** and **board**
@@ -178,8 +178,8 @@ merge their changes with those from the latest SimpleLink SDK release.
178178

179179
*This is a critical step as there may have been useful bug-fixes or changes in
180180
the files that improve performance* The customer should evaluate these changes
181-
and determine whether or not to incorporate them into their code base.
182-
(manual step)
181+
and determine whether or not to incorporate them into their code base (manual
182+
step).
183183

184184
### Workspace concepts
185185

0 commit comments

Comments
 (0)