ble

  1. M

    iOS Question [B4X] BLE 2 - Concept of "ID" different between iOS and Android...

    Hi everyone, I'm developing an app that uses the BLE, i'm using the last suggested way: this. However... i need to connect to a specific device knowing the MAC Address... I made the App for Android and everything works because when the sub "_DeviceFound" fires it returns something like: where...
  2. M

    Android Question Very strange SLOWNESS in BLE writeData

    Hi everyone, I'm trying to send a 900KB file to an ESP32 via BLE. Assume that the code on the ESP32 is working because i tested it using a React WebApp running in the PC browser, that connects to it over BLE and send the files. Everything works fine. However... i managed to port the same...
  3. F

    Android Question How to make sense of Casio G-Shock BLE data.

    Hi. I'm building a custom app to connect my G-Shock via Bluetooth Low Energy. I've extracted some data and for the past couple of days been hitting a wall. I've tried many different solution, to no avail. Is anyone familiar with any of the patterns that the information is stored in g-shocks...
  4. G

    Android Question Send BLE Alert to Smart Band (Mi Band 5)

    Hi, I am trying to send alert to smart band (Mi Band 5). I am sending this alert message : “pollutant_id:pM10 Max:314” For sms/mms alert, the alert message has to be preceded by 0x05 and 0x01 so if I convert the alert message to Hex, the following code works : However I do not want to convert...
  5. G

    Android Question BLE Central example does not run

    Hi, no success with my Xiaomi Band 6, working well with the app MiFit. The log, I do not know what else I can send to facilitate the analysis: Logger verbunden mit: samsung SM-A725F --------- beginning of crash --------- beginning of main --------- beginning of system *** Service (starter)...
  6. rabbitBUSH

    Share My Creation Simple BLE-based bulk raingauge concept

    Hello All Well, after a while now thrashing around, I've finally finished one of the projects I've been working on. This is Daddy posting his first creation. . . . . First : acknowledgment to all those who responded to my various postings, queries and wondering tracks, those who supplied...
  7. O

    Android Question Notification are too slow

    I slightly reworked the BLE example so that I could receive notifications. After the revision, the notifications work, but the speed is very low. Namely, I manage to receive only 20% of the data from the sensor. Does anyone know any faster way to receive notifications. Otherwise I test on MIUI...
  8. red30

    Android Question BLE2. Transfer stops after sending 600 bytes.

    There are two android devices: There is also an FSC-BT616 bluetooth module, which is connected to a PC via a UART-USB converter. Program code: Public SaveDeviceId As String Public SaveServiceId As String Public SaveCharacteristicId As String Public ServiceIdStartsWith As...
  9. G

    Share My Creation Application on Microsoft Store

    Happy to share that we have our first app accepted on the Microsoft Store: SQI Test and Report The whole process was quite simple and straight forward: - build your app in B4J - use B4J integrated packager to produce the app installation Setup - include this installation Setup (exe file) to...
  10. P

    iOS Question RequestMTU in iOS ?

    Is there an equivalent to RequestMTU for B4I ?
  11. P

    iOS Question BleManager.WriteData

    Is there any fundamental difference in the usage of WriteData between B4A and B4I ? I have an app running in B4A that transfers a few Kb of data between a device and phone. The data is transfered in blocks of 512 bytes. After each block is received the phone increments a counter (a...
  12. G

    Share My Creation SQI Test and Report (Early Access)

    SQI Test and Report (Early Access) Uploaded on Google Play as Open Testing. Few words on the app: - Designed specifically for Steam Quality Testing. - B4XPages based. Some pages using Landscape orientation and so they are separate activities. - Collect and manage steam testing results. - input...
  13. amorosik

    Android Question How to check if my device is Bluetooth Low Energy capable?

    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...
  14. M

    Android Question BLE 5.1

    I bought HLK-B40 (BLE 5.1) and try to connect - no result (but connection is OK with HM-10 - BLE 4.0) is it any difference between 4.0 and 5.1 BLE?
  15. M

    Android Question Sending large data(BLE)

    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) manager.RequestMtu(80) End Sub But nothing happens. This event doesn't output anything either: Sub Manager_MtuChanged (Success As Boolean) Log("MTU: " &...
  16. MList

    iOS Question B4X Pages and BLE

    🙈 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.... Thanks for...
  17. Arnaud

    Android Question BLE disconnect

    Hello, 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...
  18. F

    Android Question B4A App runs fine with Android 5 will not run with Samsung phone running Android 10

    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...
  19. I

    Android Question BLE Scan2

    Hi There 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...
  20. P

    Android Question How to retrieve a Characteristic value from its UUID ?

    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...
Top