目录 1. BLE 特征值的indication属性........................................................................................................... 2 2. CC2652 indication的实现................................................................................................................ 2 2.1 特征值2的定义............................................................................................................................. 2 2.1.1 特征值2 属性修改.................................................................................................................... 2 2.1.2 特征值2 的配置属性添加......................................................................................................... 3 2.2 特征值2的CCC值操作................................................................................................................. 4 2.3 特征值2的indication数据发送...................................................................................................... 4 2.3.1 调用GATTServApp_ProcessCharCfg()................................................................................... 4 2.3.2 调用GATT_Indication()............................................................................................................ 5 2.4 应用层代码添加........................................................................................................................... 6 3. Indication 测试................................................................................................................................ 7 4. 参考文献........................................................................................................................................... 9 图表 图1. BLE indication............................................................................................................................ 2 图2. 特征值2的属性.............................................................................................................................. 8 图3. 使能特征值2的indication............................................................................................................. 9 图4. Indication发送和确认................................................................................................................... 9
|