Cypress BLE-Beacon ios App User Guide

Similar documents
PSoC Creator Quick Start Guide

Digital Logic Gates. Features. General Description. Input/Output Connections. When to Use a Logic Gate. Input 1. Input 2. Inputs 3-8 * 1.

Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

This input determines the next value of the output. The output does not change until the next rising edge of the clock.

Use the Status Register when the firmware needs to query the state of internal digital signals.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

This section describes the various input and output connections for the SysInt Component.

The AMuxSeq is capable of having between 2 and 32 analog inputs. The paired inputs are present when the MuxType parameter is set to "Differential.

Use a DieTemp component when you want to measure the die temperature of a device.

EZ-PD Analyzer Utility User Guide

Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO)

Use the Status Register when the firmware needs to query the state of internal digital signals.

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Automatic reload of the period to the count register on terminal count

Capable of adjusting detection timings for start bit and data bit

PSoC 6 Current Digital to Analog Converter (IDAC7)

ModusToolbox USB Configurator Guide

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

THIS SPEC IS OBSOLETE

One 32-bit counter that can be free running or generate periodic interrupts

W H I T E P A P E R. Timing Uncertainty in High Performance Clock Distribution. Introduction

CE CY8CKIT-042-BLE F-RAM Data Logger

PSoC 4 Current Digital to Analog Converter (IDAC)

W H I T E P A P E R. Introduction. Devices. Energy Comparison of Cypress F-RAM and EEPROM

Comparator (Comp) Features. General Description. When to use a Comparator Low input offset. User controlled offset calibration

Analog Multiplexer (AMux) Features. General Description. Input/Output Connections. When to Use an AMux Single or differential connections

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Optional Pause Pulse for constant frame length of 282 clock ticks

Supports a range of speeds of external memories (from 5 to 200 ns) Supports external memory power-down, sleep, and wakeup modes

CE95314 PSoC 3, PSoC 4, and PSoC 5LP EZI2C

FM3 Family Motor Graphical Interface User Manual

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1.

AN F²MC-16FX Family, I2C. Contents. 1 Introduction. This application note describes how to communicate via I2C with a Serial EEPROM.

BGM Adaptor MB E Operation Manual. 8FX Family 8-bit Microcontroller. Doc. # Rev. *A

F²MC-8FX Family MB95200H/210H Series Capacitance Touch Sensor

MB39C811-EVB-03. PMIC for Solar/Vibration Energy Harvesting, Evaluation Board Operation Guide. Doc. No Rev. *B

Configurable transfer modes: single transfer, 1D transfer (using X loop) and 2D transfer (using both X and Y loops).

Chip Errata for the MB96300/MB96600 Series MOVS/MOVSW Overlap of source and destination region, F 2 MC-16FX Microcontroller

Shift Register. Features. General Description 1.20

Nine-Output 3.3 V Buffer

Supports Analog, Digital I/O and Bidirectional signal types

AN FR Family, MB91F467S Emulation. 1 Introduction. 2 Hardware Setup. 2.1 Required parts

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

FM4 S6E2Cx Series Over The Air Update 32-Bit Microcontroller With Embedded Dual Flash

Version February 02, 2018

CY8CKIT-002. PSoC MiniProg3 Program and Debug Kit Guide. Doc. # Rev. *H

PSoC 1 In-Circuit Emulator Development Kit Guide

The Emulated EEPROM Component should be used to store nonvolatile data on a target device.

External Library. Features. General Description 1.0. The library provides documentation for external components

PSoC Creator 4.2 Production Release Notes

EZ I2C Slave. Features. General Description. When to use a EZ I 2 C Slave Industry standard Philips I 2 C bus compatible interface

Cypress EZ-PD Configuration Utility User Manual

Use the Status Register when the firmware needs to query the state of internal digital signals.

Sequencing Successive Approximation ADC (ADC_SAR_Seq) Features. General Description. When to Use the ADC_SAR_Seq Supports PSoC 5LP devices

Solar-Powered BLE Sensor Beacon Reference Design Kit Guide CYALKIT-E02. Doc. No Rev. *B

Solar-Powered BLE Sensor Beacon Reference Design Kit Guide

FM0+ Family S6E1A1 Series, Flash Programming Guide

Use the Status Register when the firmware needs to query the state of internal digital signals.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

Operational Amplifier (Opamp) Features. General Description. Input/Output Connections. Noninverting Analog Follower or Opamp configuration

THIS SPEC IS OBSOLETE

PSoC 4 Voltage Comparator (Comp) Features. General Description. When to Use Comparator Low input offset. User controlled offset calibration

CY4701 EZ-USB GX3 Reference Design Guide

FM Universal Peripheral Driver Library Quick Start Guide

MB39C831-EVB-02 Thermal Energy Harvesting Evaluation Board Operation Guide

HX2VL Development Kit Guide. Doc. # Rev. **

GPIF II Designer - Quick Start Guide

Writing to Internal Flash in PSoC 3 and PSoC 5

Cypress HX2VL Configuration Utility Blaster User Guide

Voltage Reference (Vref) Features. General Description. Input/Output Connections. When to Use a Vref Voltage references and supplies

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration

for ColdFire Architectures V7.2 Quick Start

PSoC 4 Operational Amplifier (Opamp) Features. General Description. When to Use the Opamp Follower or Opamp configuration

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

Cypress HX2VL Configuration Utility Blaster User Guide

FM3 MB9B100A/300A/400A/500A Series Inverter Solution GUI User Guide

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

TI: Uses a short pulse on spi_select to indicate start of transaction. National Semiconductor (Microwire): Transmission and Reception occur separately

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

HX2VL Development Kit Guide. Doc. # Rev. *A

16-Mbit (512 K words 32 bits) Static RAM with Error-Correcting Code (ECC)

This user guide describes how to run the Atmel ATWINC3400 Bluetooth Low Energy (BLE) Provisioning demo from out-of-box conditions.

CYClockMaker Programming Kit Guide CY3675. Doc. # Rev. **

CYClockMaker Programming Kit Guide CY3675. Doc. # Rev. *C

THIS SPEC IS OBSOLETE

FR Family SOFTUNE Workbench User's Manual for V6

Peripheral Driver Library (PDL) Component (PDL Application Programming Interface (API) only)

ESS Utility Android App User Guide

CY3660-enCoRe V and encore V LV DVK Kit Guide

PSoC Programmer 3.12 Release Notes

Master modes provide all functionality necessary to work in a multi-master environment.

THIS SPEC IS OBSOLETE

Preliminary. Gas Sensor Analog Front End Datasheet GasSensorAFE V Features and Overview. This datasheet contains Preliminary information.

EZ-PD Dock Reference Design Guide

PSoC 1 I 2 C Bootloader

Hardware Design Guidelines for Using EZ-PD CCG3PA Devices in Power Adapter Applications

Application Development Guide

Clock Programming Kit

Version June 2, 2017

Transcription:

Cypress BLE-Beacon ios App User Guide Doc. No. 002-12101 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com

Copyrights Copyrights Cypress Semiconductor Corporation, 2016-2017. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ( Cypress ). This document, including any software or firmware included or referenced in this document ( Software ), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress s patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ( Unintended Uses ). A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 2

Contents 1. Introduction... 4 1.1 App Features... 4 1.2 Software and Hardware Requirements... 5 1.2.1 Software Requirements... 5 1.2.2 Hardware Requirements... 5 2. Software Installation... 6 2.1 Installing the App... 6 2.2 Uninstalling the App... 6 3. Getting Started... 7 4. Cypress BLE-Beacon App GUI Overview... 9 4.1 Home Screen (Graph)... 9 4.2 Home Screen (Device)... 10 4.3 Home Screen (Log)... 11 4.4 Navigation Side Menu... 12 4.5 Settings Screen... 13 4.6 Sharing Log... 16 Revision History... 18 Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 3

1. Introduction Cypress BLE-Beacon is a Bluetooth Low Energy (BLE) app developed by Cypress Semiconductor for smartphones and tablets. The Cypress BLE-Beacon ios app can be used with the following devices: S6SAE101A00SA1002 Solar-Powered IoT Device Kit www.cypress.com/solar-powered-iot-device-kit CYALKIT-E02 Solar-Powered BLE Sensor Beacon Reference Design Kit (RDK) www.cypress.com/cyalkit-e02 CYALKIT-E03 Solar-Powered BLE Sensor Beacon 5 Pack www.cypress.com/cyalkit-e03 The Cypress BLE-Beacon ios app can be used with the BLE example projects provided in PSoC Creator 3.3. PSoC Creator can be downloaded from www.cypress.com/psoccreator. For some helpful tips on finding an example project in PSoC Creator, visit www.cypress.com/blog/psoc-creator-news-and-information/matts-tips-finding-code-examples-psoccreator. 1.1 App Features The Cypress BLE-Beacon ios app allows users to receive and visualize beacon signals from CYALKIT-E02 and/or CYALKIT-E03. The app supports the following features: Device information Display device information Lists sensor device information including BLE Beacon-UUID/Major/RSSI and Eddystone-UID/URL/TLM frame Lists ten sensor devices at the same time Thermo-hygrometer Display sensor data as line charts Displays sensor data including temperature and humidity Displays ten sensor data at the same time Data logger Display sensor data as list Lists sensor data including Major ID, timestamp, temperature and humidity in chronological order Data Logger Stores in CSV format Logs data including Major ID, timestamp, temperature and humidity in chronological order Maximum log data size is 50 MB Related information is described on the kit s web pages described above. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 4

