Out-Of-Band Pairing between iOS device and embedded Linux

↘锁芯ラ 提交于 2019-12-24 06:05:22

问题


I'm implementing OOB Pairing between iOS 10 device (iPhone) and embedded Linux device (3.10 kernel version, 5.35 BlueZ version) via USB (iAP2 protocol, CarPlay).

My question is: does BlueZ supports this kind of pairing? Where to find some information on that?

What I have now:

  • OBB Pairing working flawlessly from the iOS side (e.g. after USB connection established for the first time, I have my Linux device in "My Devices" bluetooth section of the phone).
  • On Linux accessory's side I'm receiving iPhone's mac address and linkkey and writing it to /var/lib/bluetooth/${self_mac_addr}/${recieved_iphones_mac_addr}/info file. As a result, I'm able to see the device as "paired" on restarting bluetoothd service.

What I want to accomplish:

  • Have iPhone added to the Linux device's bluez "paired" section without restarting bluetoothd.
  • Receive iPhone's name to write to the aforementioned file (now I'm using mac address as a name).

来源:https://stackoverflow.com/questions/39917397/out-of-band-pairing-between-ios-device-and-embedded-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!