Brecham.Obex — An OBEX library for the .NET Framework

ObexPduFactory.PeerMru Property

[This is preliminary documentation and subject to change.]

Gets or set the size of the peer device's receive buffer.

[Visual Basic]
Public Property PeerMru As Integer
[C#]
public int PeerMru {get; set;}

Remarks

This defaults to 255 as specified in Obex13.pdf section 3.3.1.3, and the peer device advertises its actual value in the Connect PDU. The peer's actual value is thus discovered if a Connect operation is executed. The ParseResponse method and its caller will use the advertised value if it is called on a Connect PDU.

See MinimumMru and MaximumMru for size restrictions

Exceptions

Exception Type Condition
ArgumentException value is not in the valid range.

See Also

ObexPduFactory Class | Brecham.Obex.Pdus Namespace