Hi Vincent, we just didn't manage to implement all functionallity provided by the specification. Right now there is no pending patch or implementation I know of, but we are definitifly looking into finishing it for a later release. Of course, if you need the functionality you can implement it on your own by inheriting from one of the QModbusServer descendants. We are also open for patches that provide the missing implementation.
Obviously you found the issue on jira already: https://bugreports.qt.io/browse/QTBUG-49510?filter=17150 Regards, Karsten Heimrich Senior Software Engineer The Qt Company GmbH Rudower Chaussee 13 D-12489 Berlin karsten.heimr...@qt.io http://qt.io<http://qt.io/> Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B [http://s3-eu-west-1.amazonaws.com/qt-files/logos/qt_logo_with_text_green_rgb_400x141.png]<http://qt.io/> [http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_facebook.png]<http://www.facebook.com/Qt> [http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_twitter.png]<http://www.twitter.com/qtproject> [http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_linkedin.png]<https://www.linkedin.com/company/the-qt-company/> [http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_googleplus.png]<https://plus.google.com/104580575722059274792> [http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_youtube.png]<https://www.youtube.com/QtStudios> From: Development [mailto:development-bounces+karsten.heimrich=qt...@qt-project.org] On Behalf Of SENECLAUZE Vincent Sent: Freitag, 17. Juni 2016 17:02 To: development@qt-project.org Subject: [Development] QtSerialBus : Function Code 20 and 21 not implemented Hi everyone, I try to use the new QtSerialBus with the Qt 5.7.0, and during my test, the Function Code 20 and 21 answer Illegal Function. When I opened source code, I saw this : Line 662, File qmodbusserver.cpp : case QModbusRequest::ReadFileRecord: // TODO: Implement. case QModbusRequest::WriteFileRecord: // TODO: Implement. return QModbusExceptionResponse(request.functionCode(), QModbusExceptionResponse::IllegalFunction); My questions are : Why the documentation do not precise that this Function Code is not implemented ? And Is there a plan to finish this implementation in the next release ? or is someone have a kind of begining of source code or patch ? Best regards, Vincent SENECLAUZE ________________________________ ______________________________________________________________ Ce message et toutes les pièces jointes (ci-après le "message") sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute modification, édition, utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. SPIE et ses filiales déclinent toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié, édité ou diffusé sans autorisation. This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised alteration , printing , use or dissemination is prohibited. E-mails are susceptible to alteration. SPIE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed, falsified, printed or disseminated without authorisation. ______________________________________________________________
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development