diff --git a/bumble/smp.py b/bumble/smp.py index 9a72cb0d..cb2f6f61 100644 --- a/bumble/smp.py +++ b/bumble/smp.py @@ -522,7 +522,11 @@ class PairingDelegate: async def compare_numbers(self, number: int, digits: int) -> bool: return True - async def get_number(self) -> int: + async def get_number(self) -> Optional[int]: + ''' + Returns an optional number as an answer to a passkey request. + Returning `None` will result in a negative reply. + ''' return 0 # pylint: disable-next=unused-argument