Skip to content

Add more BLE ATT packets - #5091

Merged
gpotter2 merged 1 commit into
secdev:masterfrom
seppewyns:more-att-packets
Aug 18, 2026
Merged

Add more BLE ATT packets#5091
gpotter2 merged 1 commit into
secdev:masterfrom
seppewyns:more-att-packets

Conversation

@seppewyns

Copy link
Copy Markdown
Contributor

Description

Adds support for more BLE ATT packets and tests:

  • 0x20: ATT_Read_Multiple_Variable_Request
  • 0x21: ATT_Read_Multiple_Variable_Response
  • 0x23: ATT_Multiple_Handle_Value_Notification
  • 0x1e: ATT_Handle_Value_Confirmation
  • 0xd2: ATT_Signed_Write_Command

(ATT_Signed_Write_Command was removed from the latest Bluetooth specification (6.3) but I thought it would still be useful to add it for devices that support an earlier version.)

Adds the following BLE ATT packet types and tests:
- ATT_Read_Multiple_Variable_Request
- ATT_Read_Multiple_Variable_Response
- ATT_Multiple_Handle_Value_Notification
- ATT_Handle_Value_Confirmation
- ATT_Signed_Write_Command

AI-Assisted: yes (Claude Sonnet 5)
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.58%. Comparing base (b1cda72) to head (98d7129).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5091   +/-   ##
=======================================
  Coverage   80.57%   80.58%           
=======================================
  Files         390      390           
  Lines       96802    96829   +27     
=======================================
+ Hits        78003    78027   +24     
- Misses      18799    18802    +3     
Files with missing lines Coverage Δ
scapy/layers/bluetooth.py 90.84% <100.00%> (+0.20%) ⬆️

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gpotter2 gpotter2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR !

@gpotter2
gpotter2 merged commit 301dcc8 into secdev:master Aug 18, 2026
23 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