diff --git a/pw_bluetooth/public/pw_bluetooth/avdtp.emb b/pw_bluetooth/public/pw_bluetooth/avdtp.emb index ae990e9cb..f8f073abf 100644 --- a/pw_bluetooth/public/pw_bluetooth/avdtp.emb +++ b/pw_bluetooth/public/pw_bluetooth/avdtp.emb @@ -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