BLE Indoor Positioning with PSoC
6 MCU with BLE Connectivity
Document No. 002-17647 Rev.**
2
iOS
Android
Terminal Tool
This example uses a terminal window. You must have terminal software, such as Tera Term or PuTTy.
Operation
You can connect to the IPS Server device with CySmart or any BLE 4.1- or BLE 4.2-compatible device configured in the GAP
Central role and capable of discovering IPS. To connect to the IPS Server, press
SW2
CY8CKIT-062 PSoC 6 BLE Pioneer
to switch to Connectable Advertisement mode. The blue LED indicates that the Connectable Advertisement mode is enabled.
To accept the password displayed on the HyperTerminal, press
SW2
CY8CKIT-062 PSoC 6 BLE Pioneer Kit
or press ‘
y
’
on the HyperTerminal. Optionally, the example project can use the legacy Security Mode 1 Level 3 (Authenticated pairing with
encryption).
Operation Steps
1. Plug the CY8CKIT-062-
BLE kit board into your computer’s USB port.
2. Open a terminal window and perform following configuration: Baud rate
– 115200, Parity – None, Stop bits – 1, Flow control
– XON/XOFF. These settings must match the configuration of the PSoC Creator UART Component in the project.
3. Build the project and program it into the PSoC 6 MCU device. Choose
Debug
>
Program
. For more information on device
programming, see PSoC Creator Help. Flash for both CPUs is programmed in a single program operation.
4. Observe the blue LED blinks while the device is advertising, and the output in the terminal window.
5. Do the following to test example, using the CySmart Host Emulation Tool application as Indoor Positioning Service Client:
a. Connect the BLE Dongle to your Windows PC. Wait for the driver installation to complete, if necessary.
b. Right-click the BLE Component and select Launch CySmart to launch the CySmart Host Emulation Tool. Alternatively,
you can navigate to
Start
>
Programs
>
Cypress
and click
CySmart
.
c.
CySmart automatically detects the BLE dongle connected to the PC. Click
Refresh
if the BLE dongle does not appear
in the
Select BLE Dongle Target
pop-up window. Click
Connect