Closed kevin-gillespie closed 3 weeks ago
I think with all the in-house testing effort. It is a smart idea to start gradually building up a controller test platform. Even if it just testing a small subsection. I will add it to the cli tools now, but we may want to consider adding to our test suite.
@kevin-gillespie what is invalid about the public key? I assume the x and y are invalid, but the decoder tool I made says the key type is 0x4b which is not a an option, but the other bits are RFU, so I do not know if it matters.
The command I used here is the V1, with OCF 26. Doesn't have a Key_Type parameter. I guess we could use 0x00 for the test.
Add function to check the encryption HCI functions. Something like we do in this file to send valid/invalid keys, check the output from the Controller.
https://svn.maxim-ic.com/svn/mcbusw/Hardware/Micro/ME14/Firmware/trunk/Applications/InternalUse/btle/lhci/IUT_scripts/IUT_ci_encryption.py