B4i Library BLE (Bluetooth Low Energy) library - Erel    May 06, 2021   (3 reactions) Disconnected - Raised after a failed connection or after a device has disconnected.
Make sure to see the video in HD mode (click on the small gear button).
hnY7wVKcpzk
iBLE is now included as a preinstalled library.
Example was updated with a new requirement:
#PlistExtra: <key></key><string>Blu B4A Tutorial BLE - Heart Rate Monitor - Erel    Feb 29, 2016   (13 reactions) HeartRateMonitor class searches for peripherals with the heart rate service (0x180D).
Once a peripheral device is found and connected then a notification is set for the heart rate measurement characteristic (0x2A37).
The DataAvailable event is raised whenever the heart rate changes. The heart rate B4A Library [B4X] BLE 2 - Bluetooth Low Energy - Erel    Jan 04, 2023   (28 reactions) 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 & Notes
- B4R Tutorial BLE (HM-10 module) - Broadcasting a single byte - Erel    Apr 13, 2016   (4 reactions) https://www.b4x.com/basic4android/images/SS-2016-04-13_17.54.33.jpg
In this example I'm using a BLE shield to broadcast the state of a connected button.
The byte is sent as part of the advertising data so there is no need for a connection. Any device that scans for BLE peripherals will be able to B4i Question Send bytes from iPhone to USB-device. - Erel (first post)    Oct 23, 2024 Yes: BLE (Bluetooth Low Energy) library Wish BLE(Bluetooth low Energy) Lib for B4J - MList    Oct 24, 2022   (1 reaction) I would really appreciate a BLE Library for B4J. Or any possibility or example how to work with BLE data in B4J Thanks a lot Marion B4i Tutorial BLE - Heart Rate Monitor - Erel    Feb 29, 2016   (2 reactions) See this tutorial: https://www.b4x.com/android/forum/threads/ble-heart-rate-monitor.64102/ B4i Tutorial BLE (Bluetooth Low Energy) Peripheral - Erel    May 04, 2016 1002 - Writable characteristic.
Centrals will set a notification for characteristic 1001 and will write to 1002.
3. When a central subscribes to the 1001 characteristic the Subscribe event will be raised. This means that there is a connected central.
Note that there can be several connected central B4A Question BLE device not found - JohnC (first post)    May 31, 2020   (1 reaction) The "LE" is BLE means "Low Energy".
BLE devices are typically devices that run on a battery for many days, so they don't do a lot of intense computational or wireless communications (like phones/Bluetooth headsets do) because that would eat up the battery life too quickly.
For example, the electro B4A Question BLE - Communication with HM11 or HM10 - DannyMarom (first post)    Jun 04, 2024 Thank you
I tried it and data indeed reached the HM11. However:
1. Pairing took place without any authentication, name or password.
2. The example dose not include data transfer from the HM11 to the handset, I think I will manage with this.
BLE has got quite a few new terms. Mastering them is not Page: 1   2   3   4   5   6   7   Powered by ColBERT |