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

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.

主站蜘蛛池模板: 岳普湖县| 武夷山市| 布尔津县| 丹巴县| 额济纳旗| 阜新市| 木兰县| 始兴县| 张家港市| 拉萨市| 裕民县| 义乌市| 洪湖市| 弋阳县| 荆门市| 镇宁| 南城县| 肥西县| 温州市| 崇信县| 潮安县| 和田市| 潜江市| 丰宁| 万荣县| 新津县| 东乌| 韶山市| 湘乡市| 军事| 大同市| 高清| 河北省| 米易县| 密山市| 朝阳县| 衡阳市| 侯马市| 仲巴县| 阜宁县| 昌邑市|