Mi Band 1S vibration when processing incoming calls on iOS

SO. Initial data:

  • Xiaomi Mi Band 1 or 1S device
  • Device paired with iPhone
  • Xiaomi iOS app has the option "Vibrate on incoming calls"

How do they implement it? It continues to work if you restart the device or forcibly leave the application. This is unusual for the default BLE background. Any ideas on how this app handles events?


For those who vote to close this issue. This is a very interesting problem that requires some knowledge of bluetooth and background. For example, there are three bluetooth background playback modes: external-accessoryfor an old-school, non-glossy school, bluetooth-centralandbluetooth-peripheral. I have done many experiments about the last two. But this does not work as you expected after reading the documentation. I found several questions on this topic here on SO. They all report a clean, predictable bluetooth background. And after all the hours in this issue, you see on the Mi Band and their official absolutely legal application in the App Store. And this application supports the connection or has some other “magic” mechanism for processing calls and initiating a reaction on the device. At least curious. It? At a minimum, this is useful for developers who work with peripherals.

+4
source share
1 answer

, Apple Notification Center (ANCS), Bluetooth Background + Core Telephony.

Apple (ANCS) - Bluetooth- ( iOS Bluetooth) , iOS.

+2

Source: https://habr.com/ru/post/1625704/


All Articles