Quantcast
Channel: 蓝牙论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 7516

关于CC2541-1.4.2.2的GATT_Notification()通知发送不成功问题。

$
0
0

1.更新完协议版本后用GATT_Notification发送通知数据不成功,不知道是不是需要安卓机做什么特殊的操作。(SIMPLEPROFILE_CHAR4)

2.用GATTServApp_ProcessCharCfg()方法是可以发送成功的但是无法指定长度的字节发送。

 问题1的代码

nData.len = len;
nData.handle = simpleProfileAttrTbl[11].handle;
osal_memcpy( nData.pValue, value, len );
ret = GATT_Notification( 0, &nData, FALSE );


Viewing all articles
Browse latest Browse all 7516

Trending Articles