发表于2024-9-27 19:11
显示全部楼层
此帖出自RF/无线论坛
最新回复
赞
学习了:
如果定义多个特征值报0x87错,虽然头文件定义是内寸不足
#define BLE_STATUS_OUT_OF_MEMORY ((tBleStatus)(0x87))
但是调整CFG_BLE_NUM_GATT_ATTRIBUTES可以解决
CFG_BLE_NUM_GATT_ATTRIBUTES
CFG_BLE_NUM_GATT_ATTRIBUTES must be ≥ 2.
Parameter Description:
Maximum number of Attributes that can be stored in the GATT database
When a GATT characteristic is added to the database a minimum of 2 attribute records are needed: one for the characteristic declaration and one for the characteristic value. On top of this, additional records may be needed based on the characteristic properties, in particular:
- If the characteristic has the notify or indicate property set, then one additional attribute record is needed.
- If the characteristic has the broadcast property set, then one additional attribute record is needed.
- If the characteristic has the extended property set, then one additional attribute record is needed.
In summary, one characteristic may need from 2 to 5 attribute records depending on the characteristic properties.
详情
回复
发表于 前天 13:26
| ||
|
||
发表于2024-9-28 13:40
显示全部楼层
| |
个人签名
在爱好的道路上不断前进,在生活的迷雾中播撒光引 |
|
发表于2024-9-29 17:43
显示全部楼层
| |
|
|
| |
|
|
发表于2024-9-30 13:04
显示全部楼层
| |
|
|
发表于2024-10-8 13:26
显示全部楼层
此帖出自RF/无线论坛
| ||
|
||
EEWorld Datasheet 技术支持