Google fast pair как включить
Перейти к содержимому

Google fast pair как включить

  • автор:

How To Use Google Fast Pair

A standard for pairing Bluetooth and Bluetooth LE devices with the least amount of user interaction is called Google Fast Pair Service (GFPS). Google also offers extra features that are based on the Fast Pair standard. See the official Fast Pair documentation for comprehensive details on the supported functionalities. We have mentioned steps below to Use Google Fast Pair

Steps to Use Google Fast Pair#

Final Words#

That’s it with our article on How to Use Google Fast Pair. On supported devices, the Google Fast Pair Service (GFPS), also known as Fast Pair, uses Bluetooth Low Energy to swiftly identify and connect to nearby Bluetooth devices without depleting a significant amount of your phone’s battery. It swiftly locates nearby devices using the position of your phone, and you can even get a picture of the items you’re connecting to. Of course, the accessory you connect to must also support Fast Pair for it to function.

Connect your Android users with a tap: Fast Pair (Part 3 of 3)

Isai Damier

If you are a device manufacturer or a developer working on an app that accompanies a particular device (such as a wearable or IoT app), you can use the Fast Pair Service to reduce the amount of work that you and your end users have to do to pair your devices to an Android phone.

In fact, there is no coding to enable Fast Pairing, unless you want to handle pairing within your companion app as opposed to letting the API do it for you.

There only are three parts to the pairing process:

  1. Ensure your peripheral device follows all registration prerequisites.
  2. Register the device model with Google.
  3. When a user needs to pair, advertise your device to their phone (information collected in step 1 is displayed to the user as shown in Figure 1).

Figure 1: Fast Pair notification to connect

As soon as the user puts your peripheral device into pairing mode, their Android phone displays a bottom sheet dialog that shows your device’s name, a photo of it, and a single Connect button (also shown in Figure 1).

Your user needs only to click the button to pair the devices, after which they’ll enjoy a delightful and stress-free experience.

The Fast Pair Service also makes it possible for users to help locate misplaced devices using their phone, or even display the battery level for True Wireless Stereo (TWS) earbuds.

Finally, Fast Pair can prompt users to install any companion app for your device.

Registration Prerequisites

To ensure your device works properly with Fast Pair and provides an enhanced end-user experience, it should meet the following requirements:

Privacy and BLE

To protect the privacy of your users and prevent tracking, we require devices to use Bluetooth Low Energy (BLE) advertisement with random resolvable private addressing (RPA).

The address should change about every 15 minutes and every time an advertisement session begins. However, do not rotate the address during pairing mode; rotating can prevent connections from being established and maintained, since the connection drops when the address is no longer available.

Account Keys

Fast Pair uses Account Keys to represent distinct individual users of a peripheral device. An Account Key maps to a Gmail address.

Your peripheral device is required to store at least five Account Keys, so that multiple people can use the same device. For instance, a family with parents and teens may share a single car where each individual would use their own Gmail address as an Account Key.

As an added feature, a single individual that uses the same Gmail account on multiple Android phones or tablets is still considered a single Account Key by the Fast Pair Service. Hence, if ten different Android devices share a single Gmail account, your peripheral device won’t know the difference as far as Fast Pair is concerned — it’s just one user.

BLE GATT

Your device is required to support BLE GATT Profiles with Services and Characteristics.

Using Fast Pair requires you to define a service with a UUID of 0xFE2C and the following custom Characteristics:

  • Model ID
  • Key-based Pairing
  • Passkey
  • Account Key

These are in addition to the standard Characteristics and any custom Characteristics (optionally used for communication with an accompanying app).

If you do have a companion app and it’s installed on the central device, your custom data will be relayed to the app. Otherwise, the custom data will simply be ignored.

You may optionally have your app register a BroadcastReceiver for com.google.android.gms.nearby.fastpair.ACTION_LOG_BUFFER_FULL . This is optional because using this feature requires your peripheral device to notify the central device that the buffer is full — meaning that there is work required by both the peripheral firmware and the companion app to be able to do anything with the data.

Headphones

A common application of Fast Pair is for headphones, which require either A2DP or HFP to be supported. As long as the device supports one of these profiles, after bonding has finished Fast Pair attempts to connect to A2DP then to HFP, in that order.

For TWS buds, the following are required:

  • The advertising payload includes the battery level of your device.
  • Users can enter a custom name for the device.

While these aren’t required for other peripheral devices, Fast Pair supports them and they are highly recommended.

Devices with Companion App

Fast Pair has a more universal app launch flow that supports a variety of companion devices. In this flow, Fast Pair discovers only the closest device, checks for the device companion app (prompting users to install it if it isn’t already), and redirects users to the specified screens of the companion app. There’s no BT bonding involved in this flow.

