mgmt-tester: Add test for Limited/Device Privacy
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Nov 2021 22:24:34 +0000 (15:24 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit1cd1cea311e004ec654d48e594969319a2711c1e
tree44483284f31d66cb89370c9e6bab544085a24129
parent605cb3956d0fc7aa2db80ddda9f5c9bd94bc089c
mgmt-tester: Add test for Limited/Device Privacy

This adds a test for Limited/Device Privacy (0x02):

@ MGMT Command: Set Privacy (0x002f) plen 17
        Privacy: Limited (0x02)
        Key: 01020304050607080102030405060708
@ MGMT Event: Command Complete (0x0001) plen 7
      Set Privacy (0x002f) plen 4
        Status: Success (0x00)
        Current settings: 0x00002080
          BR/EDR
          Privacy
@ MGMT Event: New Settings (0x0006) plen 4
        Current settings: 0x00002080
          BR/EDR
          Privacy

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mgmt-tester.c