Hello! My situation is this: I have two apps that half work, one in eclipse, the other in android studio, and they both half work in the opposite ways. After modifying Tony DiCola’s nRF8001 uart app, https://github.com/tdicola/BTLETest, in android studio, I have an app that can send data over bluetooth, but it only does so when the app is in full focus, not when it’s in the background which is what I need. The other is the android example for bluetooth, https://developer.android.com/guide/topics/connectivity/bluetooth-le.html, with sample gatt attributes and uuids that don’t work with the nRF8001, but it does keep the bluetooth connection when the app runs in the background. I can’t figure out how to get the codes I need (posted below) for the nRF8001 into that app to set up uart and make the link work. A complete half for either one of these options would be very, very much appreciated if anyone out there has any more than basic android experience, I’ll do the rest, all I need is a functional, background-running uart link to the nRF8001. Thanks!
UUIDs used are:
- 6E400001-B5A3-F393-E0A9-E50E24DCCA9E for the Service
- 6E400003-B5A3-F393-E0A9-E50E24DCCA9E for the TX Characteristic
Property = Notify - 6E400002-B5A3-F393-E0A9-E50E24DCCA9E for the RX Characteristic
Property = Write without response