1. MList

    iOS Question iBLE devicefound mac adress

    Hello, i am trying to find the mac adress in ible Devicefound In B4a id contains the mac adress. In B4i id contains something different, but not Mac Adress We have several devices (same type, same Name, same services) and have to choose which one to connect, thats why i show the last 4...
  2. Mariano Ismael Castro

    B4J Tutorial [Web] BANano + BLE

    Hi, I'm trying to learn BANano and I want to share a bit of what I've learned so far, any suggestion or comment is welcome. Sorry if I'm posting this in the wrong place, I'm just trying to learn. This is an example of connecting to Bluetooth (BLE) through the Bluetooth Web Api supported by some...
  3. red30

    Android Question Permissions to work with Bluetooth and BLE depending on the target Sdk version

    Right now you can't upload an app with targetSdkversion<31 on Google play, so I had to install target Sdk=31 version to keep my apps updated. As I understand it, now it is desirable to immediately set targetSdkversion=33, since in the future there will still be a mandatory transition to...
  4. SJQ

    Android Question BLE & Bluetooth Classic Issues in separate apps when running on the same device.

    I have two applications running on various Android devices with varying SDK versions, so, this isn't an issue with a particular version of android. One application uses BLE and scans for a particular set of beacons, these beacons have buttons and when pressed the name of the beacon changes for...
  5. M

    iOS Question BLE clear names cache

    Hi, I'm using an ESP32 to exchange data with iPhone over BLE... I changed the name of my device but the iPhone still uses the old name.... I read this thread, I tried restarting the iPhone but it still prints out the...
  6. M

    iOS Question BLE delay while sending fast data

    hi everyone, I've an ESP32 and I connect to it using BLE. I want to send data in a fast way to control a ws2812 RGB led strip... but seems to be not possible.. there is a sort of delay. Just for testing I modified the original BLE Example by Erel to add a slider. Take a look at the video, when...
  7. 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...
  8. 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...
  9. M

    iOS Question Connect to BLE devices providing PIN programmatically

    Hi everyone, someone of you knows if it's possible to connect to a BLE Devices that needs the PIN, and give it by code, instead of let the user insert it through a dialog? Thanks in advance
  10. 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...
  11. KMatle

    B4R Tutorial AES256 encrypted BLE (ESP32 & B4A) example

    I took Erel's BLE example and added (as on the ESP32 side) AES256 encryption. For some reasons I wasn't able to use SPIFFS and/or WiFi parallel to BLE on the ESP32 side. Maybe you find a reason why this doesn't word (I understand WiFi & BLE using the same antenna, but SPIFFS should work but...
  12. M

    iOS Question Get list of connected bluetooth devices

    Hi everyone, I'm just sketching ideas for an app, and before I start doing practical things I want to be sure that what I'm thinking is possibile to do. The question is: It's possibile to retrive a list of the currently connected bluetooth devices to my phone? Example: My iPhone can be...
  13. 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: ...
  14. 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...
  15. G

    Android Question Nordic RF - Android DFU Library - Wrapper request

    Hello everyone, I have a project based on a nRF52840 device, which has the secure bootloader implemented and the application is running fine on it as it is. I can update the existing application with a new firmware package via DFU OTA using Nordic's "nRF Device Firmware Update" app on Google...
  16. F

    Android Question [SOLVED] Runtime BLUETOOTH_SCAN permission not working - android 12 device, targetsdk 31, android33 sdk

    Hello, I followed the instructions here to try to make the bluetooth scan work on Android 12 device with app targeted for API level 31. However, even though the permission is added in the manifest and...
  17. RockSmoke

    Android Question Convert String Expression To Label

    Good day to everyone. In my project on B4A, I convert the data I receive over BLE to UTF-8 units. Then I want to give it to the screen via the label, but I am getting such an error. How do i convert to label text Thanks For Your Answer. ERROR MESSAGE : (TextView) android.widget.TextView{82e135b...
  18. Star-Dust

    B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE)

    This library allows you to print with thermal printers compatible with the ESC POS language in 4 different communication channels (USB, Bluetooth SPP, BLE, LAN) you can download the ble3 library from here The DEMO version prints one minute every 2. The full version of the library will be issued...
  19. G

    Android Question BLE Barcode scanner using SPP on KOAMTAC KDC80L

    I've been using SPP with Bluetooth for years to capture 1D and 2D barcodes but am unable to capture barcodes with the Koamtac KDC80L as it uses SPP with BLE. Using the BLE Example App, I am able to connect to the device but cannot figure out how to capture the scanned barcode using the SPP BLE...
  20. 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