You are here

PSoC 4 BLE communication with pc java application | Cypress Semiconductor

PSoC 4 BLE communication with pc java application

Summary: 2 Replies, Latest post by Daniel Caliari on 12 Dec 2015 10:02 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
Daniel Caliari's picture
107 posts

Hi Everyone,

I am starting to develop a communication system by Bluetooth between the PSoC 042 BLE and a Java application in my pc. I already programmed an app to android and another one to pc ( both programmed in Java) to communicate to each other, and It worked very well. But I got stuck at developing  Bluetooth in C/C++ language for PSoC. I already ran the "find me" example and tried It with my tablet and pc( with dongle only) and It worked great. But as soon as I want to develop my own applications, I need to comprehend the pc client side.

My doubts:

- For bluetooth protocols It is necessary an address( similar to URL) defined by server ( in my case I want the PSoC to be). Where can I configure It?

- What is the default procedure to an external device connect as client to PSoC 4 BLE ( as a server)?

- What is the difference between using the red little shield and the black little shield that comes with the PSoC BLE 042?

- There is some example in Java that I can see to understand the default procedure?

user_78878863's picture
2553 posts

For BLE you don't need anything like an URL. You need the ID of your BLE device so you can connect to it, but thats it.

The black board is a PRoC BLE, the red on a PSoC BLE (I think this is explained in the user guide).

A good example is the CySmart Android application, someone posted the sources here recently.

Daniel Caliari's picture
107 posts

Well, I made some search and in this example they use a kind of serverUrl

I will take a look at these codes that you said, because I think It is going to be more clear after I see an example directed to PSoC Ble 4.

Log in to post new comments.