How to check if your device is usable to communicate with other devices using the Bluetooth Low Energy protocol?
I mean, how to check if my smartphone can communicate with a sensor that is expressly specified to communicate via BLE?
And how to check if my smartphone operate via 'central' or...
Hi, i'm trying to send a string which has more then 20 chars.
For this i use RequestMtu
Sub Manager_Connected (services As List)
But nothing happens.
This event doesn't output anything either:
Sub Manager_MtuChanged (Success As Boolean)
Log("MTU: " &...
🙈 Hello, my next problem
My pgm B4i and B4a (later also B4j) is working with B4XPages.
Where should i define the BLE manager ? (in B4XPages or in Main?)
And where to initialize the manager? (in B4XPages or in Main?)
How can I manage to access BLEManager from all pages....
I have tested the BLE 2 example (link below) for Android with 2 BLE device (RN4678 and Ebyte E104-BT40).
Location is enable, but when I try to connect, I receive "disconnect" result just few second after. This with android 7, android 8 and android 10.
When I try with the BLE scanner...
I'm missing something.. So, I decided to reach out.. I have a B4A/BLE app that runs like a fine sewing machine on a cheap WalMart LG phone running Android 5.1.1.
Try to run the very same app on a Samsung S10 running Android 10 and it refuses to connect via BLE. I've checked all of the usual...
Is there a reason why BLE Scan2 doesn't find all bluetooth devices listed under System Settings->Bluetooth->Available devices?
I am using B4A 10.2, BLE2 (1.38).
I also tried using the BLE2 sample code. I am getting the same results.
The manager is initialized as follows...
Using the BLE2 library, from the documentation it's not clear to me how to read a characteristic value, knowing its UUID (and of course after a connection is already open).
In the Documentation,
ReadData2 (Service As String, Characteristic As String)
Are the Service and Characteristic...
I am using the BLE2 Library V1.38 and the latest B4A. The app is used to calibrate BLE-based equipment that I designed and generally works well. The company selected a generic tablet to issue to the calibration companies, the idea being that a standard device is easier to support, even though it...
I would like to write an Android app that allows the phone to act like a Bluetooth HID keyboard. I want to send keystrokes and commands from the app to a BIuetooth-enabled computer. Is that possible with the BLE Peripheral library? Can someone please show me an example of how it is...
I ask for support for the following situation, my programmer who is developing the app with B4A needs to connect in BT on a scp32 chip, through the app we should not only receive data like the weight or height of a person, we will have to raise and lower a rod and slide a scale...
Hello everyone, i have written an app which searches for a certain device UID, I have a B4A app running on a device which is running Android 8.0 which basically just listens when the B4J app tries to connect, I followed @Erel 's tutorial here, My question is this, everything seems to work only...
I have installed Android Things in a Raspberry Pi 3 board. I am trying to use the BLE2 v1.37 library of B4A v8.80 on this device.
I am getting the message "Not powered on." when I run the code below.
If Manager.State <> Manager.STATE_POWERED_ON Then
Log("Not powered on.")
I'm traying to comunicate with with a BLE DSD Relay Board to send commands to activate/deactivate relay.
Using the instructions in the post https://www.b4x.com/android/forum/threads/ble-2-bluetooth-low-energy.59937/ I've done the connection with the board, but I don't know how to...
i have this structure:
arduino serial monitor window - pc - usb - arduino mega - bt le modul - phone - ble2 example app
ble2 example app find the bt device and connect but if me send data from pc via arduino it seems it not receive it, means it not appear in the window.
but this works...
hello, i am a little bit confused.
i have a arduino mega and a bluetooth modul.
there exist a special phone app that can send data to the modul and i can send data from arduino to phone without pairing.
the pairing currently does not work at phone and i get no response from the AT commands^^...
I am happy to present my library to print with Iphone (and iPad) with Bluetooh (BLE). At the moment I can not print the images, but I'm working on it. If you want to have the activation code (Freeing all the functions) contact me in private.
(For B4J versione see Here, for B4A versione see Here...