fix numeric entries and phy request

This commit is contained in:
Gilles Boccon-Gibod
2025-04-22 16:15:58 -07:00
parent 1bd83273e8
commit febed8179b
3 changed files with 10 additions and 7 deletions

View File

@@ -1291,8 +1291,10 @@ class Central(Connection.Listener):
logging.info(color('### Connected', 'cyan'))
self.connection.listener = self
print_connection(self.connection)
phy = await self.connection.get_phy()
print_connection_phy(phy)
if not self.classic:
phy = await self.connection.get_phy()
print_connection_phy(phy)
# Switch roles if needed.
if self.role_switch: