![Cypress EZ-BT WICED CYBT-343026-01 Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/cypress/ez-bt-wiced-cybt-343026-01/ez-bt-wiced-cybt-343026-01_getting-started_2705923018.webp)
Getting Started with EZ-BT WICED Modules
Document Number: 002-23400 Rev. **
18
7
My First EZ-BT WICED Module Design
This section gives you a step-by-step process for building a simple design with the CYBT-343026-EVAL kit using
existing sample applications which are part of the WICED Studio installation. Although this example project focuses on
CYBT-343026-EVAL, methods and process described here can be used for any CYBT WICED modules.
7.1
About the Design
This design implements the Serial Port Profile (SPP) profile for Bluetooth BR/EDR in slave mode, and a custom profile
for BLE in Peripheral mode.
Bluetooth SPP data is transferred from the CYBT-343026-EVAL board to a host that supports the Bluetooth BR/EDR
SPP profile. In this example project, we explain how to view the data that is transferred over SPP on a PC COM port
using Tera Term (or equivalent). This implementation demonstrates bulk data transfer using the Bluetooth SPP profile.
The BLE Peripheral with custom profile can communicate with any standard BLE host. Write requests received on a
custom characteristic (characteristic handle: 0x2D) from the BLE host will command the CYBT-343026-EVAL board to
blink an onboard LED. The number of LED blinks depends on the byte value received for this custom characteristic.
Figure 11. My First EZ-BT WICED Module Design
7.2
Prerequisites
Before you get started with the implementation, ensure that you have the following software and hardware available:
▪
▪
or CySmart
▪
PC which supports SPP profile for Bluetooth BR/EDR
▪
Tera Term application (or equivalent) running on the PC
▪
▪
CYBT-343026-EVAL Platform files (
You can create your first EZ-BT WICED Module design in four steps:
1. Create a project which includes the SPP profile of Bluetooth BR/EDR and a custom profile of Bluetooth Low Energy.
Merge SPP and Hello Sensor sample application projects. These example projects are contained in the WICED
Studio SDK.
2. Understand the flow of the WICED Studio application project and make necessary modifications based on the
3. Program the EZ-BT WICED Module on the Evaluation Kit.
4. Test your design using the CySmart Host Emulation Tool or mobile application and PC, which supports Bluetooth