Skip to content

Conversation

smuppand
Copy link
Contributor

  • Unify direct- and fallback-pair loops into a single candidate iteration
  • Consolidate scan→pair→connect→l2ping flow with retries (PAIR_RETRIES, SCAN_ATTEMPTS)
  • Honor command-line args, BT_*_ENV variables, and bt_device_list.txt entries
  • Add whitelist filtering by name or MAC (CLI arg or BT_WHITELIST_ENV)
  • Ensure POSIX compliance: remove bashisms, quote variables, direct if‐command checks
  • Improve bt_cleanup_paired_device to wrap expect in if-statement (no 0 checks)
  • Replace SC2181 exit-code tests in retry_scan_and_pair with direct command tests
  • Enhance README.md with usage examples, env-var overrides, script flow, and troubleshooting

- Unify direct- and fallback-pair loops into a single candidate iteration
- Consolidate scan→pair→connect→l2ping flow with retries (PAIR_RETRIES, SCAN_ATTEMPTS)
- Honor command-line args, BT_*_ENV variables, and bt_device_list.txt entries
- Add whitelist filtering by name or MAC (CLI arg or BT_WHITELIST_ENV)
- Ensure POSIX compliance: remove bashisms, quote variables, direct if‐command checks
- Improve bt_cleanup_paired_device to wrap expect in if-statement (no 0 checks)
- Replace SC2181 exit-code tests in retry_scan_and_pair with direct command tests
- Enhance README.md with usage examples, env-var overrides, script flow, and troubleshooting

Signed-off-by: Srikanth Muppandam <[email protected]>
@smuppand smuppand requested review from abbajaj806 and vnarapar July 16, 2025 16:42
Copy link
Contributor

@vnarapar vnarapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vnarapar vnarapar merged commit 16c0e29 into qualcomm-linux:main Jul 23, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants