安卓蓝牙中的characteristic是怎样区分的

安卓蓝牙中的characteristic是怎样区分的,第1张

BLE分为三部分Service、Characteristic、Descriptor,这三部分都由UUID作为唯一标示符。一个蓝牙4.0的终端可以包含多个Service,一个Service可以包含多个Characteristic,一个Characteristic包含一个Value和多个Descriptor,一个Descriptor包含一个Value。一般来说,Characteristic是手机与BLE终端交换数据的关键,Characteristic有较多的跟权限相关的字段,例如PERMISSION和PROPERTY,而其中最常用的是PROPERTY,本文所用的BLE蓝牙模块竟然没有标准的Characteristic的PERMISSION。Characteristic的PROPERTY可以通过位运算符组合来设置读写属性,例如READ|WRITE、READ|WRITE_NO_RESPONSE|NOTIFY,因此读取PROPERTY后要分解成所用的组合(本文代码已含此分解方法)。

“设置”的英文写法:intercalate

读法:英

[ɪn'tɜːkəleɪt

,ɪntəkə'leɪt]

[ɪn'tɝkə,let]

释义:vt.

设置;插入

intercalate

binding插入键合

intercalate

agents插层剂

intercalate

agent嵌合剂

intercalate

of

speciality专业设置

例句:

1、The

exchangeable

characteristic

of

cation

is

the

driving

force

that

makes

the

organic

cation

intercalate

the

interlayers.

蛭石层间阳离子的可交换特性是使有机阳离子插入到层间域的驱动力。

2、The

European

calendar

mandated

by

Pope

Gregory

in

1583

is

the

only

world

calendar

that

did

not

intercalate

at

least

two

celestial

cycles.

欧洲历法被教宗格里高利于1583年指定为唯一的世界历法,至少没有插入两个天体循环。

扩展资料

intercalate的近义词:site

读法:英

[saɪt]

[saɪt]

释义:

1、n.

地点;位置;场所

2、vt.

设置;为…选址

短语:

1、Site

Map网站地图

2、Active

site活性位点

3、site

plan平面布置图

4、Site

Information网站信息


欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/tougao/11332025.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-15
下一篇 2023-05-15

发表评论

登录后才能评论

评论列表(0条)

保存