Getting Started with EZ-BT WICED Modules
Document Number: 002-23400 Rev. **
11
4. Click the
New…
button to define a new working set, and
then choose “C/C++” and click
Next
.
5. Expand
20706-A2_Bluetooth
>
Apps
and select your project folder.
6. Enter a working set name (e.g., the same name as your project).
7. Click
Finish
to complete the working set definition.
8. Click the
Selected Working Sets
option and enable only the new set, then click
OK
.
9. Change the
Scope
setting to “Working set” if it does not change automatically.
10. Search as required with these settings to obtain results only within your project.
You can still perform global searches simply by changing the scope back to “
Workspace
” at any time, or by highlighting
any text in the code editor and pressing
Ctrl
+
Alt
+
G
.
4.1.3.3
Taking Advantage of Code Completion
The WICED Studio SDK provides numerous APIs to use the features available on supported target chipsets; it can be
challenging to keep the names and parameters straight. To help with this, use the
Ctrl
+
Space
shortcut key after typing
the first few letters or prefix of a function name; Eclipse will pop up a quick list of potential completed names, as shown
in the
Figure 5. Code Completion Example
Try code completion with any of the following API method prefixes (not a comprehensive list):
▪
wiced_bt
– Core Bluetooth application functions, callbacks, and some connection management
▪
wiced_bt_app
– For timer-related functions and others
▪
wiced_hal_gpio
–
General-purpose I/O (GPIO) features
▪
wiced_
hal
–
ADC, GPIO, PUART, SFLASH, Watchdog, NVRAM, etc.
4 . 1 . 4
M a k e T a r g e t L i s t
This pane contains individual build targets for example projects that come pre-installed with the WICED Studio SDK,
as well as new make targets that you create for new projects. Each build target provides a unique combination of the
following items:
▪
Path excluding root Apps folder (e.g.,
“snip.bt.”)
▪
Project name (e.g.,
“spp_custom”)
▪
Target platform (e.g.,
“CYBT_434026_EVAL”)
▪
Operational arguments (e.g.,
“download”, “UART=COM5”, and others)