KW36 HID:Gap_ReadWhiteListSize always returns 0x1A

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KW36 HID:Gap_ReadWhiteListSize always returns 0x1A

跳至解决方案
534 次查看
skalyan2
Contributor IV

In Hid device example, i am clearing whitelist using Gap_ClearWhiteList and in the corresponding gWhiteListCleared_c generic event,i call Gap_ReadWhiteListSize() function and i check the value of "pGenericEvent->eventData.whiteListSize" in gWhiteListSizeRead_c,which is always returning 0x1A.

The issue can be reproduced also when testing HCI_LE_Read_White_List_Size in Connectivity test tool( have attached the image).

Hci_Le_read_white_list_size_returns_1A.JPG

标记 (1)
1 解答
475 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Sai, I hope you're doing well!

 

The Bluetooth LE 4.2 Specification establishes that the "LE Read White List Size Command" returns two parameters, the first one being the status of the command (either it succeeded and returns 0x0, or it failed, returning any other value), and the size of the whitelist (which depends on how many entries the controller can store in its whitelist, which in this case is 0x1A).

pastedImage_2.png

You can read more information about HCI commands and the BLE 4.2 Core Specification in the Bluetooth website, here.

 

If you have any more questions about HCI commands, please let me know.

 

Best regards,

Sebastian

在原帖中查看解决方案

1 回复
476 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Sai, I hope you're doing well!

 

The Bluetooth LE 4.2 Specification establishes that the "LE Read White List Size Command" returns two parameters, the first one being the status of the command (either it succeeded and returns 0x0, or it failed, returning any other value), and the size of the whitelist (which depends on how many entries the controller can store in its whitelist, which in this case is 0x1A).

pastedImage_2.png

You can read more information about HCI commands and the BLE 4.2 Core Specification in the Bluetooth website, here.

 

If you have any more questions about HCI commands, please let me know.

 

Best regards,

Sebastian