ble

  1. Arnaud

    iOS Question Bluetooth in MacBook M1 vs iPhone/iPad

    Hello, I use B4i to developp APP for iPhone/iPad with success. For my app, I use the Bluetooth BLE. Apple says that these APP seem to be compatible with MacBook M1. When I try on Macbook, the graphism, button, label etc works fine but not the Bluetooth. Is the Bluetooth in Macbook M1 different...
  2. P

    Android Question Impacts from having your Google Play account closed

    Due to some distraction and lazyness on my part my Google developer account was closed. This because I hadn't published aby new app or update for a year. It's a good warning to everyone. Unfortunately, everything is thrown away with no possibility of recovery whatsoever. You have to do...
  3. D

    Android Question BLE - Communication with HM11 or HM10

    Dear All I will appreciate a basic example describing data exchange between Android application and HM11 Preferable A to Z example even though I managed to connect to the specific HM11 but cannot transfer data either direction. Thank you in advance Danny
  4. MList

    iOS Question iBLE devicefound mac adress

    Hello, i am trying to find the mac adress in ible Devicefound In B4a id contains the mac adress. In B4i id contains something different, but not Mac Adress We have several devices (same type, same Name, same services) and have to choose which one to connect, thats why i show the last 4...
  5. Mariano Ismael Castro

    B4J Tutorial [Web] BANano + BLE

    Hi, I'm trying to learn BANano and I want to share a bit of what I've learned so far, any suggestion or comment is welcome. Sorry if I'm posting this in the wrong place, I'm just trying to learn. This is an example of connecting to Bluetooth (BLE) through the Bluetooth Web Api supported by some...
  6. red30

    Android Question Permissions to work with Bluetooth and BLE depending on the target Sdk version

    Right now you can't upload an app with targetSdkversion<31 on Google play, so I had to install target Sdk=31 version to keep my apps updated. As I understand it, now it is desirable to immediately set targetSdkversion=33, since in the future there will still be a mandatory transition to...
  7. SJQ

    Android Question BLE & Bluetooth Classic Issues in separate apps when running on the same device.

    I have two applications running on various Android devices with varying SDK versions, so, this isn't an issue with a particular version of android. One application uses BLE and scans for a particular set of beacons, these beacons have buttons and when pressed the name of the beacon changes for...
  8. M

    iOS Question BLE clear names cache

    Hi, I'm using an ESP32 to exchange data with iPhone over BLE... I changed the name of my device but the iPhone still uses the old name.... I read this thread https://www.b4x.com/android/forum/threads/change-ble-name.69932/#post-444139, I tried restarting the iPhone but it still prints out the...
  9. M

    iOS Question BLE delay while sending fast data

    hi everyone, I've an ESP32 and I connect to it using BLE. I want to send data in a fast way to control a ws2812 RGB led strip... but seems to be not possible.. there is a sort of delay. Just for testing I modified the original BLE Example by Erel to add a slider. Take a look at the video, when...
  10. M

    iOS Question BLE SetNotify does not return anything

    Hi everyone, i've used BLE library with Android and i have the necessity to use the SetNotify method. On Android this method return a boolean value to tell if the operation went ok or not. On iOS seems that the SetNotify method does not have a return value. I use the return value to wait for...
  11. M

    Android Question BLE does not connect - Disconnected event triggered

    Hi everyone, I already used BLE in the past for other project without any problems, now i'm using it again after some time and nothing works :confused:. When i try to connect to a ble device it goes in timeout triggerint the Disconnected event because it couldnt connect. My ble device is a...
  12. M

    iOS Question Connect to BLE devices providing PIN programmatically

    Hi everyone, someone of you knows if it's possible to connect to a BLE Devices that needs the PIN, and give it by code, instead of let the user insert it through a dialog? Thanks in advance
  13. M

    iOS Question [B4X] BLE refresh available Services and Characteristics - Missing Feature?

    Hi everyone, I noticed an important missing feature in the BLE library. It seems to not be possibile to refresh the ServiceList, given the fact that the only place where you can get it is in the "Connected" event.... I'have a BLE Device that exposes a Service only after you complete a...
  14. KMatle

    B4R Tutorial AES256 encrypted BLE (ESP32 & B4A) example

    I took Erel's BLE example and added (as on the ESP32 side) AES256 encryption. For some reasons I wasn't able to use SPIFFS and/or WiFi parallel to BLE on the ESP32 side. Maybe you find a reason why this doesn't word (I understand WiFi & BLE using the same antenna, but SPIFFS should work but...
  15. M

    iOS Question Get list of connected bluetooth devices

    Hi everyone, I'm just sketching ideas for an app, and before I start doing practical things I want to be sure that what I'm thinking is possibile to do. The question is: It's possibile to retrive a list of the currently connected bluetooth devices to my phone? Example: My iPhone can be...
  16. G

    Android Question BLE 2 - Bluetooth Low Energy problem with disconnecting

    Trying Erel's example (https://www.b4x.com/android/forum/threads/b4x-ble-2-bluetooth-low-energy.59937/#content), I am disconnected 1-2 seconds after connecting. The logs: Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events. ** Activity (main) Resume ** Found: ...
  17. E

    Android Tutorial BLE nRF Connect pre-BLE2 problem solving

    It is surprising how often the basics get missed, when embroiled in heat of battle of programmer vs hardware, operating system, complex apis and libraries, etc. I have found that whenever my BLE2 programs don't work, it's always nice to know that everything else in the chain *is* working, and...
  18. G

    Android Question Nordic RF - Android DFU Library - Wrapper request

    Hello everyone, I have a project based on a nRF52840 device, which has the secure bootloader implemented and the application is running fine on it as it is. I can update the existing application with a new firmware package via DFU OTA using Nordic's "nRF Device Firmware Update" app on Google...
  19. F

    Android Question [SOLVED] Runtime BLUETOOTH_SCAN permission not working - android 12 device, targetsdk 31, android33 sdk

    Hello, I followed the instructions here to try to make the bluetooth scan work on Android 12 device with app targeted for API level 31. https://www.b4x.com/android/forum/threads/b4xpages-bluetooth-chat-example.119014/ However, even though the permission is added in the manifest and...
  20. 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...
Top