Index: sources/view/settings/VBluetooth.cpp =================================================================== diff -u -rab995780e1eb9082f3c33a357e1386c19de1fa81 -rd1c6d835c562ff192b6b89cf9962b2f994dacaec --- sources/view/settings/VBluetooth.cpp (.../VBluetooth.cpp) (revision ab995780e1eb9082f3c33a357e1386c19de1fa81) +++ sources/view/settings/VBluetooth.cpp (.../VBluetooth.cpp) (revision d1c6d835c562ff192b6b89cf9962b2f994dacaec) @@ -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 ))); + } /*! @@ -141,6 +144,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; @@ -309,6 +313,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. */