noble / bleno

A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals
MIT License
2.12k stars 448 forks source link

Bleno peripheral automatically unsubscribe central when Bluetooth HFP profile reject the call. #330

Closed anshadr0405 closed 6 years ago

anshadr0405 commented 7 years ago

I am developing an application, which uses Raspberry Pi 2 and Bluetooth Dongle (CSR 4.0) to transfer data from Pi2 to iOS device. We are using both HFP and BLE profile, where Bleno is used for data transfer to Central (iOS). Bleno peripheral is successfully sending notifications to my BLE central till an incoming call comes to my central device (iphone). When an incoming call is recieved on Central (iPhone), Peripheral automatically gets unsubscribed and we cant subscribe again to the connected characteristics.

sandeepmistry commented 7 years ago

@anshadr0405 please provide debug logs sudo DEBUG=* node <file>.js and HCI dump capture sudo hcidump -t -x.

I suspect the BLE connection is disconnected.

sandeepmistry commented 6 years ago

Closing due to lack of activity.