官术网_书友最值得收藏!

Characteristic

A characteristic contains a value, properties, and configuration information. Characteristic is the combination of characteristic properties, characteristic declaration, characteristic value, and a descriptor. Characteristic properties define the level of access that characteristic grants. For example, if a characteristic is read-only it will be defined in the properties. The characteristic declaration can be seen as a characteristic overview where the name, description, type and the requirements of the characteristic is mentioned. Descriptors are used to define a characteristic value.

The following diagram shows a view of the BLE characteristics:

Heart Rate Measurement characteristic with overview, properties, security and descriptor

The example in the figure is describing a Heart Rate Measurement characteristic. The overview describes the functionality of the characteristics and the requirement level. The requirement tells if it is mandatory or optional for the service. The properties show the access-level of this characteristic. In this particular scenario, the characteristic is only used to notify. The descriptor identifies the value or permits configurations of the GATT server with respect to the characteristic value.

主站蜘蛛池模板: 吴堡县| 多伦县| 益阳市| 邵武市| 楚雄市| 准格尔旗| 正阳县| 自治县| 卓尼县| 朝阳县| 炉霍县| 双柏县| 琼中| 星座| 锡林浩特市| 鄂温| 铁岭市| 莆田市| 宾阳县| 平和县| 鄂伦春自治旗| 福鼎市| 黄骅市| 济源市| 会昌县| 曲沃县| 白水县| 蚌埠市| 中阳县| 正安县| 龙南县| 玛曲县| 厦门市| 荃湾区| 邯郸市| 屯昌县| 台北县| 顺昌县| 西充县| 芜湖市| 兴山县|