Skip to content

Commit

Permalink
pw_bluetooth: Add AVDTP_START_CMD
Browse files Browse the repository at this point in the history
Bug: 381291639

Change-Id: I9014500cd0dd0fbf27f1c6306d1f3a14e26f67f6
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/259354
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Docs-Not-Needed: Charlie Boutier <charliebout@google.com>
Commit-Queue: Charlie Boutier <charliebout@google.com>
Reviewed-by: Ben Lawson <benlawson@google.com>
  • Loading branch information
SilverBzH authored and CQ Bot Account committed Jan 9, 2025
1 parent 7a788dc commit 46ce327
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pw_bluetooth/public/pw_bluetooth/avdtp.emb
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,34 @@ struct SetConfigurationReject:
$next [+1] ServiceCategory service_category
$next [+1] ErrorCode error_code

# Cf 8.13 Start Stream


struct StreamStartCommand:
-- Cf 8.13.1 AVDTP_START_CMD
[requires: signaling_header.message_type == MessageType.COMMAND && signaling_header.signal_identifier == SignalIdentifierCode.AVDTP_START]
0 [+2] SignalingHeader signaling_header
$next [+1] bits:
0 [+6] Seid acp_seid
$next [+2] UInt rfa


struct StreamStartResponse:
-- Cf 8.13.2 AVDTP_START_RSP
[requires: signaling_header.message_type == MessageType.RESPONSE_ACCEPT && signaling_header.signal_identifier == SignalIdentifierCode.AVDTP_START]
0 [+2] SignalingHeader signaling_header


struct StreamStartReject:
-- Cf 8.13.3 AVDTP_START_REJ
[requires: signaling_header.message_type == MessageType.RESPONSE_REJECT && signaling_header.signal_identifier == SignalIdentifierCode.AVDTP_START]
0 [+2] SignalingHeader signaling_header
$next [+1] bits:
0 [+6] Seid acp_seid
$next [+2] UInt rfa

$next [+1] ErrorCode error_code

# Cf 8.14 Stream Release


Expand Down

0 comments on commit 46ce327

Please sign in to comment.