我使用keyfob的demo直接调用gatt_notification发送了一个1,连接usb dongle可以看到发送的数据,但是连接手机使用lightblue却看不到数据这是为什么?
代码是这样写的:
unsigned int length;
unsigned int *buffer;
length=1;
*buffer=0x01;
static attHandleValueNoti_t dj;
dj.handle=0x38;
dj.len=length;
osal_memcpy(dj.value,buffer,length);
GATT_Notification(0,&dj,FALSE);