FitBit uses this flow to simplify their device setup process. Another example of a device using this flow might be a smart scale or electric toothbrush using it to promote its companion app and simplify the out-of-box experience.

Figure 2: Companion app redirect

Two-way communication

Although advertising is a one-way communication, two-way communication becomes possible once your device has successfully connected to a central device such as an Android phone.

Fast Pair provides an RFCOMM channel for your peripheral device to maintain continuous communication with a central device. It’s perfectly fine to switch to classic Bluetooth for two-way communication once connection has been established.

Registration

You will need to register your device model with Google as a Fast Pair Provider.

A Fast Pair Provider is a peripheral device — such as a pair of headphones — that advertises it’s eligible for pairing.

On the opposite side, a Fast Pair Seeker is a central device — such as an Android phone or tablet — that looks for other devices to pair with. The Google Play Services framework handles that portion of the work with no action needed from partners, so that’s not covered here.

To register your peripheral device, you need only the following:

  • The name of the device
  • An image of the device
  • A measured value of the transmit power ( TxPower ) of the device

While the name and image of the device are straightforward, measuring the power takes a little more work. We recommend measuring the strength of the device’s beacon one meter away from an Android phone and then add 41dBm to that measurement (as described in more detail in an article on Eddystone-UID).

There are two options for submitting the TxPower : you can manually submit it during registration or your device can include it as part of the payload during device advertisement.

If you provide the device TxPower during registration, you are submitting that all units of that model are calibrated to that exact TxPower level. On the other hand, if you decide that your device will provide the TxPower level as part of the Advertisement Record, the TxPower level is treated on a per-unit basis.

Once registration is complete, we’ll provide you with a Model ID and a cryptographic public/private key pair. As with any asymmetric cryptographic system, it is strongly advised to store the private key in a Secure Element (SE) on the device so that adversaries cannot access it. (You can learn more about asymmetric keys in this article about improving your app’s cryptography.)

During advertisement, the payload (Advertisement Record) of your device should include the Model ID that you received from Google and the TxPower level of the unit, if it wasn’t provided during registration.

Summary

Fast Pair is a service that Google offers as part of Google Play Services to simplify the pairing process for Android users. In addition to making pairing convenient, Fast Pair offers many additional desirable features, including helping users locate misplaced devices and prompting them to install your device’s companion app. Although there are many prerequisites to ensure the best experience for your users, the registration process itself is a breeze because it only requires the device name and photo. Happy coding!

В Android появилась функция Fast Pair. Привет, беспроводной век

О том, как подключаются беспроводные наушники AirPods к iPhone, думаю не стоит напоминать. Вы, наверняка, сами знаете, что работает это как «магия» — быстро и невероятно удобно.

В Android 8.0 появился свой аналог подобного подключения, и некоторые счастливые обладатели Google Pixel 2 уже опробовали этот метод.

Fair Pair использует технологию Bluetooth Low Energy и местоположение вашего смартфона, для того, чтобы автоматически начать обнаружение аксессуаров, которые находятся поблизости.

Но для этого у вас должен быть аксессуар с поддержкой Fast Pair, а их крайне мало.

Сам процесс сопряжения, по-прежнему, происходит по стандартному Bluetooth соединению. Google не сообщала про улучшение качества соединения и скорости передачи данных. Однако, тут используется Bluetooth 5, который в этом вопросе оптимизирован хорошо.

Сейчас Fast Pair поддерживают следующие аксессуары:

  • Google Pixel Buds
  • Libratone Q Adapt On-Era
  • Plantonics Voyager 8200

Для работы Fast Pair нужно обновить Google Play Services до версии 11.7.

Вот так мы, потихоньку, начинаем входить в удобную беспроводную эру. Можно всячески противиться тому, что производители отказываются от разъёма 3.5 мм, но факт остаётся фактом: скоро не останется смартфонов с разъёмом под наушники. Так что, или начинаете втягиваться сейчас, или потом, в спешке, придётся нагонять упущенное и менять свои привычки.

Google Fast Pair объясняется за 5 минут или меньше

Всегда приятно, когда новая технология делает вещи удобными для нас.

Я уверен, что вы очень хотели бы использовать Google Fast Pair на своем смартфоне, потому что он меняет способ сопряжения устройств Bluetooth.

Поскольку переход к настройкам и сопряжение ваших устройств иногда может быть утомительным, эта новая технология призвана сделать это намного проще.

Google Fast Pair, представленная в 2017 году, представляет собой проприетарную технологию, запущенную Google. Он использует Bluetooth с низким энергопотреблением (BLE) и местоположение вашего телефона Android, чтобы обнаруживать устройства Bluetooth в непосредственной близости и подключаться к ним одним нажатием.

Как и в случае с Apple AirPods, когда вы открываете чехол, вы можете сразу увидеть информацию на экране вашего iPhone; быстрая пара очень похожа.

