Solaar/tests/logitech_receiver
Ken Sanislo ca96656871 Use ConnectionStateChangedEvent for headset online/offline detection
Replace ad-hoc heuristics with proper bridge event function dispatch:
- Function 0 (ConnectionStateChangedEvent): parse sub-device list length
  to determine connect (len>0) vs disconnect (len=0)
- Function 1 (MessageEvent): fallback online detection if headset sends
  a message while marked offline (handles cold-start power-on)

Remove CPL sub_id>=0x80 fallback in listener that misidentified HID++
error replies as disconnect events. Skip HID++ 1.0
set_configuration_pending_flags for CenturionReceiver (not supported).

Also adds OnboardEQ (0x0636) support, bridge multi-fragment sends,
bridge-based headset ping probe, and CLI offline display.
2026-04-12 14:51:54 -07:00
..
__init__.py tests: Add tests of common module 2024-02-18 06:10:53 -05:00
fake_hidpp.py Remove static PRO X 2 descriptor; fully probe Centurion devices at runtime 2026-04-12 14:51:54 -07:00
test_base.py base: Refactor device filtering 2025-01-01 11:20:28 -05:00
test_base_usb.py Speedup lookup of known receivers 2025-01-01 11:33:07 -05:00
test_common.py refactor: use IntEnum for firmware and cidgroup constances 2024-10-23 16:25:35 -04:00
test_desktop_notifications.py testing: upgrade desktop notifications tests to take notifications availability into account 2025-01-02 10:47:53 -05:00
test_device.py Add Centurion transport and PRO X 2 LIGHTSPEED headset support 2026-04-12 14:51:54 -07:00
test_diversion.py Refactor: Introduce Feature enum 2024-10-14 07:28:09 -04:00
test_hidpp10.py tests: remove test that doesn't work in older Pythons 2025-12-24 08:11:04 -05:00
test_hidpp20_complex.py Fix headset setting validators and code formatting 2026-04-12 14:51:54 -07:00
test_hidpp20_simple.py Estimate accurate battery level for some rechargable devices (#2745) 2025-01-02 10:58:07 -05:00
test_notifications.py show better pairing errors (#3063) 2025-12-10 11:18:50 -05:00
test_receiver.py receiver: Handle unknown power switch locations again 2025-02-22 15:29:35 -05:00
test_setting_templates.py Use ConnectionStateChangedEvent for headset online/offline detection 2026-04-12 14:51:54 -07:00
test_settings_validator.py Split up huge settings module 2025-01-01 10:46:04 -05:00