Category "bluetooth"

Bluetooth on raspberry 4 without Linux

I'm working on non-Linux OS and now trying to enable bluetooth on Raspberry Pi 4. I have some necessary drivers such as: gpio, uart (pl011 and mini-uart), mailb

Implementing bluetooth device connection in an Angular project

Im trying to implement the possibility to find and connect to bluetooth devices in my Angular project (v12.1.0) so i'm trying to install @manekinekko/angular-we

How do I handle NSInlineData from Bluetooth scanning?

I want to use data that is passed through Bluetooth scan. and I want to split and use data from NSInlineData. I import data via Bluetooth scan as follows. fun

Simulate Bluetooth "Out of range" scenarios for test automation

I've an Android phone which needs to be paired with an embedded device (Qt based application on Linux) which we test. I've automated the basic scenarios using A

Printing a pdf file on a thermal printer

I getting issue, printing through bluetooth on thermal printer from pdf file become text view. Print Pdf file via Bluetooth Printer Android I was tried these

How to get battery life of Bluetooth Low Energy in Swift 4?

I am able to get a value for BLE battery life with the help of following questions: Read data from BLE device Reading a BLE Peripheral Characteristic and chec

Bluetooth bluez accept connection

I would like to accept Bluetooth pairing on an embedded device running the bluez stack without d-bus. With the following commands, the device can be seen from a

Bluetooth HCI snoop log not generated

I'm running Android 4.4.2 and I enabled the "Bluetooth HCI snoop log" as described here Sniffing/logging your own Android Bluetooth traffic After turning bluet

How to prevent Bluetooth Disconnected when moving Fragment

I make a POS in android. I want to make a printing in my apps. To do printing I'm using bluetooth printer. Then, I had success make the bluetooth connection and

Randomize Mac Address Bluetooth LE Broadcast

As far as I know some android phones today can act as BLE beacon (this feature is usually disabled in most devices ) . When an android device is acting as a bea

How to initialize OutputStream

I am developing an app that controls arduino with bluetooth , everything was working fine with the app , I am able to connect with the arduino bluetooth bridge

IOException: read failed, socket might closed - Bluetooth on Android 4.3

Currently I am trying to deal with a strange Exception when opening a BluetoothSocket on my Nexus 7 (2012), with Android 4.3 (Build JWR66Y, I guess the second 4

Bluetooth pairing in C blueZ on Linux

I cannot find any reference on how to pair a bluetooth device on linux in a program written in C using the BlueZ Bluetooth libraries. I already managed to do a

Android Bluetooth Printing

I am writing an application which sends data to bluetooth printer. Can anyone help me ? how can I use android Bluetooth Stack for printing? or is there any exte

Commands to control the volume of a connected bluetooth device in Linux? [closed]

Let's say I have paired and connected a Bluetooth headset successfully to my Linux system. I know I can check my Bluetooth device MAC id from

missing permissions required by BluetoothAdapter.isEnabled.BLUETOOTH

I add bluetooth to my app but am running into the following problem. When I do the code: BluetoothAdapter bluetoothAdapter=BluetoothAdapter.getDefaultAdapter()

What causes this iOS permission prompt for "use Bluetooth for new connections"?

Since iOS13, our app which uses BLE beacons for location, now gets two Bluetooth related permissions prompts. The first one is understandable and expected:

android enable disable bluetooth via command line

I am trying to enable disable bluetooth on android device using command line. I can enable it using adb shell am start -a android.bluetooth.adapter.action.RE

Android Bluetooth: Connect()/Disconnect()

I currently am designing an app which needs to connect to a device, write/read data, and close the connection reliably. Currently I have the write/read solid.