ServiceRecordParserSplitSearchAttributeResult Method

Split a sequence of records into the component records.

Definition

Namespace: InTheHand.Net.Bluetooth.Sdp
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public static byte[][] SplitSearchAttributeResult(
	byte[] multiRecord
)

Parameters

multiRecord  Byte
A byte array holding the “data element sequence where each element in turn is a data element sequence representing an attribute list.”

Return Value

Byte
An array of byte arrays where each holds a SDP record (a “data element sequence representing an attribute list.”). If the input was zero length or empty then a zero length array is returned.

Remarks

The Bluetooth SDP operation ServiceSearchAttribute returns its result as a “data element sequence where each element in turn is a data element sequence representing an attribute list.” This method split that sequence into the individual attribute lists.

On CE/Windows Mobile the result of a record lookup is in this form so GetServiceRecords(Guid) etc use this method to split the result into is constituent records.

Exceptions

ArgumentNullExceptionmultiRecord is .

See Also