This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

手机接收不到数据



我使用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);