主要内容

BLE

使用蓝牙接口通信

Bluetooth® 低功耗 (BLE) 是一种无线通信协议,该协议支持将 Bluetooth 用于低功耗 Arduino® 外围设备。使用此技术可对 BLE 外围设备进行读写操作。此技术非常适合短距离通信应用,您可以通过它与其他支持 BLE 的设备高效通信。

模块

BLE SendSend data using Bluetooth Low Energy (BLE) protocol (自 R2021b 起)
BLE ReceiveReceive data using Bluetooth Low Energy (BLE) protocol (自 R2021b 起)

模型设置

全部展开

外围设备名称Device name of a BLE peripheral (自 R2021b 起)
外围设备本地名称Local name of a BLE peripheral device (自 R2021b 起)
广播间隔(*0.625 毫秒)BLE advertising interval (自 R2021b 起)
最小连接间隔(1.25 毫秒)Minimum time that peripheral device can take to establish BLE connection with central device (自 R2021b 起)
最大连接间隔(*1.25 毫秒)Maximum time that peripheral device can take to establish BLE connection with central device (自 R2021b 起)

精选示例