Introduction 1.2 Software and Hardware Requirements 1.2.1 Software Requirements Table 1-1. Software Prerequisites Software/Operating System Prerequisites Minimum Recommended ios 8.0 9.2.1 or later Refer to https://developer.apple.com/bluetooth for details on BLE support in ios. 1.2.2 Hardware Requirements Table 1-2. Hardware Requirements Hardware Requirements Minimum Recommended ios devices with BLE Bluetooth 4.0 Bluetooth 4.0 Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 5

2. Software Installation 2.1 Installing the App To install the Cypress BLE-Beacon app, perform the following steps: 1. From the ios device, open App Store. 2. Search for Cypress BLE-Beacon in App Store. Figure 2-1. Identifying Cypress BLE-Beacon App Using App Icon 3. Select the Cypress BLE-Beacon app and proceed to install the app on your ios device. 2.2 Uninstalling the App To uninstall the Cypress BLE-Beacon app, perform the following steps: 1. From the app drawer, long-press on the Cypress BLE-Beacon app. 2. Tap on the icon to uninstall the app. Select Delete when prompted for confirmation. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 6

3. Getting Started This chapter will help you get started with the Cypress BLE-Beacon app. It briefly describes how to receive packets from BLE devices. For the purposes of description, a CYALKIT-E02 Solar-Powered BLE Sensor Beacon RDK running a PSoC Creator 3.3 example project is used as the broadcaster device. 1. Set up the CYALKIT-E02 Solar-Powered BLE Sensor Beacon RDK, Solar BLE Sensor using the steps provided in the Quick Start Guide of RDK, which is available at www.cypress.com/cyalkit-e02. 2. Launch the Cypress BLE-Beacon app. A splash screen is displayed for a few seconds (Figure 3-1) before the app displays the home screen (Graph). If Bluetooth is turned OFF in the ios device, the app prompts a message box to turn ON Bluetooth (Figure 3-2) with the Settings and OK buttons. Press the Settings button to turn ON Bluetooth on the Settings screen. Pressing the OK button leaves the settings unchanged. Figure 3-1. Splash Screen Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 7

Getting Started Figure 3-2. Bluetooth Permission Request 3. The app shows the home screen (Graph) where the line charts of all discovered BLE devices are plotted (Figure 4-1). If the BLE device of interest does not appear in the graph, check to see the steps provided in the Quick Start Guide of RDK. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 8

4. Cypress BLE-Beacon App GUI Overview 4.1 Home Screen (Graph) The home screen (Graph) displays the device information and the latest sensor data advertised by the Solar BLE Sensor. Figure 4-1. Home Screen (Graph) The Home Screen (Graph) consists of the following features: Navigation Side Menu Share Graph Temperature Graph and Humidity Graph Data from the Solar BLE Sensor that has its ID on the ID Settings screen can be displayed in the graph as a line chart by tapping on the Scan button. After you do so, the label switches to Stop Scanning. The graph displays all discovered devices with the following information for each discovered device: BLE Beacon o Major ID o Temperature and Humidity Eddystone o BID Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 9

o Temperature Cypress BLE-Beacon App GUI Overview The app stops scanning when you tap the Stop Scanning button. After you do so, the label switches to Scan. The line charts in the graph are cleared when you tap the Clear button. You can scroll or resize the x-axis and y-axis as needed. The x-axis in Temperature Graph and Humidity Graph are scrolled or resized in synchronization. To reset scale to default, tap the Graph button when you are in the Home Screen (Graph). 4.2 Home Screen (Device) The Device screen will appear when you tap the Device button, as shown in Figure 4-2. The Device screen displays the list of detected Solar BLE Sensors. Figure 4-2. Home Screen (Device) The home screen (Device) of the Cypress BLE-Beacon app consists of the following features: Navigation Side Menu Share Device list Bluetooth LE Device List The Solar BLE Sensor that has its ID on the ID Settings screen is listed on the Device screen when you tap on the Scan button. After you do so, the label switches to Stop Scanning. The list of all discovered devices is displayed with the following information: BLE Beacon o Major ID, Sensor Data, and RSSI o UUID Eddystone o NID o BID and RSSI The app stops scanning when you tap the Stop Scanning button. After you do so, the label switches to Scan. All the Solar BLE Sensors listed on the Device screen are cleared when you tap the Clear button. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 10

