BluetoothClass::BluetoothClass(bt_class_s bluetoothClass)
{
- LogDebug("Enter");
+ LoggerD("Enter");
mMajor = BluetoothClassDeviceMajor::getInstance()->getMajorValue(bluetoothClass.major_device_class);
mMinor = BluetoothClassDeviceMinor::getInstance()->getMinorValue(bluetoothClass.minor_device_class);
mServices= BluetoothClassDeviceService::getInstance()->getServiceValues(bluetoothClass.major_service_class_mask);
BluetoothClass::~BluetoothClass()
{
- LogDebug("Enter");
+ LoggerD("Enter");
}
unsigned long BluetoothClass::getMajor() const
{
- LogDebug("Enter");
+ LoggerD("Enter");
return mMajor;
}
unsigned long BluetoothClass::getMinor() const
{
- LogDebug("Enter");
+ LoggerD("Enter");
return mMinor;
}
JSValueRef BluetoothClass::getServices(JSContextRef context)
{
- LogDebug("Enter");
+ LoggerD("Enter");
/*
JSValueRef service = mLocalProperty.getProperty(context, BLUETOOTH_CLASS_SERVICES);
if(service == NULL) {
bool BluetoothClass::hasService(unsigned long service)
{
- LogDebug("Enter");
+ LoggerD("Enter");
for(std::vector<unsigned long>::iterator iter = mServices.begin(); iter != mServices.end(); ++iter) {
if((*iter) == service) {