mirror of
https://github.com/google/bumble.git
synced 2026-04-16 00:25:31 +00:00
@@ -2116,13 +2116,10 @@ class AdvertisingData:
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Connection PHY
|
# Connection PHY
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
@dataclasses.dataclass
|
||||||
class ConnectionPHY:
|
class ConnectionPHY:
|
||||||
def __init__(self, tx_phy, rx_phy):
|
tx_phy: int
|
||||||
self.tx_phy = tx_phy
|
rx_phy: int
|
||||||
self.rx_phy = rx_phy
|
|
||||||
|
|
||||||
def __str__(self):
|
|
||||||
return f'ConnectionPHY(tx_phy={self.tx_phy}, rx_phy={self.rx_phy})'
|
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user