You are here

Display of Sensor value using BLE in CySmart App | Cypress Semiconductor

Display of Sensor value using BLE in CySmart App

Summary: 6 Replies, Latest post by sunil.bellure_1697601 on 24 Sep 2016 12:50 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
sunil.bellure_1697601's picture
User
11 posts

Hello, 

 

Working on a project using CY8CKIT-042-BLE. 

In this project, i have used ultrasonic sensor to measure the distance and display on the terminal using UART communication. Also i have to display the same on the CySmart app. 

Successfully achieved the UART Communication part.

Is there any one to help me on the same to display the values on the Cysmart App.. I have created a custom profile and able to establish the connection, but am getting as Unknown service. 

I just want to know which api's do the function to send the values which is displayed on the terminal window to the CySmart App.

Here GATT is a Server and GAP role is peripheral.

Is that i have to write a function of (CYBLE_GAP_DATA_LENGTH_T*readParam) this and acquire the values??

 

Or i have to write the main code after connection is established by using CYBLE_EVT_GAP_DEVICE_CONNECTED:

user_242978793's picture
User
1201 posts

Here is the Android program for CYSmart.

sunil.bellure_1697601's picture
User
11 posts

Hi, thanks for your comment, I have already installed the CySmart app on my mobile, I just need to know the API used inorder to send the data coming from GATT UART to CySmart. Is there any API to do this?

user_242978793's picture
User
1201 posts

Here is a complete PDF on a custom service.

user_242978793's picture
User
1201 posts

That is  not the  CYSmart APP it is the source code for CYSsmart so you can make your own custom Application.

sunil.bellure_1697601's picture
User
11 posts

Hello bobgoar,

I am not in need of the source code for the cysmart. I just want to know how to transfer the data from the PSoC Creator (UART Communication) to the BLE Peripheral.

I have attached the image, the data's received on the terminal should also be displayed on the GAP Peripheral (which is on the CySmart App after creating the custom profile)

sunil.bellure_1697601's picture
User
11 posts

Thanks bobgoar for the source code of the CySmart App. As on recent research i understood that the app is not compatible for the custom profile services so we need to change the code as per the requirements!!
 

Log in to post new comments.