ble

  1. RockSmoke

    Android Question Convert String Expression To Label

    Good day to everyone. In my project on B4A, I convert the data I receive over BLE to UTF-8 units. Then I want to give it to the screen via the label, but I am getting such an error. How do i convert to label text Thanks For Your Answer. ERROR MESSAGE : (TextView) android.widget.TextView{82e135b...
  2. Star-Dust

    B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE)

    This library allows you to print with thermal printers compatible with the ESC POS language in 4 different communication channels (USB, Bluetooth SPP, BLE, LAN) you can download the ble3 library from here The DEMO version prints one minute every 2. The full version of the library will be issued...
  3. G

    Android Question BLE Barcode scanner using SPP on KOAMTAC KDC80L

    I've been using SPP with Bluetooth for years to capture 1D and 2D barcodes but am unable to capture barcodes with the Koamtac KDC80L as it uses SPP with BLE. Using the BLE Example App, I am able to connect to the device but cannot figure out how to capture the scanned barcode using the SPP BLE...
  4. RockSmoke

    Android Question BLE DOESN'T CONNECT TO ESP32

    Good day to everyone. I uploaded the BLE EXAMPLE to my phone. The application scans BLE devices, sees esp32 but does not connect. but apps in google play successfully connect. Does anyone have an idea. Thanks
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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)...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. P

    iOS Question RequestMTU in iOS ?

    Is there an equivalent to RequestMTU for B4I ?
  15. 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...
  16. 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...
  17. 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...
  18. 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?
  19. 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: " &...
  20. 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...
Top