1. L

    Android Question How to get information via BLE2

    I managed to implement the functions necessary for detecting bluetooth devices. now that my connection is successful, I'd like to understand how I can get the information I need to be sent. In my case, I should convert this JS function: function RequestAudit() { Help("Caratteristica audit...
  2. M

    iOS Question BLE SetNotify does not return anything

    Hi everyone, i've used BLE library with Android and i have the necessity to use the SetNotify method. On Android this method return a boolean value to tell if the operation went ok or not. On iOS seems that the SetNotify method does not have a return value. I use the return value to wait for...
  3. R

    Java Question BLE detecting button presses on BLE ring

    I am already for few days unsuccessfully trying to detect button presses on BLE ring: I am able to connect to it, find notification characteristics, using SetNotify without complaint, but DataAvailable on presses never gets called. There are 3...
  4. M

    Android Question BLE does not connect - Disconnected event triggered

    Hi everyone, I already used BLE in the past for other project without any problems, now i'm using it again after some time and nothing works :confused:. When i try to connect to a ble device it goes in timeout triggerint the Disconnected event because it couldnt connect. My ble device is a...
  5. M

    iOS Question [B4X] BLE refresh available Services and Characteristics - Missing Feature?

    Hi everyone, I noticed an important missing feature in the BLE library. It seems to not be possibile to refresh the ServiceList, given the fact that the only place where you can get it is in the "Connected" event.... I'have a BLE Device that exposes a Service only after you complete a...
  6. Rosin

    Android Question BLE2 Automatic Shutdown

    Hello,I try to use the BLE2 library to finish my Bluetooth plate,the code in my Application is the same as BLE2 example,but when i try to write data to the equipment.Some times,it might be success.And i can receive the data in the event.But most of the time(because of the Cheap Bluetooth...
  7. G

    Android Question BLE 2 - Bluetooth Low Energy problem with disconnecting

    Trying Erel's example (, I am disconnected 1-2 seconds after connecting. The logs: Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events. ** Activity (main) Resume ** Found: ...
  8. E

    Android Tutorial BLE nRF Connect pre-BLE2 problem solving

    It is surprising how often the basics get missed, when embroiled in heat of battle of programmer vs hardware, operating system, complex apis and libraries, etc. I have found that whenever my BLE2 programs don't work, it's always nice to know that everything else in the chain *is* working, and...
  9. RockSmoke

    Android Question BLE DOESN'T CONNECT TO ESP32

    Good day to everyone. I uploaded the BLE EXAMPLE to my phone. The application scans BLE devices, sees esp32 but does not connect. but apps in google play successfully connect. Does anyone have an idea. Thanks
  10. M

    iOS Question [B4X] BLE 2 - Concept of "ID" different between iOS and Android...

    Hi everyone, I'm developing an app that uses the BLE, i'm using the last suggested way: this. However... i need to connect to a specific device knowing the MAC Address... I made the App for Android and everything works because when the sub "_DeviceFound" fires it returns something like: where...
  11. D

    Android Question BLE2 WriteData to RN4871 BLE stops sending data after 8 transmissions

    Most Apps and Examples using BLE demonstrate how to receive data but my App only Transmits. I have an RN4871 Module connected to a micro that sets it all up for transparent uart mode. I rename it as "Temp". Over the past few years, I have tried BLE2 and can scan, connect to the device, and...
  12. red30

    Android Question BLE2. Transfer stops after sending 600 bytes.

    There are two android devices: There is also an FSC-BT616 bluetooth module, which is connected to a PC via a UART-USB converter. Program code: Public SaveDeviceId As String Public SaveServiceId As String Public SaveCharacteristicId As String Public ServiceIdStartsWith As...
  13. H

    Android Question BLE2 Library restricted to Service-UUID 6e400001-b5a3-f393-e0a9-e50e24dcca9e ?

    For testing I am using private UUIDs on the my server device: Service: c24995d4-0a48-41ec-b9c0-4c3488041ffa Characteristic1: 516e4a32-562b-4378-9ade-f64252fb5854 Characteristic2: d9bcf8c4-1d56-43ab-91a1-d82d7f52ef5f Characteristic3: 4fa4cc32-e3c4-4c8c-89e4-3c7b2b116403 On the 'nRF Connect' tool...
  14. G

    Android Question BLE2 Library - WriteData

    Hello! I have a bluetooth device. I have already read the posts about BLE2 (included the BLE 2 - Bluetooth Low Energy thread). My android device is paired correctly with the bluetooth device. I cannot understand the way that I can use the method WriteData. Is there a specific process, that I...
  15. pauleffect

    Android Question [BLE2] Set the preferred connection PHY,%20int,%20int) I searched the forum, but couldn't figure out how to request a different Phy from a BLE Server. I mean gatt.setPreferredPhy method. Would you kindly illuminate me?
  16. K

    Android Question BLE example seem to crash

    I assume BLE example is still good for use, I use Samung j4 Android 9 and it crashes, attached is the log capture
  17. E

    Android Question BLE2 dropouts when WiFi inactive

    This isn't a question, just an observation that might save someone the days of stress that I've just had. Symptom is an app that reads a BLE sensor, works great during development using B4A Bridge, solid as a rock. Then I recompile it with logging disabled (and now even comment out all...
  18. P

    Italian Utilizzo della libreria BLE2

    Buonasera a tutti, è qualche giorno che sto girovagando per il forum ma non riesco a trovare le istruzioni con tutte le proprietà ed i metodi della libreria BLE2 Bluetooth Low Energy per poterla utilizzare al meglio. In particolare devo trasferire dei dati tra un modulo HM-10 e android come ad...
  19. T

    Android Question CC2541 disconnects immediately after connection with BLE

    I am using BLE2 library (1.36) and the example code 'BLE_Example' posted in the forum to connect my Android phone (central) with a CC2541 chip (peripheral). I am using B4A v8.3. Initially, I was able to connect with CC2541. But, after a few tests, the CC2541 disconnects immediately after...
  20. cesarcm

    Android Question BLE2 latest version/release - where to dowload it?

    Dear all, BLE2 latest version/release - where to dowload it? Thanks. Regards, Cesar