TwclBluetoothGetSdpAttributesEvent Delegate

The GetSdpAttributes event handler prototype.

Namespace: wclBluetooth
type
 TwclBluetoothGetSdpAttributesEvent = procedure(Sender: TObject;
 out Protocols: TwclBluetoothSdpProtocols;
 out Profiles: TwclBluetoothSdpProfiles;
 out Formats: TwclBluetoothSdpFormats;
 out Cod: Cardinal) of object;

Parameters

Sender

The object initiates the event.

Protocols

The additional protocol descriptors array that should be added to SDP record.

Profiles

The profile descriptors list that should be added to SDP record.

Formats

Other attributes that should be added to SDP record.

Cod

Class of device (COD) information. A 32-bit parameter of COD_SERVICE_* class of device bits associated with this SDP record. The system combines these bits with COD bits from other service records and system characteristics. The resulting class of device for the local radio is advertised when the radio is found during device inquiry. When the last SDP record associated with a particular service bit is deleted, that service bit is no longer reported in responses to future device inquiries.

The format and possible values for the COD value are defined in the Bluetooth Assigned Numbers 1.1 portion of the Bluetooth specification, Section 1.2. (This resource may not be available in some languages and countries.)