简体   繁体   English

外设如何在蓝牙连接中获取中央设备名称

[英]How in a bluetooth connection can the Peripheral get the Central device name

Is there any way for a Peripheral to get a Central device's name when establishing a bluetooth connection (BLE)?在建立蓝牙连接 (BLE) 时,外设有什么方法可以获取中央设备的名称吗? I'm unsure if Bleno has the tools necessary to get this.我不确定 Bleno 是否有必要的工具来获得这个。

Just read the Device Name in the remote GATT server.只需读取远程 GATT 服务器中的设备名称即可。 The peripheral must support GATT client in order to be able to read the device name.外设必须支持 GATT 客户端才能读取设备名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 BLE 外围设备可以在连接前读取中央名称吗? - Can a BLE peripheral read the Central name before connection? 蓝牙LE外设在与蓝牙LE中央设备连接时停止广告 - Bluetooth LE peripheral stop advertising on connect with Bluetooth LE central device Android设备可以同时在外围和中央模式下运行Bluetooth LE吗? - Can Android device run Bluetooth LE in peripheral and central modes at the same time? 在蓝牙(BLE)中,外围设备可以在中央读取请求上发送多少个数据包? - In Bluetooth (BLE) how many packets can a peripheral send on a central's read request? 蓝牙LE无法从中央向外围设备发送数据 - Bluetooth LE can't send data from central to peripheral BLE GATT更改外围设备名称并通知中央 - BLE GATT change peripheral device name and notify central BlueNRG 蓝牙:读取中央设备名称 - BlueNRG Bluetooth: read central device name QT蓝牙外围设备和中央设备可能有作用吗? - QT Bluetooth Peripheral and Central role possible? 核心蓝牙-外设不能由中央设备写入 - Core Bluetooth - Peripheral cannot be written to by central 如果其他任何尝试连接的应用程序需要断开连接,我们如何才能使BLE外围设备仅连接到我们的Android应用程序(中央) - How we can achieve the BLE peripheral device to connect to only our Android app (Central) if any other app try to connect need to disconnect
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM