attribute valuattribute是什么意思思

GATT_Indication及gattAttribute_t
pValue长度问题 - 蓝牙Bluetooth 技术 - 德州仪器在线技术支持社区
GATT_Indication及gattAttribute_t
pValue长度问题
发表于1年前
<input type="hidden" id="hGroupID" value="42"
BLE 1.4.0协议栈,&/p>
&p>&strong>问题1:调用GATT_Indication(gapConnHandle,attValue,FALSE,TaskID)时返回0x75 是什么意思,错误代码好像没有0x75的含义解释??有时候还会返回0x69&/strong>&/p>
&p>&strong>问题2:static gattAttribute_t simpleProfileAttrTbl[SERVAPP_NUM_ATTR_SUPPORTED]中关于gattAttribute_t 结构体注释中说gattAttribute_t 结构中pValue最长度最大512字节(如下所示)。PC端用BTOOL读取BLE模块的属性时,当下位机simpleProfile_ReadAttrCB()回调函数中对应属性*pLen长度超过0x13以后(不包括0x13),PC端BTOOL接收就返回ATTR_NOT_FOUND,*pLen长度&=0x13时可以正常收到数据,为什么?&/strong>&/p>
&p>&span style=&color:#0000background-color:#&>typedef struct attAttribute_t &/span>&br>&span style=&color:#0000background-color:#&>{&/span>&br>&span style=&color:#0000background-color:#&> gattAttrType_ & & & & &//!& Attribute type (2 or 16 octet UUIDs) &/span>&br>&span style=&color:#0000background-color:#&> uint8 & & & & &//!& Attribute permissions &/span>&br>&span style=&color:#0000background-color:#&> uint16 & & & & & & & & & //!& Attribute handle - assigned internally by attribute server&/span>&br>&span style=&color:#0000background-color:#&> uint8* const pV & & & &&span style=&color:#ff0000;&>//!& Attribute value - encoding of the octet array is defined in &/span>&/span>&br>&span style=&color:#ff0000;background-color:#&>& & & & & & & & & & & & & & & & & & & & & & &//!& the applicable profile. The maximum length of an attribute &/span>&br>&span style=&color:#ff0000;background-color:#&>& & & & & & & & & & & & & & & & & & & & & & &//!& value shall be &strong>512 octets&/strong>. &/span>&br>&span style=&color:#0000background-color:#&>} gattAttribute_t;&/span>&/p>&div style=&clear:&>&/div>" />
GATT_Indication及gattAttribute_t
pValue长度问题
此问题尚无答案
All Replies
BLE 1.4.0协议栈,
问题1:调用GATT_Indication(gapConnHandle,attValue,FALSE,TaskID)时返回0x75 是什么意思,错误代码好像没有0x75的含义解释??有时候还会返回0x69
问题2:static gattAttribute_t simpleProfileAttrTbl[SERVAPP_NUM_ATTR_SUPPORTED]中关于gattAttribute_t 结构体注释中说gattAttribute_t 结构中pValue最长度最大512字节(如下所示)。PC端用BTOOL读取BLE模块的属性时,当下位机simpleProfile_ReadAttrCB()回调函数中对应属性*pLen长度超过0x13以后(不包括0x13),PC端BTOOL接收就返回ATTR_NOT_FOUND,*pLen长度&=0x13时可以正常收到数据,为什么?
typedef struct attAttribute_t { gattAttrType_ & & & & &//!& Attribute type (2 or 16 octet UUIDs)
uint8 & & & & &//!& Attribute permissions
uint16 & & & & & & & & & //!& Attribute handle - assigned internally by attribute server uint8* const pV & & & &//!& Attribute value - encoding of the octet array is defined in & & & & & & & & & & & & & & & & & & & & & & &//!& the applicable profile. The maximum length of an attribute & & & & & & & & & & & & & & & & & & & & & & &//!& value shall be 512 octets. } gattAttribute_t;
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
你好,我想增加一个功能,多加一个发送的服务。
能不能教我呢
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
探花5827分
1)错误编码的含义,参见gatt.h文件
2)返回什么错误码,由BLE Periphal自行决定的,请研究那个profile的源代码
苦逼创业狗,欢迎交流
You have posted to a forum that requires a moderator to approve posts before they are publicly available.ADF BC develop guide 中文版 by xinzhu li - issuu
ADF BC develop guide 中文版
ADF BC develop guide 中文版
Oracle ADF BC develop guide 中文版<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
您的访问请求被拒绝 403 Forbidden - ITeye技术社区
您的访问请求被拒绝
亲爱的会员,您的IP地址所在网段被ITeye拒绝服务,这可能是以下两种情况导致:
一、您所在的网段内有网络爬虫大量抓取ITeye网页,为保证其他人流畅的访问ITeye,该网段被ITeye拒绝
二、您通过某个代理服务器访问ITeye网站,该代理服务器被网络爬虫利用,大量抓取ITeye网页
请您点击按钮解除封锁&> [attribute*=value] >> 张鑫旭-鑫空间-鑫生活" />
> [attribute*=value] >> 张鑫旭-鑫空间-鑫生活" />
> [attribute*=value] >> 张鑫旭-鑫空间-鑫生活,jQuery1.4 API中文在线参考手册" />
jQuery1.4 API中文参考指南 >> [attribute*=value] >> 张鑫旭-鑫空间-鑫生活
返回值:Array&Element(s)&[attribute*=value]概述匹配给定的属性是以包含某些值的元素参数attributeString属性名value (可选)String属性值。引号在大多数情况下是可选的。但在遇到诸如属性值包含"]"时,用以避免冲突。示例描述:查找所有 name 包含 'man' 的 input 元素HTML 代码:&input name="man-news" /&
&input name="milkman" /&
&input name="letterman2" /&
&input name="newmilk" /&jQuery 代码:$("input[name*='man']")结果:[ &input name="man-news" /&, &input name="milkman" /&, &input name="letterman2" /& ]
jQuery 核心函数
jQuery 对象访问
HTML代码/文本/值
表单对象属性
浏览器及特性检测
数组和对象操作
字符串操作}

我要回帖

更多关于 getattributevalue 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信