微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI无线射频设计 > characteristic declaration

characteristic declaration

时间:12-22 整理:3721RD 点击:

当我查询Characteristic的“Handle”之后,就会返回characteristic declaration,例如“0A 21 00 A1 FF”,

目前这5个字节的含义,

handle =  Bytes[2]<<8 | Bytes[1],即字节2为handle的高字节,字节1为handle的低字节

UUID = Bytes[4] << 8 | Bytes[3]

Bytes[0] :表示什么?表示的是properties吗?

b比如Byte0 为 0x0A,则表示 Read | Write

 

 

 

 

 

 

 

 

 

是的,FFA1是UUID,0021是handle,0A是characteristic properties

前些天看了一份关于KeyFobDemo的文章就明白了http://processors.wiki.ti.com/index.php/Category:KeyFobDemo

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top