#include <FNetBtBluetoothTypes.h>
#include <FNetBtBluetoothDevice.h>
#include <FAppAppControl.h>
+#include <FBaseColArrayList.h>
#include <FBaseColIList.h>
#include <FBaseColIMap.h>
#include <FBaseBoolean.h>
#include "FNetBt_BluetoothDeviceImpl.h"
using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
using namespace Tizen::Base::Runtime;
namespace Tizen { namespace Net { namespace Bluetooth
long minClassType = 0;
long svcClassType = 0;
long svcType = 0;
+ ArrayList* pUuidList = null;
ClearLastResult();
r = Long::Decode(dataStr, svcType);
SysTryReturn(NID_NET_BT, r == E_SUCCESS, null, E_INVALID_ARG, "[E_INVALID_ARG] exception occurred on parsing input data.")
+ // Gets the service UUID list
+ pUuidList = (ArrayList*) appControlResult.GetValue(String("http://tizen.org/appcontrol/data/bluetooth/uuid_list"));
+ SysTryReturn(NID_NET_BT, pUuidList != null, null, E_INVALID_ARG, "[E_INVALID_ARG] exception occurred on parsing input data.")
+
// Create an instance of BluetoothDevice.
pNewBtDevice = new (std::nothrow) BluetoothDevice();
if (pNewBtDevice == null)
pNewBtDeviceImpl->SetMinorDeviceClassType((BluetoothMinorDeviceClassType) minClassType);
pNewBtDeviceImpl->SetServiceClassList(svcClassType);
pNewBtDeviceImpl->SetServiceList(svcType);
+ pNewBtDeviceImpl->SetServiceUuidList(pUuidList, true);
return pNewBtDevice;
}