B4A Library [B4X] BLE 2 - Bluetooth Low Energy - Erel    
Jan 4, 2023   
(31 reactions)   
tags: Bluetooth, Bluetooth Low Energy, BLEThis library replaces the previous BLE library.
It is simpler to use and it is more powerful. Its API is based on B4i iBLE library which makes it easy to reuse B4i code.
See the iBLE tutorial: https://www.b4x.com/android/forum/threads/ble-bluetooth-low-energy-library.46099/#content
Tips &... characteristic.
- BLE is only supported on Android 4.3+.
See the attached example. Note...
link: Hi, I have an app that works fine on many devices, but not on some.
To test, on one of the devices that doesn't work, try the Erel demo, BLEExample - B4a.
It's a Redmi A1.
It does the proce...
B4J Library [PyBridge] Bleak - Bluetooth BLE - Erel    
Mar 9, 2025   
(18 reactions)Bleak is a Python BLE library: https://bleak.readthedocs.io/en/latest/index.html
The attached project wraps this library and allows scanning for BLE peripherals, connecting, reading, subscribing and...
link:
(bleak._initialize) - Python Error (ModuleNotFoundError) - Method: module.exec: No module named ...
link: (bleak._initialize) - Python Error (ModuleNotFoundError) - Method: module.exec: No module named '...
link: Tested successfully with B4J B4XPages UI Application and the B4R BLE Server rBLEServer (info).
Easy...
B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE) - Star-Dust    
Oct 7, 2025   
(20 reactions) different communication channels (USB, Bluetooth SPP, BLE, LAN)
you can download the ble3 library from... version, such as LAN, USB, NFC please contact me privately.
OS
Bluetooth SPP
BLE (Beacon)
USB...
link: Update release 1.11
Added ReadDataResponse method to USB_printer class
If USBp.FindAdbDevice Then
...
link: Hi, the demo version has some limitations. It prints every two minutes. (See post #1) When you see t...
link: In my case I am testing Xprinter XP-420B, with this example and the last library I have come very cl...
B4i Library BLE (Bluetooth Low Energy) library - Erel    
May 6, 2021   
(3 reactions) the description as needed.
B4XPages example: https://www.b4x.com/android/forum/threads/b4x-ble-2-bluetooth-low...B4i BLE library is now available. This library allows you to connect and read data from BLE... is raised when you initialize BleManager and when the BLE adapter state changes. Only if the state..., AdvertisingData As Map, RSSI As Double) - Raised when a new device is discovered (after you call BleManager... (click on the small gear button).
hnY7wVKcpzk
iBLE is now included as a preinstalled library.
Example...
B4A Question Bluetooth BLE Difference between Android 7.1.1 vs 10.0?? - air cover    
Mar 24, 2021 can access BLE devices via apps. On each app screen at the very top his Bluetooth icon is displayed... get my Bluetooth (BLE) remote control working on his phone.
Has anyone seen anything different...
link: Problem solved, thanks everyone.
Added:
AddPermission(android.permission.ACCESS_FINE_LOCATION)
to t...
link: 1) What scan mode are you using? I'm pretty sure you need SCAN_MODE_LOW_POWER for scanning in th...
link:
https://www.b4x.com/android/forum/threads/bluetooth-ble-difference-between-android-7-1-1-vs-10-0...
B4R Tutorial Connecting to Arduino with BLE (Bluetooth Low Energy) - Erel    
Jan 17, 2018   
(7 reactions)   
tags: BT, LE, Ble, Example.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/
In this example the Android or iOS device (only one at a time) will connect to the BLE peripheral and read and write.../basic4android/images/SS-2016-04-14_17.28.05.jpg
The steps required are:
1. Scan for BLE devices.
2. Connect to the BLE.
3. On iOS we need to call ReadData once to discover the characteristics.
4. Call SetNotify to be notified whenever the Arduino writes to the BLE.
5. Call WriteData to send data to...
B4J Tutorial [B4X] [PyBridge] Desktop - Mobile Communication based on BLE (Bluetooth Low Energy) - Erel    
Mar 9, 2025   
(9 reactions): https://www.b4x.com/android/forum/threads/pybridge-bleak-bluetooth-ble.165982
And B4J v10.2 beta #4...I've posted in the past a few examples of a simple chat app based on BLE: https://www.b4x.com/android/forum/threads/ble-chat-connecting-android-and-ios.66543/#content
A new version of this example is attached and B4J is now joining the party 🥳
B4J, using the Bleak library, implements the central role and B4A or B4i implement the peripheral role. For simplicity the central connects to...
B4J Question Bleak - Bluetooth BLE - Heart Rate (Solved) - f0raster0    
Mar 26, 2025Hi Team, I'm testing the Bleak - Bluetooth BLE example with a sensor, SDK here
the code below...
Parsed Heart Rate: 21264
Private Sub BLE_CharNotify (Notification As BleakNotification)
Log...
link:
Tried it with the code from: https://www.b4x.com/android/forum/threads/ble-heart-rate-monitor...
link: Tried it with the code from: https://www.b4x.com/android/forum/threads/ble-heart-rate-monitor.64102...
link:
What is the output of:
Dim bc As ByteConverter
Log(bc.HexFromBytes(Value))
Parsed Heart Rate: 20...
B4i Tutorial BLE (Bluetooth Low Energy) Peripheral - Erel    
May 4, 2016   
(1 reaction)There are two types of devices involved in BLE communication: peripheral devices and central... devices: Usually phones.
Central devices connect to peripheral devices. BleManager type in both B4A and B4i is an implementation of the central mode.
iBLE v2.00 includes a new type named PeripheralManager... as a peripheral device allows other Android and iOS devices to directly connect to it.
Unlike class Bluetooth, BLE is not designed for streaming data. The throughput is quite low. About 300 bytes per second based...
B4A Question Bluetooth (BLE) - Project needs development - Harris    
Nov 28, 2022For savy (Android / other) developers, please follow the link to Job Offers.
Thanks
https://www.b4x.com/android/forum/threads/ble-development-project-developer-required.144434/...
link: be surprised if he calls on others to help out with the intricate details of BLE...
Thanks
Harris...
Page: 1  
2  
3