Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclRfCommServerConnection::wclBluetoothGetSdpAttributesEvent Method

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

Syntax
C++
wclBluetoothGetSdpAttributesEvent(GetSdpAttributes);
Parameters 
Description 
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.)
 
Copyright (c) 2006-2019. All rights reserved.