Bluetooth Framework C++ Edition

◆ GetSdpAttributes()

__event void GetSdpAttributes ( void *  Sender,
wclBluetoothSdpProtocols Protocols,
wclBluetoothSdpProfiles Profiles,
wclBluetoothSdpFormats Formats,
unsigned long &  Cod 
)

The event fires when the server builds SDP record for the service it runs. If an application needs to provide additional attributes it should handle the event. By default no additional attributes is added for the SDP record.

Parameters
SenderThe object initiates the event.
ProtocolsThe additional protocol descriptors array that should be added to SDP record.
ProfilesThe profile descriptors list that should be added to SDP record.
FormatsOther attributes that should be added to SDP record.
CodClass 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.)

This event will not fire with BlueSoleil Bluetooth driver. BlueSoleil does not support custom SDP records.

See also
wclBluetoothSdpProtocols, wclBluetoothSdpProfiles, wclBluetoothSdpFormats