简体   繁体   中英

Bluetooth Low Energy Advertising Server Android

I am creating an android App that acts as a peripheral and sends out a Bluetooth Low energy advertisement. I am using BluetoothGattServer to set up a server for a client device to connect. My main goal is to read an RSSI value from the client. Is it possible for me to use the BluetoothGattCallback as opposed to BluetoothGattServerCallback with the BluetoothGattServer so that i can implement and use readRemoteRssi?

BluetoothGattCallback与主机相关,因此如果您的电话充当服务器/从机,则您将无法使用它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM