Skip to content

Commit

Permalink
Merge pull request #615 from google/gbg/bluetooth-6-constants
Browse files Browse the repository at this point in the history
add bluetooth 6.0 constants
  • Loading branch information
barbibulle authored Dec 23, 2024
2 parents af148b4 + 865f3a2 commit 3428717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/controller_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def get_classic_info(host: Host) -> None:
if command_succeeded(response):
print()
print(
color('Classic Address:', 'yellow'),
color('Public Address:', 'yellow'),
response.return_parameters.bd_addr.to_string(False),
)

Expand Down
2 changes: 2 additions & 0 deletions bumble/hci.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def phy_list_to_bits(phys: Optional[Iterable[int]]) -> int:
HCI_VERSION_BLUETOOTH_CORE_5_2 = 11
HCI_VERSION_BLUETOOTH_CORE_5_3 = 12
HCI_VERSION_BLUETOOTH_CORE_5_4 = 13
HCI_VERSION_BLUETOOTH_CORE_6_0 = 14

HCI_VERSION_NAMES = {
HCI_VERSION_BLUETOOTH_CORE_1_0B: 'HCI_VERSION_BLUETOOTH_CORE_1_0B',
Expand All @@ -145,6 +146,7 @@ def phy_list_to_bits(phys: Optional[Iterable[int]]) -> int:
HCI_VERSION_BLUETOOTH_CORE_5_2: 'HCI_VERSION_BLUETOOTH_CORE_5_2',
HCI_VERSION_BLUETOOTH_CORE_5_3: 'HCI_VERSION_BLUETOOTH_CORE_5_3',
HCI_VERSION_BLUETOOTH_CORE_5_4: 'HCI_VERSION_BLUETOOTH_CORE_5_4',
HCI_VERSION_BLUETOOTH_CORE_6_0: 'HCI_VERSION_BLUETOOTH_CORE_6_0',
}

# LMP Version
Expand Down

0 comments on commit 3428717

Please sign in to comment.