Detect proximity using Bluetooth LE “Proximity” profile Android

后端 未结 3 1279
孤城傲影
孤城傲影 2021-02-05 22:55

Problem definition: I\'ve been trying to use BLE proximity profile for Bluetooth LE on Android. Some of the devices like new generation Google Nexu

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-05 23:43

    To elaborate on shubhams's answer:

    Unfortunately there is no way for Android devices to act as a peripheral. He can creates GATT servers, services and charachteristics but there is no way to make the advertising. (https://stackoverflow.com/a/18020153/3061383)

    Since Android does not (yet) support advertising no other BLE device is able to initiate a connection to an Android device. As of now the Android device must initiate the connection.

提交回复
热议问题