Skip to content

Commit cc51514

Browse files
committed
Add some commands in 7.4
1 parent 3e69007 commit cc51514

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

scapy/layers/bluetooth.py

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,52 @@ class HCI_Cmd_Write_LE_Host_Support(Packet):
10381038

10391039

10401040
# 7.4 INFORMATIONAL PARAMETERS, the OGF is defined as 0x04
1041+
class HCI_Cmd_Read_Local_Version_Information(Packet):
1042+
"""
1043+
1044+
7.4.1 Read Local Version Information command
1045+
1046+
"""
1047+
name = "HCI_Read_Local_Version_Information"
1048+
1049+
1050+
class HCI_Cmd_Read_Local_Supported_Commands(Packet):
1051+
"""
1052+
1053+
7.4.2 Read Local Supported Commands command
1054+
1055+
"""
1056+
name = "HCI_Read_Local_Supported_Commands"
1057+
1058+
1059+
class HCI_Cmd_Read_Local_Supported_Features(Packet):
1060+
"""
1061+
1062+
7.4.3 Read Local Supported Features command
1063+
1064+
"""
1065+
name = "HCI_Read_Local_Supported_Features"
1066+
1067+
1068+
class HCI_Cmd_Read_Local_Extended_Features(Packet):
1069+
"""
1070+
1071+
7.4.4 Read Local Extended Features command
1072+
1073+
"""
1074+
name = "HCI_Read_Local_Extended_Features"
1075+
fields_desc = [ByteField("page_number", 0), ]
1076+
1077+
10411078
class HCI_Cmd_Read_BD_Addr(Packet):
1079+
"""
1080+
1081+
7.4.6 Read BD_ADDR command
1082+
1083+
"""
10421084
name = "HCI_Read_BD_ADDR"
10431085

1086+
10441087
# 7.5 STATUS PARAMETERS, the OGF is defined as 0x05
10451088

10461089

0 commit comments

Comments
 (0)