We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello,
I developed an application last year which used serial communication (using BT 2.0) to communicate with my hardware device.
Now I am porting it to BT 4.0 or BLE. Can someone help me with setting up BLE characteristics and read/notify and write?
I am using Nordic's nrf51822 IC in my hardware. I can successfully interact with it using iOS LightBlue app. I also have a BLE dongle using which I can interact with the hardware using Master Control Panel provided by Nordic.
Has someone cracked an example to work with BLE in Processing?
Thanks! - Aditya
Answers
Hi all,
I was wondering the same - I am using a SensorTag and communicating with my laptop via Bluetooth Low Energy (BLE), but I am having trouble figuring out how to read in the different services and characteristics in Processing. I can see that the Sensortag is connected using Bluetooth Explorer on the Mac and with Light Blue too.
Would really appreciate any help on this - previously I had sensors connected to an Arduino for which I can read in the data as Serial without any issue - but I don't think it works in the same way for this.
Thanks,
Best regards,
rnq
i am considering to buy a sensortag myself. would be nice if you keep posting your progress.
The SensorTag is a great piece of kit, and very easy to develop with as it gives you sample codes and data visualisation on the SensorTag app you can download on iPhone and Android phones - but I have no idea how to interface the bluetooth data with Processing. I will let you know if I find anything, but have had no luck so far and was hoping somebody here could point me in the right direction.
i did some research myself and i found no solution so far. seems like nobody is using the sensortag with other devices than phones/tablets. it's strange. i only found one guy who used it to control autocad: http://through-the-interface.typepad.com/through_the_interface/2013/11/driving-autocad-via-the-accelerometer-in-a-sensortag.html
Yes, that's what I've seen so far. I know that it is communicating with my Macbook as I can the data in apps like LightBlue, so just need to figure out how it's reading it. I've never really looked at how Bluetooth works and how OS X can read it, so currently just going through this here to try and understand it - it might help you too: https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/AboutCoreBluetooth/Introduction.html
Hey guys, check this out: http://wavelette.com/2014/12/ble-8-accelerometer-ble-demo/ We have to ask this dude to help us out! I'm trying to send commands to a BLE device through Android Mode
no progress on that front?
Maybe this helps: https://github.com/joshuajnoble/blepdroid