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

请教一个关于GATT_Notification的参数问题

$
0
0

从机用GATT_Notification发送数据,我看wiki上的关于数据吐出量的例子连接句柄的参数是直接写的是0,而网上我也发现有人写成这样GATT_Notification( gapConnHandle , &noti, FALSE );

我的理解是这样的,不知道对不对?

从机因为只能连接一个主机,所以写成0是可以的,即使GAPRole_GetParameter( GAPROLE_CONNHANDLE, &gapConnHandle );获得的句柄它也等于0.


Viewing all articles
Browse latest Browse all 7485

Trending Articles