B4A Library [B4X] BLE 2 - Bluetooth Low Energy - Erel    Jan 4, 2023   (28 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... 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    Oct 30, 2023   (18 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.08 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... 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... 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... B4A Question BLE Android 9 - Scanning stops when screen turned off - Jmu5667    Feb 28, 2019 manager As BleManager2 Private currentStateText As String = "UNKNOWN" Private...(Application.PackageName & ".svc_ble_sos_le$MyScanCallback", Null) Timer1...("getRssi", Null) log("svc_ble_sos_le() Scan_Result > name : " & name &... is turn back on the scan results resume. We were using the standard Ble method that Erel provided, https://www.b4x.com/android/forum/threads/ble-2-bluetooth-low-energy.59937/#content We switched to... B4A Question BLE2 Library additional functions - wes58    Aug 9, 2021   (8 reactions) I have started recently playing with a BLE devices. When I wrote B4A app to connect to them... I realised, that since I can connect with other application like "nRF Connect" and "BLE... the thread here: https://www.b4x.com/android/forum/threads/solved-ble-connection-problems.133142..., but something I didn't like), was, that to connect to BLE device, you had to scan to find the device... upgrade the BLE2 library. 1. Thanks to Erel, you can download the library source code (of all internal... Page: 1   2   3   4   5   6   7   |