Display of Sensor value using BLE in CySmart App | Cypress Semiconductor
Display of Sensor value using BLE in CySmart App
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: