TwclRfCommServerConnection.DoGetSdpAttributes(TwclBluetoothSdpProtocols,TwclBluetoothSdpProfiles,TwclBluetoothSdpFormats,Cardinal) Method

Fires the GetSdpAttributes event.

Namespace: wclBluetooth
protected
 procedure DoGetSdpAttributes(out Protocols: TwclBluetoothSdpProtocols;
 out Profiles: TwclBluetoothSdpProfiles;
 out Formats: TwclBluetoothSdpFormats;
 out Cod: Cardinal); virtual;

Parameters

Protocols
Type: TwclBluetoothSdpProtocols

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

Profiles
Type: TwclBluetoothSdpProfiles

The profile list that should be added to SDP record.

Formats
Type: TwclBluetoothSdpFormats

Other attributes that should be added to SDP record.

Cod
Type: Cardinal

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 field 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.)

The HAL Radio implementation calls this method when needs to add custom attributes into the SDP record.

BlueSoleil driver does not support custom SDP records and this method does not work with BlueSoleil Bluetooth driver.

A derived class must always call the inherited method.