[Development] QtSerialBus : Function Code 20 and 21 not implemented

SENECLAUZE Vincent vincent.seneclauze at spie.com
Fri Jun 17 17:01:49 CEST 2016


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.
______________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160617/2b106286/attachment.html>


More information about the Development mailing list