diff --git a/lib/solaar/cli/pair.py b/lib/solaar/cli/pair.py index 77010c90..c3c9bcb4 100644 --- a/lib/solaar/cli/pair.py +++ b/lib/solaar/cli/pair.py @@ -55,7 +55,7 @@ def run(receivers, args, find_receiver, _ignore): assert n if n.devnumber == 0xFF: _notifications.process(receiver, n) - elif n.sub_id == 0x41: # allow for other protocols! (was and n.address == 0x04) + elif n.sub_id == 0x41 and len(n.data) == _base._SHORT_MESSAGE_SIZE - 4: kd, known_devices = known_devices, None # only process one connection notification if kd is not None: if n.devnumber not in kd: