Index: sources/view/settings/VBluetooth.cpp =================================================================== diff -u -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 -raff2e3d6f0cf3827ed741e8dcd278d3e4008945a --- sources/view/settings/VBluetooth.cpp (.../VBluetooth.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) +++ sources/view/settings/VBluetooth.cpp (.../VBluetooth.cpp) (revision aff2e3d6f0cf3827ed741e8dcd278d3e4008945a) @@ -38,8 +38,11 @@ this , SLOT( onStateChange (BluetoothData ))); connect(&_BluetoothInterface, SIGNAL(didDeviceChange(BluetoothDeviceData)), this , SLOT( onDeviceChange(BluetoothDeviceData))); + connect(&_BluetoothInterface, SIGNAL(didDeviceInfoUpdated(QString, QString )), + this , SLOT( onDeviceInfoUpdated(QString, QString ))); connect(this , SIGNAL(didDeviceSelect(QString, QString )), this , SLOT( onDeviceSelect(QString, QString ))); + } /*! @@ -142,6 +145,7 @@ case MBluetooth::eIS_Device_Waiting : // Selected device connected and is in waiting mode for read. pairedAddr(vData.deviceAddr); pairedBatt(vData.deviceBatt); + pairedName(vData.deviceName); scanEnabled(true); break; @@ -317,6 +321,18 @@ } /*! + * \brief View::VBluetooth::onDeviceInfoUpdated + * \details Sets the vendor name and model name properties + * \param vVendorName - the vendor name associated with the remote device + * \param vModelName - the model string of the remote device + */ +void View::VBluetooth::onDeviceInfoUpdated(const QString &vVendorName, const QString &vModelName) +{ + pairedVendorName(vVendorName); + pairedModelName (vModelName ); +} + +/*! * \brief View::VBluetooth::doScan * \details calls the Bluetooth Interface scan to start discovering the Bluetooth devices. */