Does your application see other BLE devices? BLE is different from normal bluetooth. Also, does the CySmart tool see your device?
My application see my tablet, smartphone and other computers Bluetooth. I got the "Find Me" example as a base for trying this and the CySmart tool could see it.
What you mean by "BLE is different from normal bluetooth" ?
I didn't have notice that there is different kinds of bluetooth and maybe It is the motive why I can't see It like "classical" bluetooth devices. So must I use the dongle device to capture the bluetooth LE everytime?
There are (newer) smartphones that already are equipped with BLE. When you do not have got another BLE device you will have to use the BLE dongle which is nothing more than just a small BLE chip on a small board.
I think I finally found were the problem is. I was developing an Java app for desktop, but It only supports bluetooth version 2. The bluetooth LE was made on version 4, so it never really would work. I looked the configurations on my pc and the bluetooth device supports version 4. So I am going to abandon Java for now and migrate to Qt ( Tha supports version 4).
Thanks for the help!.
There is no 'best language' for BLE. It all depends on which platform you are. On iOS its probably Swift, on Android its Java. On Linux probably C / C++ (together with the BlueZ stack), on Windows mostly C#. If you find a nice library for BLE development, you can use any language you want.
I agree with you, but my problem is exactly to find a library/language to Windows. I saw one or two examples in C# but they were in L2CAP implementation level and I would like to manage something more higher level. similar to sockets.
Well, since BLE functions are part of ther Windows core API (at least since Windows 8 - see https://msdn.microsoft.com/en-us/library/windows/hardware/hh450825%28v=vs.85%29.aspx ) all languages that can call this API can be used. Surely there are .NET classes available for that API, so all .NET languages can be used.
But Google is your friend to find more. I suggest to read the Cypress BLE into - it is not something that can be used as a network socket. Its more like a event-handling system.
I tried to use nodeJs, but the results were not good because It could not detect my bluetooth pc. I already looked at the specifications and my pc does have support for bluetooth 4,x ( so does to bluetooth smart). My last chance to use BLE on windows is to code on .NET. If It does not work( or get pretty much difficult) I will have to try It on Linux ( with Qt).
BlueTooth 4.0 is not equal to BLE. Not all BT4.0 devices support BLE, this must be specified explicitely. So you should make sure your PC does BLE before you further venture down that road...
That's pretty interesting ! My objective is to send a packet from psoc 4 ble, received It in dongle and plot certain value ( came inside packet). Am I dreaming too much or is it possible?
The dongle is equipped with a Kitprog that allows for debugging and for an UART-USB bridge. So you may send data over the USB connection and pick up the data on PC side using an emulated com-port from which you may read in any programming language.
We are talking about PSoCs !!!
Happy coding, Bob
There is some example that I can take as base for getting started?
At the moment I just have the PSoC 042 kit contents, so I do not have the Miniprog. Is there another way of making this communication?
I think the dongle comes with a bootloader so you can use that. You certainly can update the firmware on it without a KitProg.
Look at the user guide for -042 kit, it tells a little bit about how to program the dongle. Also, day 6 of the 100 projects has a sample project: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day006_Cen...
The PRoC dongle has got a Kitprog on board, so when plugged in a USB-port you can program it directly from Creator. A bootloader is not needed, nor is a MiniProg3 required.
Hli , that project you posted the link helped me a lot! Now I can see how to program the Dongle ( or at least get main ideia of the process). Is there some way of passing an uint8 value instead of the Alert Level? I tried to configure a Custom Service, but the only field available was the UUID.
I am sending an attachment of my component ( just an image). This BLE window is in the client side.
This only happens on the client side! The server side follows the AN91162 you had posted.
I guess that the function I need is CyBle_AnscSetCharacteristicValue(), but I have no idea of how to know the index of the service characteristic. Where can I get that?