Bob Jacobsen

Results 228 comments of Bob Jacobsen

I think I can modify the code so you can specify two commands to send, e.g.: ``` 0xF801FBF801FC, // Fn28 Start Up Sequence 1 (Delayed Prime Mover, then Immediate Start...

Should I be repeating both of those command messages while the button is down? Or do they just get sent once?

By "three words", do you mean three commands, like 0xF81234, 0xF84567, 0xF87890? The system I was thinking of doesn't really deal with that, as 0xF81234F84567F87890 is too big to fit...

The fix is in a branch in my GitHub repository at: https://github.com/bobjacobsen/JMRI/tree/tmcc-double-functions There are also installers here: https://builds.jmri.org/jenkins/job/testreleases/job/bobjacobsen/130/ Let me know if it's doing what you want, please, and I'll...

The constructor of a TMCC serial message from an int variable only takes the bottom 16 bits as the value: ``` public SerialMessage(int value) { super(3); if ( (value &...

I could be misunderstanding, but your code seems to convert `0xF8017CFB0010L` into `first = 0xF8017C` and `second = 0xFB0010`. Both of those are three bytes long, not two.

Thank you! I think I misunderstand what you're trying to do. How many bytes should this code put on the wire to the TMCC system? ``` sendFnToLayout((int)SERIAL_FUNCTION_CODES[func] + address.getNumber() *...

@danielb987: The changes @tomixnscale89 look valuable. It would be good to get them fixed and included in JMRI. Unfortunately, I don't really understand enough about TMCC to really help with...

Would be happy to do that! Could you also give me a step-by-step for causing the problem, e.g. "open a throttle, select 27, hit function 12" or whatever will trigger...

Thank you for the instructions. When I follow those, I get: ``` [java] 08:24:36,152 mri.jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: F8 07 7C consecutive timeouts = 0 in...