SOLVED - srcpd and Rocrail

Moderator: Moderators

SOLVED - srcpd and Rocrail

Postby Richard-TX » 25.05.2013, 12:35

Rob,

If Rocrail starts before srcpd is ready or communications to srcpd is lost, Rocrail keeps trying to connect as it should.

When srcpd does become available and Rocrail connects, Rocrail does not seem to act on the info that srcpd sends when an info session is started. Specifically it seems to ignore the FB data that is sent.


The briefest description of this I can give is:
On reconnect, Rocrail does not act on FB data received when an info session is re-established.

Is this normal?
You do not have the required permissions to view the files attached to this post.
Last edited by Richard-TX on 26.05.2013, 06:50, edited 1 time in total.
Richard-TX
 

Postby rjversluis » 25.05.2013, 13:07

Richard,

not very helpful to post a rocview trace file...

The reconnect issue we had chewed if before and should be OK.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Richard-TX » 25.05.2013, 14:16

You are absolutely correct.


here is a rocrail trace.

I did a tcp packet trace and I did not see a SET CONNECTIONMODE SRCP INFO sent.

The reason I am bring this up now is that I am testing the statefulness of my srcpd server. It just so happened that in testing that I started srcpd after starting Rocrail and discovered it.
You do not have the required permissions to view the files attached to this post.
Richard-TX
 

Postby rjversluis » 25.05.2013, 14:28

OK, I will have a look at this.

How to reproduce:

1) start Rocrail
2) start srcpd
?
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 25.05.2013, 14:54

Hi Richard,

5291 could do the job.
Can you compile yourself?
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Richard-TX » 25.05.2013, 15:23

You are correct Rob,

Stop srcpd
start Rocrail
start srcpd



Once srcp has started and Rocrail has established a command session, Rocrail apparantly does not establish an INFO session.



Here is another way to test srcpd -> Rocrail FB communications.

Start Rocrail
Add a srcp feedback device to Rocrail.
start srcpd
turn power "ON"
telnet srcpd-server port 4303
in command mode type
set 1 fb <fb-num> 1
set 1 fb <fb-num> 0
Richard-TX
 

Postby Richard-TX » 25.05.2013, 15:30

5291!...thanks Rob!
Richard-TX
 


Return to srcp