BlueLibs documentation

OBEXProtocolUtils.SplitForSending Method 

When sending data (using put command) if the object if larger then the size of the command headers must be spred over several commands. this method split all headers into proper number of put commands

[Visual Basic]
Public Shared Function SplitForSending( _
   ByVal headers As OBEXHeader(), _
   ByVal OpCode As Byte, _
   ByVal MaxCommandLen As UInt16 _
) As OBEXCommand()
[C#]
public static OBEXCommand[] SplitForSending(
   OBEXHeader[] headers,
   byte OpCode,
   ushort MaxCommandLen
);

Parameters

headers
array of the headers to send
OpCode
operation code
MaxCommandLen
maximum size of a command

Return Value

See Also

OBEXProtocolUtils Class | BlueLibs.OBEX Namespace