ButeoSynchronizationFramework
Public Member Functions | List of all members
BtHelper Class Reference

Implementation for bluetooth helper utils. More...

#include <BtHelper.h>

Inheritance diagram for BtHelper:

Public Member Functions

 BtHelper (const QString &deviceAddess, QObject *parent=0)
 Constructor. More...
 
 ~BtHelper ()
 Destructor.
 
bool getServiceRecords (QList< QString > &servicesList)
 Fetch the bluetooth services supported by remote device. More...
 
bool isServiceSupported (const QList< QString > &servicesList, const QString &serviceUUID)
 To find if a specific service is supported by remote device. More...
 
QMap< QString, QVariant > getDeviceProperties ()
 To find remote device BT properties.
 

Detailed Description

Implementation for bluetooth helper utils.

Constructor & Destructor Documentation

BtHelper::BtHelper ( const QString &  deviceAddess,
QObject *  parent = 0 
)

Constructor.

Parameters
deviceAddessBluetooth address of remote device
parentParent object

Member Function Documentation

bool BtHelper::getServiceRecords ( QList< QString > &  servicesList)

Fetch the bluetooth services supported by remote device.

Parameters
servicesListoutparam which will be populated with the services.
bool BtHelper::isServiceSupported ( const QList< QString > &  servicesList,
const QString &  serviceUUID 
)

To find if a specific service is supported by remote device.

Parameters
servicesListList of remote device sdp records
serviceUUIDUUID of the service to be connected

The documentation for this class was generated from the following files: