蓝牙 - BLE Basics

本文介绍了蓝牙低功耗技术(BLE)的两种主要模式——广播模式(GAP)和连接设备模式(GATT)。GAP用于设备广告和连接设置,而GATT则处理连接后设备间的通信和数据交换,涉及设备角色、服务、特性以及数据包的概念。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

BLE Basics [ BLE基础 ]

需要了解的两个主要概念是 BLE 设备的两种模式:

Two major concepts to know about are the two modes of BLE devices:

* 广播模式(也称为通用访问配置文件 GAP)

* 连接设备模式(也称为通用属性配置文件 GATT)。

* Broadcasting mode (also called GAP for Generic Access Profile)

* Connected device mode (also called GATT for Generic ATTribute Profile).

GAP 模式用于广播外设广告,如 "我是一个名为 LEDBlue-19592CBC 的设备",以及在需要时,为了与专用设备建立连接,来广播相关信息。在需要时建立所需的广告信息。外围设备还可能广播一些其提供的可用服务信息。

GAP mode deals with broadcasting peripheral advertisements, such as "I'm a device named LEDBlue-19592CBC", as well as advertising information necessary to establish a dedicated device connection if desired. The peripheral may also be advertising available services.

GATT 模式处理两台设备连接后的通信和属性传输,如心脏监视器和手机之间。

GATT mode deals with communications and attribute transfer between two devices once they are connected, such as between a heart monitor and a phone.

Bluetooth LE Terms [ 相关术语

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

夜流冰

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值