B4A Library [B4X] BLE 2 - Bluetooth Low Energy - Erel    Jan 4, 2023   (30 reactions)   tags: Bluetooth, Bluetooth Low Energy, BLE This 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 that the important code in in the Starter service module. Edit: A new version of BLE_Example was uploaded... B4i Library BLE (Bluetooth Low Energy) library - Erel    May 6, 2021   (3 reactions) 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... the description as needed. B4XPages example: https://www.b4x.com/android/forum/threads/b4x-ble-2-bluetooth-low... B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE) - Star-Dust    Apr 20, 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...-Dust Version: 1.09 BLE_Printer Events: BLEoff Connected (services As List) Disconnected... Tab eg. PrinterBLE.AddTab(Array As Byte(100,150,121)) Beep (Times As Byte, SecondsDurate As Byte... Write (Send to Printer) a Array of Byte eg. PrinterBLE.Write_ArrayByte(Array As Byte(0x1D,150,23)) eg... B4J Library [PyBridge] Bleak - Bluetooth BLE - Erel    Mar 9, 2025   (17 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 writing. The example project allows connecting to multiple devices at once. https://www.b4x.com/basic4android/images/java_vzc4t2s7Yj.gif Python dependencies: pip install bleak Depends on B4J 10.2 beta #4+ Updates: 1.02 - Timeout implementation and Bleak.EnableDebugLogging.... B4A Question [SOLVED] - Android 10 - Background GPS/Ble scans stop getting data after 1 hr - Jmu5667    Jan 19, 2021 . Hello All I have a gps service and a ble service. They run every 5 minutes from a main service.... Both the BLE and GPS do not give any results for their scanning i.e No Beacons found and No GPS....REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) Application log data *** Service (svc_ble) Create *** 01/08/2021 10:12:07.395 - Atlas SOS - svc_ble(), Service_Create ** Service (svc_ble) Start ** 01/08/2021 10:12:07.409 - Atlas SOS - svc_ble(), Service_Start 01/08/2021 10:12:07.414 - Atlas SOS - svc_ble(), StartScan, STATE... B4i Tutorial BLE Chat - Connecting Android and iOS - Erel    Mar 14, 2021   (6 reactions) 5-QyJEIxO74 This example is based on the new PeripheralManager type introduced in iBLE v2.00. Please start with this tutorial: https://www.b4x.com/android/forum/threads/ble-bluetooth-low-energy-peripheral.66542/ There are three programs: BlePeripheral, BleCentral_iOS and BleCentral_Android BlePeripheral is the one that implements the peripheral role. The other devices will connect to the peripheral and communicate with it. The peripheral will relay the messages to all connected devices... 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) 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...: https://www.b4x.com/android/forum/threads/pybridge-bleak-bluetooth-ble.165982 And B4J v10.2 beta #4... B4A Library Customise your BLE GATT Service with BLE Peripheral 2 Enhanced - Peter Simpson    Feb 10, 2024   (24 reactions) touch Java, I only started learning java so that I could enhance Erel's current BlePeripheral2... BlePeripheral2Enhanced library. Using this library, you can create your own custom BLE GATT Service or emulate... the following features to the original BlePeripheral2 V1.12 library which I've renamed to BlePeripheral2Enhanced V1.5. Create a custom primary service with your own unique UUID Create multiple... the BlePeripheral2Enhanced library. Optionally, you can use SetCharacteristicReadValues to establish default values for... B4A Library BLE Peripheral - Erel    Oct 7, 2018   (21 reactions)   tags: bleA, BLE A BLE connection is made between a central device and a peripheral device. In most cases the Android device will be the central device. Beacons, heart rate sensors and other BLE devices... B4i peripheral feature: https://www.b4x.com/android/forum/threads/ble-chat-connecting-android-and-ios... a BleManager2 object. 2. The StateChanged event will be raised. Assuming that the state is STATE_POWERED_ON you should initialize the BlePeripheral2 object. 3. Make sure that peripheral role... Page: 1   2   3   4   5   6   7   |