serial settings in openDCC dialog not recognized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rocrail |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
rocrail and openDCC somehow dont agree on the serial speed settings
openDCC expressnet firmware 0.23.4
rocrail >1600
Test pattern:
in openDCC command station dialogue
*read CV
*change speed in rocrail dialog to e.g. 57600
*write CV
*restart rocrail & openDCC
->connection lost
*set openDCC speed manually to 2400
*restart rocrail
->can connect
*read CV
->openDCC seems to be set to speed setting 0 (2400)
This would also explain new users problems getting openDCC and rocrail connected.
I suspect that rocrail is confused with the fact, depending on the protocol settings of openDCC (expressnet or p50x) the baud mapping is different: http://
Related branches
Changed in rocrail: | |
status: | New → Fix Released |
Sorry, I overlooked this during my test.
There is a problem with the baudrate interpretation in RocRail.
As far as I could see the following happens:
When you change the baudrate the wrong value is send to Open DCC
e.g. for 57600 baud it should send 3 but it sends 5.
This happens because OpenDCC expects at write the Lenz values,
but for reads OpenDCC provides the p50xb values.
Ernst