Index: sources/device/DeviceView.cpp =================================================================== diff -u -rf38edd22f7b63694c21b83d6f4b69ea618390126 -rb7c9de054c6b7a1ca4bac9fbb0ec5d4ac06620a9 --- sources/device/DeviceView.cpp (.../DeviceView.cpp) (revision f38edd22f7b63694c21b83d6f4b69ea618390126) +++ sources/device/DeviceView.cpp (.../DeviceView.cpp) (revision b7c9de054c6b7a1ca4bac9fbb0ec5d4ac06620a9) @@ -75,3 +75,35 @@ response(true); } + +// developer implementation section +void VDevice::doInitBluetoothPairedReset() { + // DEBUG : + qDebug() << "HERE Init"; + DeviceBluetoothPairedResetRequestData data; + emit didAttributeRequest(data); +} + +void VDevice::bluetoothPairedResetRequest(const quint8 &) { + // DEBUG : + qDebug() << "HERE Request"; + // DeviceBluetoothPairedResetRequestData data; + // emit didAttributeRequest(data); +} + +void VDevice::onAttributeResponse(const DeviceBluetoothPairedResetResponseData &vData) { + // DEBUG : + qDebug() << "HERE Response" << vData.mAccepted << vData.mReason << vData.mMessage; + // this has to be called to let Gui to set to old value that device controller provided. + status(vData.mMessage); + if ( vData.mAccepted ) { + emit bluetoothPairedResetChanged(0); + } + + accepted(vData.mAccepted); + reason (vData.mReason ); + + // has to be the last one + response(true); +} +