Questions tagged [bluetooth-peripheral]

A Bluetooth peripheral device is generally defined as any auxiliary device such as a computer mouse or keyboard that connects to and works with the computer with a Bluetooth connection

68 questions
25
votes
1 answer

How to Programmatically Clear Bluetooth Cache using GattServer

I'm slightly familiar with BLE and I am facing some problem with an inherited code. So the app works like that: With BLE enabled the app scans for devices The app displays the devices found The user selects the device to pair with The app pairs…
11
votes
0 answers

Phone (as peripheral role) doesn't show Pairing dialog when in JustWorks pairing mode

I'm writing an Android application that connects to a physical device via BLE. Android app will act as peripheral role while the device is central. Device I/O Capabilities is also set to NoInputNoOutput (ble_cmd_sm_set_parameters(0, 8,…
7
votes
1 answer

Android Bluetooth Peripheral: Connection terminated by peer (Status 19)

Developed an application which acts as peripheral and connects with other device (central only). It's working fine in devices having OS version 6.0, but getting some issues in Nougat 7.0. I've collected some logs, enabling "Bluetooth HCI snoop log"…
Prat
  • 143
  • 3
  • 17
6
votes
1 answer

Advertise Bluetooth LE Service using HCITool

I'm experimenting with creating a Bluetooth Low Energy Peripheral on my Linux computer (The goal is to send data over Bluetooth From an iPhone). Im currently using the Tools hciconfig, hcitool and hcidump. My current experiment is to advertise a…
Joakim
  • 3,224
  • 3
  • 29
  • 53
4
votes
0 answers

Background Scan and Advertising between two ıos device

I have an app which is working in background. I use CBPeripheralManager to Advertising and CBCentralManager to scan. I use two ıos (IOS 11.3 and IOS 13.4.1) device. First one is advertising foreground and background. Second one is scan foreground…
uyarc
  • 579
  • 4
  • 17
4
votes
2 answers

QT Low energy controller peripheral mode crashes with error "Resource not available"

Updated: Qt Version : 5.11 Platform : Raspberry pi 3 Operating System : Rasbpian I am connecting my linux Qt BLE app to IOS central device. It works fine for the most part but sometimes it crashes with following error qt.bluetooth.bluez: void…
Zain
  • 153
  • 7
3
votes
1 answer

CoreBluetooth can only accept commands while in the connected state

[CoreBluetooth] API MISUSE: can only accept commands while in the connected state That's the error CoreBluetooth gives me when I…
3
votes
0 answers

PunchThrough LightBlue how do you make a virtual device send a notification?

I'm developing an Android app that is a BLE central. I don't yet have access to the peripheral device. This would be a typical scenario for a virtual device simulator like LightBlue. I can scan and connect client-peri and I can enable notifications…
3
votes
0 answers

Set local name for Bluetooth LE advertisement

I'm working on Android Bluetooth LE peripheral (advertisement). I can change the advertisement name with below snippet code: BluetoothAdapter.setName(name); ... AdvertiseData.setIncludeDeviceName(true) But, this also changes the Devise's Bluetooth…
YUSMLE
  • 705
  • 6
  • 21
3
votes
2 answers

BLE Peripheral & BLE Central

I am developing an chat application using BLE Android to iOS, Right now i am using below two libraries for the reference https://github.com/izumin5210/Bletia https://github.com/captain-miao/bleYan Issue that i am facing is BLECallback in ble…
Arun
  • 273
  • 3
  • 13
3
votes
2 answers

Multiple or Single BLE Services

What, if any, is the value of having multiple BLE services? Versus just throwing all of the characteristics in one single service? I'm building a BLE interface from a (peripheral) device of our own making. I'm using the STMicro BlueNRG-ms chip. My…
Travis Griggs
  • 21,522
  • 19
  • 91
  • 167
2
votes
1 answer

is there any limit, BLE peripheral devices for Services and their characteristic in iOS swift?

Actually, I am getting some problems after adding one more service in the device firmware. is there any limitation in ios for BLE Hardware device to have maximum Services and their characteristics for iOS device read-write operation?
AkshAy
  • 37
  • 4
2
votes
1 answer

How to Mimic nRF Connect (for Android) Actions to Pygatt Script?

I'm using nRF Connect for Android to test a BLE peripheral. The peripheral is a BSX Insight residual muscle oxygen monitor whose software application is no longer functional or supported by the manufacturer. Thus, my only option to use my device…
2
votes
1 answer

BLE: Advertising local name and service UUID from background iOS

According to iOS documentation, when an iOS application that utilizes BLE as a peripheral moves to background mode, peripheral name is not advertised and all service UUIDs are placed in a special ‘overflow’ area, they can be discovered only by an…
2
votes
2 answers

Does Android app needs to perform Central and Peripheral roles at same time to send and receive data over BLE?

Currently, I am developing an app which is communicating with one BLE Hardware which is receiving commands and responding back the command response. To Simulate hardware, We have developed one iOS Simulator app, which is working in Peripheral and…
Bipin Vayalu
  • 3,025
  • 2
  • 25
  • 39
1
2 3 4 5