Fix a misconfig of HCI_PIN_Code_Reply_Command

The pin_code field is of fixed length of 16 bytes
This commit is contained in:
Hui Peng
2023-03-24 11:29:38 -07:00
parent 4c6320f98a
commit bd25cf27df
2 changed files with 9 additions and 3 deletions

View File

@@ -2102,7 +2102,7 @@ class HCI_Link_Key_Request_Negative_Reply_Command(HCI_Command):
fields=[
('bd_addr', Address.parse_address),
('pin_code_length', 1),
('pin_code', '*'),
('pin_code', 16),
],
return_parameters_fields=[
('status', STATUS_SPEC),