SRCP Response: ERROR wrong value

Moderator: Moderators

SRCP Response: ERROR wrong value

Postby simon83123 » 01.01.2010, 23:48

Hi!

Trying to get things running with srcp + rocrail
rocrail 1.3.0 build rev982
and

scrp server zug@stellwerk:~$ /usr/sbin/srcpd -v
srcpd V2.0.12-opt4DDL; SRCP 0.8.3; SRCPOTHER 0.8.4-wip

1 locomotive with adress dcc adress 3 configured

When I try to press soething on mousecontroller to control the locomotive
I just get these errors:

e.g. switch direction
sent: SET 2 GL 3 0 0 100 1 0 0 0 0 0 0 0 0 0 0 0 0
sent: SET 2 GL 3 1 0 100 1 0 0 0 0 0 0 0 0 0 0 0 0

Server response:
SRCP Response: ERROR wrong value
SRCP Response: ERROR wrong value

Serverlog:

Jan 1 22:31:59 stellwerk srcpd[2753]: [bus 0] New connection received.
Jan 1 22:31:59 stellwerk srcpd[2753]: [bus 0] Connection from
127.0.0.1/36607
Jan 1 22:31:59 stellwerk srcpd[2753]: [session 2] Session started (mode =
2).
Jan 1 22:41:19 stellwerk srcpd[2753]: [bus 1] refresh cycle restarted.


0100101.224119.153 r9999I cmdr09B1 OModel 1483 sys: go
20100101.224119.153 r9999I cmdr09B1 OModel 1488 informing 2 listeners of
a system event...
20100101.224119.154 r9999I cmdr09B1 OSelTab 0314 sysEvent [go]...
20100101.224119.154 r9999I cmdr09B1 OLoc 0227 restoring functions
20100101.224119.155 r9999c cmdr09B1 OSRCP08 0430 sent: SET 1 POWER ON

20100101.224119.368 r9999I ddlfb09B OSRCP 0265 fbAddrStr =
[1262382079.154 100 INFO 1 POWER ON ]
20100101.224122.234 r9999c cmdr09B1 OSRCP08 0430 sent: SET 2 GL 3 1 29 100
1 0 0 0 0 0 0 0 0 0 0 0 0

20100101.224122.235 r9999E cmdr09B1 OSRCP08 0446 SRCP Response: ERROR
wrong value

20100101.224122.250 r9999c cmdr09B1 OSRCP08 0430 sent: SET 2 GL 3 1 29 100
1 0 0 0 0 0 0 0 0 0 0 0 0

20100101.224122.250 r9999E cmdr09B1 OSRCP08 0446 SRCP Response: ERROR
wrong value

20100101.224133.426 r9999c cmdr09B1 OSRCP08 0430 sent: SET 2 GL 3 1 0 100
1 0 0 0 0 0 0 0 0 0 0 0 0

20100101.224133.427 r9999E cmdr09B1 OSRCP08 0446 SRCP Response: ERROR
wrong value

20100101.224135.414 r9999c cmdr09B1 OSRCP08 0430 sent: SET 2 GL 3 0 0 100
1 0 0 0 0 0 0 0 0 0 0 0 0

20100101.224135.415 r9999E cmdr09B1 OSRCP08 0446 SRCP Response: ERROR
wrong value

20100101.224136.470 r9999c cmdr09B1 OSRCP08 0430 sent: SET 2 GL 3 1 0 100
1 0 0 0 0 0 0 0 0 0 0 0 0

20100101.224136.471 r9999E cmdr09B1 OSRCP08 0446 SRCP Response: ERROR
wrong value


What am I doing wrong?

Maybe someone can point out some places in the config where I can start looking to get things working ...

Thanks in advance!

Simon
simon83123
 

Postby Schorse » 02.01.2010, 11:42

Hallo Simon,

sorry , not really help,
but the main Question? Why using srcp?

wrong value means a parameter is out of range

I worked with srcp and Windows some years ago so i think somewhere in the properties is set wrong protocol version.

Regards

Schorse
Schorse
 

Postby skippa » 04.03.2010, 22:03

Hi,

I had the same problem. The problem in my Setup was the configuration of scrp.
Namely the Bus Configuration of the main unit.
(rocrail Eigenschaften -> Zentrale -> srcp -> Eigenschaften -> Busse)
I set most of it to 1, the bus I am using, and then it worked.

Cheers,

skippa
skippa
 


Return to srcp