PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBBTSDP
Wrapper Class for the IBTSDP interface.
#include <SFBBTSDP.h.hpp>
class SFBBTSDP : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBBTSDP)

Inheritance diagram

 Inheritance diagram of SFBBTSDPClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
O O X X

Reference

BREW API IBTSDP

Member

Public Functions
SFCError DiscoverDevices( SFXCallbackPtr callback , AEEBTDeviceListResult* result )
Start the Blue tooth Device Discovery process.
SFCError GetDeviceName( AEEBTAddr* addr , SFXCallbackPtr callback , AEEBTDeviceNameResult* result )
Start the Blue tooth Name Query for the specified Device.
SFCError GetRemoteServerChannel( AEEBTAddr* addr , UInt16 serviceClass , SFXCallbackPtr callback , AEEBTServerChannelResult* result )
Start the Blue tooth Server Channel Query.
static
SFBBTSDPSmp
NewInstance( SFCErrorPtr exception = null )
Create a new SFBBTSDP instance.
static
SFBBTSDPSmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new SFBBTSDP instance.
SFCError QueryInterface( AEECLSID clsid , VoidHandle handle ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
SFCError QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
SFBBaseSmp QueryInterface( AEECLSID clsid ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
Void Self( AEECLSID clsidReq , SFBQuerySmpPtr clone , AEECLSID clsidImp ) (inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
SFBQuerySmp Self( AEECLSID clsidReq , AEECLSID clsidImp ) (inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
Protected Functions
static
SFBBaseSmp
FactoryByCreate( AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface.
static
SFBBaseSmp
FactoryByQuery( SFBQuerySmpConstRef query , AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.

SFBBTSDP::DiscoverDevices
Start the Blue tooth Device Discovery process.
[ public ]
SFCError DiscoverDevices(
    SFXCallbackPtr callback         // the Callback Scheduled on completion of the Discovery
    AEEBTDeviceListResult* result   // pointer to the Result Record
                                    // the User should allocate AEEBTDeviceListResult Record based on the Requested number of Devices
);

Reference

BREW API IBTSDP_DiscoverDevices


SFBBTSDP::GetDeviceName
Start the Blue tooth Name Query for the specified Device.
[ public ]
SFCError GetDeviceName(
    AEEBTAddr* addr                 // the Bluetooth device Address used for the query
    SFXCallbackPtr callback         // the Callback Scheduled on completion of the Discovery
    AEEBTDeviceNameResult* result   // pointer to the Result Record
                                    // the User should allocate AEEBTDeviceNameResult Record
);

Reference

BREW API IBTSDP_GetDeviceName | SFXCallback


SFBBTSDP::GetRemoteServerChannel
Start the Blue tooth Server Channel Query.
[ public ]
SFCError GetRemoteServerChannel(
    AEEBTAddr* addr                    //the Bluetooth device Address used for the query
    UInt16 serviceClass                // service Class for negotiation
    SFXCallbackPtr callback            // the Callback Scheduled on completion of the Discovery
    AEEBTServerChannelResult* result   // pointer to the Result Record
                                       // the User should allocate AEESDPReqRsp Record
);

Reference

BREW API IBTSDP_GetRemoteServerChannel | SFXCallback


SFBBTSDP::NewInstance
Create a new SFBBTSDP instance.
[ public, static ]
SFBBTSDPSmp NewInstance(
    SFCErrorPtr exception = null   // Error
);
[ public, static ]
SFBBTSDPSmp NewInstance(
    AEECLSID id                    // Class ID
    SFCErrorPtr exception = null   // Error
);