BLE Android App

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Dear all,

   

I am currently connected optical sensor to the BLE device and apply the code in link 1. (The optical sensor senses how strong the light and represent it as a square wave and send it to the BLE device). Then I installed the Cysmart android app from the market and was able to obtain the frequency value on my phone from the BLE device. And I want to write an android app that is able to use the value obtained and do some calculations to it on the android device (maybe the user wants to add their own desire value to the result and display a new value etc). The problem is how am I able to achieve that, how can I obtain the value from the BLE device? 

   

 

   

P.S: I was also watching https://www.youtube.com/watch?v=yTnsV_J57i8&t, but unable to find a solution to my question.

   

1: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day042_PSo...

0 Likes
1 Solution
Anonymous
Not applicable

You will need to write an android app that:

   

Uses the bluetooth chip on the android phone,

   

Connects to your "optical sensor" BLE chip,

   

Reads the appropriate GATT characteristic,

   

And then you can use the read characteristic for you calculations (in your case the characteristic will be the frequency characteristic)

   

I have not done any android app development, but there are some examples: http://www.cypress.com/documentation/software-and-drivers/cysmart-mobile-app

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

You will need to write an android app that:

   

Uses the bluetooth chip on the android phone,

   

Connects to your "optical sensor" BLE chip,

   

Reads the appropriate GATT characteristic,

   

And then you can use the read characteristic for you calculations (in your case the characteristic will be the frequency characteristic)

   

I have not done any android app development, but there are some examples: http://www.cypress.com/documentation/software-and-drivers/cysmart-mobile-app

0 Likes