SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
BTResult |
Add(
BTDeviceInfo const * deviceInfo
) Add the given device information to the Device DB.
|
SFCError |
Bond(
BDAddress const * address
, UInt08ConstPtr pin
, Bool initiating
, BTResult * result
, SFXCallbackPtr callback
) Enable application to send the PIN code to BT driver to be used for authenticating the remote device.
|
BTResult |
EnumInit(
BTDevDBEnumerator * enumerator
) Initialize the Device DB enumerator.
|
BTResult |
EnumNext(
BTDBEntry * entry
) Enumerate through the Device DB to search for entries matching certain criteria.
|
static SFBBTDevDBSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBBTDevDB instance.
|
static SFBBTDevDBSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBBTDevDB instance.
|
BTResult |
Read(
BTDBEntry * entry
) Read from the Device DB the entry whose BD address is specified.
|
BTResult |
Remove(
BDAddress const * address
) Remove from the Device DB the entry with matching BD address.
|
BTResult |
SetNickNmae(
BDAddress const * address
, UInt08ConstPtr name
) Update the NickName for a particular device.
|
BTResult |
SetSecurity(
BDAddress const * address
, BTSecurityLevel security
) Update the security setting for a particular device.
|
BTResult |
SetUserValue(
BDAddress const * address
, BTModDevField field
, UInt16 value
) Update the User defined values 1- 4 for a particular device.
|
BTResult |
Unbond(
BDAddress const * address
) Enable application to mark a given device as not bonded.
|
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.
|
[ public ] BTResult Add( BTDeviceInfo const * deviceInfo // the device information to add to DB );
[ public ] SFCError Bond( BDAddress const * address // BD address of remote device UInt08ConstPtr pin // the PIN code, in UTF-8 format Bool initiating // true to indicate local device initiates bonding process BTResult * result // bonding result SFXCallbackPtr callback // called to deliver the result );
[ public ] BTResult EnumInit( BTDevDBEnumerator * enumerator // the criteria and data used in enumerating the DB );
[ public ] BTResult EnumNext( BTDBEntry * entry // data for the next entry matching search criteria );
[ public, static ] SFBBTDevDBSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBBTDevDBSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] BTResult Read( BTDBEntry * entry // [in] the BD address to match [out] the entire entry for that BD address );
[ public ] BTResult Remove( BDAddress const * address // the BD address to match );
[ public ] BTResult SetNickNmae( BDAddress const * address // BD address of remote device UInt08ConstPtr name // Nickname in UTF-8 format, whose length should not exceed AEEBT_MAX_LEN_NICK_NAME );
[ public ] BTResult SetSecurity( BDAddress const * address // BD address of remote device BTSecurityLevel security // new security setting );
[ public ] BTResult SetUserValue( BDAddress const * address // BD address of remote device BTModDevField field // AEEBT_MDF_VAL1_B/ AEEBT_MDF_VAL2_B/ AEEBT_MDF_VAL3_B/ AEEBT_MDF_VAL4_B UInt16 value // user defined value to update for the device );
[ public ] BTResult Unbond( BDAddress const * address // BD address of remote device );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |