Skip to content

Commit

Permalink
Add missing parameter 'flags' to ATT_Execute_Write_Request PDU
Browse files Browse the repository at this point in the history
Bluetooth spec @ Vol 3, Part F - 3.4.6.3 Table 3.36 shows that the
ATT_EXECUTE_WRITE_REQ PDU contains the parameter 'Flags' with size 1
octet, which allows to cancel all prepared writes (0x00) or to
immediately write all pending prepared values (0x01).
  • Loading branch information
jmdietrich-gcx committed Oct 24, 2024
1 parent d03fc14 commit 5d2dac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumble/att.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ class ATT_Prepare_Write_Response(ATT_PDU):


# -----------------------------------------------------------------------------
@ATT_PDU.subclass([])
@ATT_PDU.subclass([("flags", 1)])
class ATT_Execute_Write_Request(ATT_PDU):
'''
See Bluetooth spec @ Vol 3, Part F - 3.4.6.3 Execute Write Request
Expand Down

0 comments on commit 5d2dac1

Please sign in to comment.