2

I want to make an app to find the lost Bluetooth device (like Airpod). The idea is the same as Wunderfind.

With CoreBluetooth, I can display nearby Bluetooth devices with signal strength and distance. But I don't know how to play a sound/audio on these devices (to help the user to find it easily).

How to do this?

sandpat
  • 1,478
  • 12
  • 30
Proton
  • 1,335
  • 1
  • 10
  • 16

1 Answers1

2

Unfortunately there isn't a direct way to do this with CoreBluetooth. LE Audio was just announced last month (6/7 Jan 2020) and it will take a few months or maybe even years for devices to begin supporting this. CoreBluetooth does not support transferring audio of any kind so your next best solution is to transfer normal BLE GATT packets, and then have the receiving device play some audio on reception of that specific sequence of packets. This means that your solution will be device specific and you'll have to work on the app side (on the iOS device) and the remote device that is playing the audio.

Some references for this:-

Youssif Saeed
  • 11,789
  • 4
  • 44
  • 72