Cypress BLE-Beacon App GUI Overview 4.3 Home Screen (Log) The Log screen appears when you tap the Log button, as shown in Figure 4-3. The Log screen displays the list of packets from the Solar BLE Sensors. Figure 4-3. Home Screen (Log) The home screen (Log) of the Cypress BLE-Beacon app consists of the following features: Navigation Side Menu Share Log data Bluetooth LE log data The packets from the Solar BLE Sensor that has its ID on the ID Settings screen are listed on the Log screen when you tap the Scan button. After you do so, the label switches to Stop Scanning. The list of all discovered packets is displayed with the following information: BLE Beacon o Time stamp o Temperature and Humidity o Major ID and Sensor Data o UUID Eddystone o Time stamp o NID o BID o ID The app stops scanning when you tap the Stop Scanning button. After you do so, the label switches to Scan. All the packets from the Solar BLE Sensors listed on the Log screen are cleared when you tap the Clear button. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 11

Cypress BLE-Beacon App GUI Overview 4.4 Navigation Side Menu The Navigation Side Menu provides options to view the device list, Cypress BLE products, contact details, and version information of the app (Figure 4-4). It can be opened by tapping the menu icon at the upper right corner of the screen. The options that the Navigation Side Menu provides are described in Table 4-1. Figure 4-4. Navigation Side Menu Table 4-1. Navigation Side Menu Details Navigation Side Menu Item Description Displays the home screen (Device/Graph/Log) Displays the Settings screen Provides a set of Cypress-related information as subitems. These subitems are links to Cypress s web pages that open in a web browser, provided the ios device is connected to the Internet. Opens the home page of the Cypress website, http://www.cypress.com. Opens the Cypress Energy Harvesting PMICs web page, http://www.cypress.com/energy-harvesting Opens the Cypress BLE products web page, http://www.cypress.com/ble. Opens the Cypress BLE-Beacon app web page, www.cypress.com/cypressble-beacon-app The Cypress BLE-Beacon ios App User Guide is available on this page. Opens the Cypress Contact Us web page. When the ios device is not connected to the Internet, it displays contact information and the email address of Cypress customer care. Displays the license information of open source software that the Cypress BLE-Beacon app uses Displays the version of the Cypress BLE-Beacon app and copyright details Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 12

Cypress BLE-Beacon App GUI Overview 4.5 Settings Screen The Settings screen shown in Figure 4-5 appears when you tap the Settings option in the Navigation Side Menu. Figure 4-5. Settings Screen A menu with the following options is displayed: Enable Logging ID Setting Reset Data logging can be turned ON/OFF by switching the Enable Logging option. The ID Setting screen shown in Figure appears when you tap on the ID Setting option. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 13

Cypress BLE-Beacon App GUI Overview Figure 4-6. ID Setting Screen The default IDs are: BLE Beacon UUID o 00050001-0000-1000-8000-00805F9B0131 Eddystone NID o CB 6F 15 CE C0 2A 41 F7 6A B1 The packet that has a ID specified here is displayed on the Device/Graph/Log screen. Otherwise, the app ignores the packet. The Reset Dialog box shown in Figure 4-7 appears when you tap the Reset option. The default settings are restored when you tap Reset Settings, and the default settings are not restored when you tap Cancel. Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 14

Cypress BLE-Beacon App GUI Overview Figure 4-7. Reset Settings Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 15

Cypress BLE-Beacon App GUI Overview 4.6 Sharing Log The Share option allows you to share the log data to various apps listed in the ios system. The share feature is accessible from the home screen (Device/Graph/Log). The following is the rule of logging: Up to five log files. Up to 100,000 log files in each log file. If the user enables logging on the Settings screen, the app generates and updates the log file. If the number of packet reaches 100,000, the app generates a new log file. If the user disables logging, the app closes the current log file even if the number of packets does not reach 100,000. Then if the user enables logging, the app generates a new log file. The app deletes the oldest log file before generating a new one if the number of existing log files is 5. To share the log, follow this procedure: 1. Tap the Share button in the upper right of the screen, as shown in Figure 4-8. The app shows a list of available log files. The list has up to five log files, as shown in Figure 4-9. 2. Tap on one of the files. The app shows a dialog box to share the log file, as shown in Figure 4-10. The selected app launches, as shown in Figure 4-11. Figure 4-8. Sharing Log Share Button Figure 4-9. Sharing Log Log Files Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 16

Cypress BLE-Beacon App GUI Overview Figure 4-10. Sharing Log Dialog Box Figure 4-11. Sharing Log App Launch Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 17

< Revision History Document Revision History Document Title: Cypress BLE-Beacon ios App User Guide Document Number: 002-12101 Revision Issue Date Origin of Change Description of Change ** 05/01/2016 KEIO New user guide *A 04/07/2017 EIFU Updated Cypress Logos Added Eddystone functions Cypress BLE-Beacon ios App User Guide, Doc. No. 002-12101 Rev. *A 18