Давайте узнаем больше об этом в этом посте.

Как работает служба Google Fast Pair?

Функционирование Google Fast Pair Service (GFPS) интуитивно понятно, быстро и не требует сложных шагов.

Все, что вам нужно сделать, это перевести аксессуар с поддержкой Fast Pair в режим сопряжения и держать его рядом с телефоном Android. Вы увидите большое всплывающее окно на экране с изображением вашего аксессуара. Нажмите «Подключиться», и все; все готово.

Во всплывающем окне также будет предложено загрузить сопутствующее приложение аксессуара из магазина Google Play, если таковое имеется.

Google автоматически синхронизирует информацию о сопряжении с вашей учетной записью. Это означает, что вам не нужно повторно выполнять процесс сопряжения вашего аксессуара.

Это дает вам возможность использовать то же самое на других ваших устройствах Android. Просто войдите в свою учетную запись и начните использовать аксессуар со своим планшетом или другим телефоном Android.

Он потребляет минимальное количество заряда батареи телефона и работает со спецификацией ядра Bluetooth версии 4.2 или более поздней. Вы можете использовать GFPS для сопряжения наушников, динамиков, автомобильных комплектов, клавиатур, микрофона и т. д.

Лучшая часть? Все это можно сделать без нескольких шагов и копания в настройках Bluetooth вашего устройства.

Особенности Google Fast Pair

Быстрая пара Google поставляется с функциями, которые могут показаться очень простыми, но спасают жизни в трудные времена. Вы можете начать включать следующие функции в свои устройства, совместимые с Fast Pair.

Простой мониторинг батареи

Следите за уровнем заряда батареи вашего аксессуара, когда они подключены к вашему устройству через Fast Pair.

Если это слуховой аппарат, вы можете контролировать уровень левого и правого наушников вместе с футляром, и все это в одном месте.

Вы будете получать уведомление о заряде батареи каждый раз, когда открываете футляр наушников, а также уведомление, когда батарея разряжается.

Простое сопряжение

Как обсуждалось в этом посте, Google Fast Pair позволяет подключиться к вашему аксессуару одним нажатием. Он также предлагает загрузить сопутствующее приложение для конкретного аксессуара, если оно существует.

Персонализация

Он позволяет персонализировать вкладыши, наушники и другие аксессуары, присваивая им собственные имена.

Поиск потерянных устройств

Если вы потеряли свой аксессуар, вы можете найти его, позвонив ему через службу Fast Pair, когда он подключен к вашему телефону. Это позволяет вам найти последнее известное местоположение устройства, если ваша история местоположений включена.

Автономное сопряжение

Google Fast Pair теперь также позволяет выполнять сопряжение в автономном режиме, когда вы застряли в ситуациях с низким уровнем сети.

Настройка Google Fast Pair с совместимым устройством

Google Fast Pair невероятно упрощает настройку и работу с любым совместимым устройством. Вот шаги для этого:

Шаг 1. Включите определение местоположения на вашем телефоне Android.

Шаг 2: Включите Bluetooth.

Шаг 3: Переведите аксессуар в режим сопряжения.

Шаг 4: Откройте чехол для зарядки совместимого устройства/аксессуара, после чего автоматически откроется новое всплывающее окно. Нажмите на нее. (На некоторых других устройствах может отображаться кнопка «Подключиться», так что нажмите на нее).

Шаг 5: Google Fast Pair начнет подключение.

После завершения загрузки ваш телефон будет подключен к аксессуару. Помните, что на вашем телефоне должна быть установлена ​​версия Android 6.0 или выше.

Популярные устройства, поддерживающие Google Fast Pair

С каждым днем ​​Google Fast Pair становится все популярнее. Это означает, что многие компании сейчас интегрируют свои продукты с этой технологией.

Уже есть много популярных устройств, поддерживающих Google Fast Pair. Вот некоторые из них:

  • Google Pixel Buds Pro
  • Наушники One Plus Z2
  • Фитбит-трекеры
  • Наушники Bose с шумоподавлением 700
  • Samsung Galaxy Buds
  • Беспроводные накладные наушники Harman Kardon fly с активным шумоподавлением
  • JBL live 660 NC

В будущем вы можете ожидать более широкий спектр устройств, совместимых с Google Fast Pair. Кроме того, в ближайшее время вы сможете использовать эту функцию на Google TV, Android TV и даже на Chromebook.

Заключительные слова

Технология Fair Pair от Google может сэкономить ваше время и энергию и предоставить вам несколько интересных функций, особенно возможность найти потерянный аксессуар. Пришло время использовать эту услугу прямо сейчас.

Затем вы можете проверить приложения для отслеживания, чтобы найти свой телефон.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *