Skip to content

Commit 77a155c

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

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

scapy/layers/bluetooth.py

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,54 @@ 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+
1060+
class HCI_Cmd_Read_Local_Supported_Features(Packet):
1061+
"""
1062+
1063+
7.4.3 Read Local Supported Features command
1064+
1065+
"""
1066+
name = "HCI_Read_Local_Supported_Features"
1067+
1068+
1069+
class HCI_Cmd_Read_Local_Extended_Features(Packet):
1070+
"""
1071+
1072+
7.4.4 Read Local Extended Features command
1073+
1074+
"""
1075+
name = "HCI_Read_Local_Extended_Features"
1076+
fields_desc = [ByteField("page_number", 0), ]
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+
1087+
1088+
10441089
# 7.5 STATUS PARAMETERS, the OGF is defined as 0x05
10451090

10461091

0 commit comments

Comments
 (0)