Questions tagged [bluetooth-gatt]

The Generic Attribute Profile (GATT) defines the way that two Bluetooth Low Energy (BTLE) devices transfer data back and forth using concepts called Services and Characteristics.

459 questions
3
votes
2 answers

(ESP-IDF) Sending .txt file (log data) over BLE? (large file from ESP32 to Android Phone)

I would like to download my log file from the flash of my ESP32 to my Android Phone. I knew that we can only send files with 20 bytes at a time. Hence, I partitioned the file into chunk of 20 Bytes. Here's my code : #define PAYLOAD_CHUNK_SIZE…
3
votes
1 answer

hcitool lescan does not work on Bluetooth version 5

It has turned out to me that hcitool is not capable of running lescan on Bluetooth v5.X hardware. Running sudo hcitool lescan would result in this error: Set scan parameters failed: Input/output error. The community suggests to use bluetoothctl…
mhr
  • 144
  • 3
  • 12
3
votes
1 answer

Where to find BLE GATT specification xml in 2020?

When to build BLE related app, it seems that it's essential to have detail information from GATT XML specifications. When I look for the XML files, I always end up going to here, but there is no XML I can find on the page. Then I later found this…
kukrt
  • 2,117
  • 3
  • 21
  • 32
3
votes
0 answers

Trying to connect to iOS via BLE + BT through Android device

I am trying to connect to the i-phone via Android Bluetooth + BLE. My goal is to read iOS notifications via Android Bluetooth + BLE. I am able to show the i-phone Bluetooth in the android app and was able to connect to the i-phone but I am unable to…
Harsh Shah
  • 2,162
  • 2
  • 19
  • 39
3
votes
0 answers

Android BLE DFU multiple devices update one after another...But some devices fails to update

By using nordic Dfu library (updated) I have to update firmware of devices in one go,I have mac addresses of devices which required to update, let say i have 30 devices with their mac addresses and have to update one after another, By using nordic…
3
votes
2 answers

What is the maximum ATT_MTU allowed by Bluetooth LE?

When writing an application to act as a Gatt server using Bluez's DBus API, the MTU given by calls to the ReadValue and AcquireNotify commands report the MTU as 517. The maximum size of the data channel payload 251 bytes (27 without the Data length…
Cyber Ghost
  • 58
  • 1
  • 4
3
votes
1 answer

Android BLE - Double 'Pairing Request' Dialog / Popup - Causing Failed Connection On 1st Try

I am further developing an Android App that acts as a wireless firmware updater for these Remotes / FOBs that our company produces for some of our products. These FOB's can connect to our app via Bluetooth, which allows us to update the firmware as…
3
votes
1 answer

BLE Smart 4.2 Automation - How the by-pass security layer if possible [For Test Automation]

I am trying to implement BLE automation in my organisation and following to understand the below things. Some BLE devices are getting paired (such as Philips HUE lamp) and some devices don't do pair but login(encryption) as a security layer such as…
santhosh kumar
  • 1,981
  • 1
  • 9
  • 28
3
votes
1 answer

Web Bluetooth - Auto Connect to paired device

Is there a way to auto connect to a paired device with the web Bluetooth ? So i can get rid of the annoying pop up device selector from google..
Stweet
  • 683
  • 3
  • 11
  • 26
3
votes
1 answer

How to perform bonding with BLE device in Flutter

I'm using flutter_blue plugin to communicate with the BLE device. The problem here is the pairing request popup every time connecting to the device. This happens due to the fact that the plugin actually never bonds to the device and makes pairing…
Ashot Aleqsanyan
  • 4,252
  • 1
  • 15
  • 27
3
votes
1 answer

com.polidea.rxandroidble2.exceptions.BleScanException: Scan failed because application registration failed (code 6) Samsung Galaxy 8

Currently i am working in a application where it involves ble device. I created a service and grnated all permission that a bluetooth application requires and bluetooth is enabled. When the service is started it scans for the ble devices and…
3
votes
3 answers

Bluetooth Connection drops automatically with Android Application

I am creating an application which Connects with the BLE Device with android application programmatically. Here's my code for the Connect / Disconnect When user clicks on the Connect button new Thread(new Runnable() { @Override …
3
votes
0 answers

WriteWithoutResponse WriteRequested event raised out of sequence on Windows.Devices.Bluetooth UWP GattLocalCharacteristic

With a BLE GattLocalService on Windows.Devices.Bluetooth while acting as the Peripheral with a characteristic with only a WriteWithoutResponse property and Plain protection level we are seeing GattLocalCharacteristic event WriteRequested is raised…
Jesse
  • 31
  • 1
3
votes
0 answers

How to open a L2CAP channel in a windows 10 GATT service?

We are trying to connect an iOS device to our BLE application in Windows 10 to send larger amounts of data. We were already able to successfully write data. To increase the throughput we want to implement L2CAP channel between both devices. While on…
Alexander Belokon
  • 1,452
  • 2
  • 17
  • 37
3
votes
0 answers

Is it safe to use multiple ScanFilters with BluetoothLeScanner?

Our Android app uses BluetoothLeScanner.startScan() to scan for a single GATT Service UUID using a single ScanFilter today. We are now about to update the app to scan for multiple UUIDs by using multiple ScanFilters, one per UUID. According to the…
MarkusM
  • 751
  • 1
  • 5
  • 14
1 2
3
30 31