const TUid | KUidServiceSDP | [static] |
The UID of the SDP Server.
See also: TBTServiceSecurity
const TSdpAttributeID | KSdpAttrIdServiceRecordHandle | [static] |
Service Record Handle.
const TSdpAttributeID | KSdpAttrIdServiceClassIDList | [static] |
Service ClassID List.
const TSdpAttributeID | KSdpAttrIdServiceRecordState | [static] |
Service Record State.
const TSdpAttributeID | KSdpAttrIdProtocolDescriptorList | [static] |
Protocol Descriptor List.
const TSdpAttributeID | KSdpAttrIdLanguageBaseAttributeIDList | [static] |
Language Base Attribute ID List.
const TSdpAttributeID | KSdpAttrIdServiceInfoTimeToLive | [static] |
Service Info Time To Live.
const TSdpAttributeID | KSdpAttrIdServiceAvailability | [static] |
Service Availability.
const TSdpAttributeID | KSdpAttrIdBluetoothProfileDescriptorList | [static] |
Bluetooth Profile Descriptor List.
const TSdpAttributeID | KSdpAttrIdDocumentationURL | [static] |
Documentation URL.
const TSdpAttributeID | KSdpAttrIdClientExecutableURL | [static] |
Client Executable URL.
const TSdpAttributeID | KSdpAttrIdAdditionalProtocolDescriptorList | [static] |
Additional protocol descriptor list.
const TSdpAttributeID | KSdpAttrIdSecurityDescription | [static] |
PAN Profile Security enforcement
const TSdpAttributeID | KSdpAttrIdNetAccessType | [static] |
PAN Profile, NAP access type
const TSdpAttributeID | KSdpAttrIdMaxNetAccessRate | [static] |
PAN Profile, NAP maximum throughput of uplink network (octets/second)
const TSdpAttributeID | KSdpAttrIdSupportedCapabilities | [static] |
SupportedCapabilities
const TSdpAttributeID | KSdpAttrIdSupportedFeatures | [static] |
SupportedFeatures
const TSdpAttributeID | KSdpAttrIdSupportedFunctions | [static] |
SupportedFunctions
const TSdpAttributeID | KSdpAttrIdBasePrimaryLanguage | [static] |
Primary Language.
const TSdpAttributeID | KSdpAttrIdCharacterEncodingUTF8 | [static] |
const TInt | KSdpAttrIdOffsetServiceName | [static] |
Service Name.
This is an offset that should be added to the attribute ID base (contained in the LanguageBaseAttributeIDList attribute).
const TInt | KSdpAttrIdOffsetServiceDescription | [static] |
Service Description.
This is an offset that should be added to the attribute ID base (contained in the LanguageBaseAttributeIDList attribute).
const TInt | KSdpAttrIdOffsetProviderName | [static] |
Provider Name.
This is an offset that should be added to the attribute ID base (contained in the LanguageBaseAttributeIDList attribute).
const TSdpAttributeID | KSdpAttrIdSdpServerVersionNumberList | [static] |
Version Number List.
const TSdpAttributeID | KSdpAttrIdSdpServerServiceDatabaseState | [static] |
Service Database State.
const TInt | KL2CAPUUID | [static] |
const TInt | KBnepUUID | [static] |
const TInt | KAvctpUUID | [static] |
const TInt | KAvdtpUUID | [static] |
const TInt | KObexProtocolUUID | [static] |
const TInt | KRFCommUUID | [static] |
const TInt | KProtocolDescriptorListUUID | [static] |
Attribute number for the Protocol Descriptor List
const TInt | KBrowseGroupDescriptorServiceClassUUID | [static] |
Browse Group Descriptor Service Class UUID
const TInt | KServiceDiscoveryServerServiceClassUUID | [static] |
Service Discovery Server Service Class UUID
const TInt | KAVRemoteControlTargetUUID | [static] |
Remote control target (service class) UUID
const TInt | KAdvancedAudioDistributionUUID | [static] |
Advanced audio distribution (A2DP) (profile descriptor) UUID
const TInt | KAVRemoteControlControllerUUID | [static] |
Remote control controller (service class) UUID
typedef TPckgBuf< TSdpAttributeID > | TSdpAttributeIDPckgBuf |
Typedef for a TSdpAttributeID package buf
typedef TPckgBuf< TSdpServRecordHandle > | TSdpServRecordHandlePckgBuf |
Typedef for a TSdpServRecordHandle package buf
NONSHARABLE_CLASS | ( | RSdp | ) |
Provides a session to the Service Discovery Database.
Used to create subsessions to database functionality. A clients must create and connect a session, before using a RSdpDatabase subsession to access the database.
See also: RSdpDatabase
NONSHARABLE_CLASS | ( | RSdpSubSession | ) |
Base class used in the derivation of RSdpDatabase.
The class contains basic subssession functionality. It has no user accessible functions.
NONSHARABLE_CLASS | ( | RSdpDatabase | ) |
Subsession to the SDP through which service records and their attributes can be added, deleted, and updated.
Types of attribute data elements.
Enumerator | Value | Description |
---|---|---|
ETypeNil | 0 |
Null type. |
ETypeUint | 1 |
Unsigned integer. |
ETypeInt | 2 |
Signed integer. |
ETypeUUID | 3 |
UUID. |
ETypeString | 4 |
Text string. |
ETypeBoolean | 5 |
Boolean. |
ETypeDES | 6 |
Data element sequence. |
ETypeDEA | 7 |
Data element alternative. |
ETypeURL | 8 |
URL. |
ETypeEncoded | 32 |
Outside SDP reserved range. |
NONSHARABLE_CLASS | ( | CSdpAttrValue | ) |
Base class for classes that encapsulate SDP attributes values.
Sub-classes of this wrap specific types of SDP service record attributes. For example, CSdpBoolean derives from CSdpAttrValue to encapsulate boolean attributes. The base class defines getters for all types: for example, it declares a function Bool() that returns the attribute value as a TBool. Note though that the function would panic unless called on actual CSdpBoolean.
A common base class allows attributes of all types to be used polymorphically. You can use CSdpAttrValue's Type() function to find the actual type being used, and upcast the pointer appropriately.
NONSHARABLE_CLASS | ( | CSdpAttrValueList | ) |
Base class for classes that specify lists of attribute data elements.
It implements the MSdpElementBuilder interface to build data elements into an attribute value.
See also: CSdpAttrValueDEA CSdpAttrValueDES
NONSHARABLE_CLASS | ( | CSdpAttrValueNil | ) |
A null type data attribute.
NONSHARABLE_CLASS | ( | CSdpAttrValueUint | ) |
A unsigned integer value of an attribute.
The value can be up to 128 bits in size. You need to choose to use either Uint() for up to 32 bit size, Uint64() for up to 64 bit size or Uint128() for up to 128 bit size. The size can be found using DataSize(). If the incorrect function is used the code will panic.
const TInt | KMaxIntSize | [static] |
Max size for an SDP Int attribute value in bytes The new value is KSdpMaxIntSize Deprecated
NONSHARABLE_CLASS | ( | CSdpAttrValueInt | ) |
A signed integer value of an attribute.
The value can be up to 128 bits in size.
NONSHARABLE_CLASS | ( | CSdpAttrValueUUID | ) |
A UUID value of an attribute.
The value can be up to 128 bits in size.
NONSHARABLE_CLASS | ( | CSdpAttrValueString | ) |
A Text String value of an attribute.
The encoding of the string is up to the user. The interpretation of the encoding is enabled using facilities in SDP.
NONSHARABLE_CLASS | ( | CSdpAttrValueBoolean | ) |
A Boolean value of an attribute.
NONSHARABLE_CLASS | ( | CSdpAttrValueDES | ) |
A Data element sequence (DES) value of an attribute.
A DES can contain other values within it, including other sequences. This enables arbitrary tree structures to be created.
Most of the functionality is supplied by the base class CSdpAttrValueList.
NONSHARABLE_CLASS | ( | CSdpAttrValueDEA | ) |
A Data element alternative (DEA) value of an attribute: this is an attribute whose value is a sequence of data elements from which one data element is to be selected
Most of the functionality is supplied by the base class CSdpAttrValueList.
NONSHARABLE_CLASS | ( | CSdpAttrValueURL | ) |
A URL value of an attribute.
NONSHARABLE_CLASS | ( | CSdpAgent | ) |
Makes Bluetooth service discovery protocol (SDP) requests to a remote device.
To make SDP requests,
Construct a CSdpAgent object with the Bluetooth address of the remote device to query.
Set the classes of service that you want to query for. The classes have predefined UUIDs, which you specify with SetRecordFilterL().
Get results through NextRecordRequestL(). Information on services is stored as records, which can be queried in turn for attribute values for the service through AttributeRequestL().
A user of this class must implement MSdpAgentNotifier to receive the responses to queries.
Note that queries are asynchronous, although this is hidden in the API. The implication is that the interface functions that receive responses are only called when the thread's active scheduler can schedule handling of the completion of the query.
See also: MSdpAgentNotifier
NONSHARABLE_CLASS | ( | CSdpSearchPattern | ) |
A list of Bluetooth service classes, represented as Universal Unique Identifiers (UUIDs), to be matched in SDP Service Search Requests.
See also: CSdpAgent::SetRecordFilterL() TUUID
Greatest range possible for attribute IDs.
Useful for including all attributes in a CSdpAttrIdMatchList
See also: CSdpAttrIdMatchList
NONSHARABLE_CLASS | ( | CSdpAttrIdMatchList | ) |
SDP Attribute ID Match list.
Holds a list of Attribute IDs to be retrieved from a remote device in an Service Attribute Request. Set in terms of ranges of attributes, each one specified through a TAttrRange.
const TInt | KErrSdpAlreadyBound | [static] |
Cannot bind to specifed sockets protocol, as already bound.
const TInt | KErrSdpClientNotConnected | [static] |
Local device is not connected.
const TInt | KErrSdpUnsupportedVersion | [static] |
Invalid/unsupported SDP version.
const TInt | KErrSdpBadContinuationState | [static] |
Invalid Continuation State.
const TInt | KErrSdpServerRejectedRequest | [static] |
SDP server rejected the request.
const TInt | KErrSdpBadRequestBufferLength | [static] |
Request buffer was ill-formed.
const TInt | KErrSdpBadResultBufferLength | [static] |
Result buffer was ill-formed.
NONSHARABLE_CLASS | ( | CElementParser | ) |
Parser for SDP attribute values.
The class parses an input buffer containing an attribute value into its constituent data elements. It calls an MSdpElementBuilder object each time a data element is decoded.
This parser can parse incrementally, and be fed new data as it arrives.
See also: MSdpElementBuilder
_LIT | ( | KSdpClientPanic | , |
"SDPServer" | |||
) |
Enumerator | Value | Description |
---|---|---|
ESdpBadRequest | 0 | |
ESdpBadDescriptor | 1 | |
ESdpBadSubSessionHandle | 6 | |
ESdpBadSubSessionRemove | 7 | |
ESdpNonExistantRecordHandle | 12 |