|
QPPC主模式下,打开notify的接口
发表于 2015-10-15 09:26:37
浏览:5606
|
回复:2
打印
[复制链接]
楼主
void app_gatt_notify_req(uint16_t conhdl, uint16_t charhdl)
{
struct gatt_notify_req *msg = KE_MSG_ALLOC(GATT_NOTIFY_REQ, TASK_GATT, TASK_APP,
gatt_notify_req);
//Connection handle
msg->conhdl = conhdl;
//Characteristic handle
msg->charhdl = charhdl;
ke_msg_send(msg);
}
在做一个蓝牙的主模式模块,请教大神们,需要打开notify特征值,
其中conhdl和charhdl 怎么来设置这两个值
谢谢啊! |
|