Release: | 3.1.0 |
Date: | 2015-11-19+01:00 |
Author: | WG DA |
Company: | MOST Cooperation |
Modifications | |
---|---|
Change | Reason |
FBlock Overview | |
---|---|
FBlockID | Name |
0x03 | ConnectionMaster |
Release: | 3.1.0 |
Date: | 2015-11-19+01:00 |
Author: | unknown |
Company: | unknown |
Modifications | |
---|---|
Change | Reason |
Function Overview | ||
---|---|---|
FktID | Name | Occurrence |
0x200 | BuildConnection | Mandatory |
Occurrence: Mandatory
This method instructs the ConnectionMaster to build a streaming connection
between sink and source.
Note: An implementation
may include either the Ack OPTypes or the non-Ack OPTypes. They must not
be mixed.
Function class: Sequence Method
FBlock | Function | OPType | Parameter |
---|---|---|---|
ConnectionMaster (0x03) | BuildConnection (0x200) | StartResult | SourceFBlock, SourceInstID, SourceNr, SinkFBlock, SinkInstID, SinkNr |
StartResultAck | SenderHandle, SourceFBlock, SourceInstID, SourceNr, SinkFBlock, SinkInstID, SinkNr | ||
ErrorAck | SenderHandle, ErrorCode, ErrorInfo | ||
ProcessingAck | SenderHandle | ||
Processing | |||
Result | SourceFBlock, SourceInstID, SourceNr, SinkFBlock, SinkInstID, SinkNr | ||
ResultAck | SenderHandle, SourceFBlock, SourceInstID, SourceNr, SinkFBlock, SinkInstID, SinkNr | ||
Error | ErrorCode, ErrorInfo |
SourceFBlock
FBlock ID of the streaming data source.
Basis data type | Unit | Exp. | Step | Range of values | Range description |
---|---|---|---|---|---|
Unsigned Byte | none | 0 | 1 | 1...254 |
SourceInstID
Instance ID of the streaming data source.
Basis data type | Unit | Exp. | Step | Range of values | Range description |
---|---|---|---|---|---|
Unsigned Byte | none | 0 | 1 | 1...254 |
SourceNr
Number of the data source within the source FBlock. 0x01 is used for the first source.
Basis data type | Unit | Exp. | Step | Range of values | Range description |
---|---|---|---|---|---|
Unsigned Byte | none | 0 | 1 | 1...255 |
SinkFBlock
FBlockID of the streaming data sink.
Basis data type | Unit | Exp. | Step | Range of values | Range description |
---|---|---|---|---|---|
Unsigned Byte | none | 0 | 1 | 1...254 |
SinkInstID
Instance ID of the streaming data sink.
Basis data type | Unit | Exp. | Step | Range of values | Range description |
---|---|---|---|---|---|
Unsigned Byte | none | 0 | 1 | 1...254 |
SinkNr
Number of the data sink within the sink FBlock. 0x01 is used for the first sink.
Basis data type | Unit | Exp. | Step | Range of values | Range description |
---|---|---|---|---|---|
Unsigned Byte | none | 0 | 1 | 1...255 |
SenderHandle
Unique identifier of the requesting task within the device.
Basis data type | Unit | Exp. | Step |
---|---|---|---|
Unsigned Word | none | 0 | 1 |
ErrorCode
(Refer to the MOST Specification, section "Structure of MOST Messages: OPType")
Basis data type | Unit | Exp. | Step |
---|---|---|---|
Unsigned Byte | none | 0 | 1 |
ErrorInfo
Besides the error information provided in the MOST Specification, additional function specific error info values are specified here.
Basis data type | Length | Condition | Description |
---|---|---|---|
Stream | ErrorCode = 0x20 | Content: CMErrorCode, CMErrorInfo
|
Function specific error codes for the ConnectionMaster.
Basis data type | Code | Name | Description |
---|---|---|---|
Enum (1 byte) | 0x10 | NotEnoughBandwidth | Not enough bandwidth Not enough available bandwidth to build streaming connection. |
0x11 | DeviceBusy | Device Busy Source or sink is busy at the moment and no connection was built or removed. |
|
0x12 | SourceError | Source error A persistent source error. |
|
0x13 | SinkError | Sink error A persistent sink error. |
|
0x14 | SinkInUse | Sink in use The sink is already in use and no connection was built. |
|
0x15 | SourceSinkMismatch | Source sink mismatch The sink does not support the data format that is received from the source. |
Basis data type | Length | Condition | Description |
---|---|---|---|
Stream | CMErrorCode = 0x10 | Content: AvailableBandwidth, RequiredBandwidth
|
|
CMErrorCode = 0x11...0x15 | No info. |
CMErrorInfo.AvailableBandwidth
Available bandwidth.
Speed grade | Parameter value range |
---|---|
MOST50 | 1...117 |
MOST150 | 0...372 |
Basis data type | Unit | Exp. | Step |
---|---|---|---|
Unsigned Word | Byte | 0 | 1 |
Required bandwidth.
Basis data type | Unit | Exp. | Step |
---|---|---|---|
Unsigned Word | Byte | 0 | 1 |