In the "sendIntroMessage()" method, the first thing sent from the server to the phone is a "VN2.0" This tells the phone which protocol version the server supports. That's followed by: "RL0" (no roster entries) "PPA0" or "PPA1" or "PPA2" (power off/on/unknown) "RCC0" (no consists defined) some stuff about turnouts that I'm still figuring out... "PW2560" (ethernet port 2560)
Ah, crossed post on same subject... see update @ #20. Anyways where does the function get called? If it's in Base Station code, then I need to implement elsewhere.
Yeah, it's called from SerialCommand:: process() on line 70. It should be called once, when the connection is made to the client. I don't think it hurts to send the messages multiple times, it's just redundant/unnecessary.
Help Have the mega working with JRMI how do you get a phone to be a throttle and the software other than jmri? Sent from my iPhone using Tapatalk
Can I get info o how to do this. Have the dcc++ running on test track.what additional software and hardware is needed ghoconnor@ilcoud .com Sent from my iPhone using Tapatalk
Can I get info o how to do this. Have the dcc++ running on test track.what additional software and hardware is needed ghoconnor@ilcoud .com Look on the JMRI page just below the JMRI 2.14.1 Production Release link. Link for their WIFI app.
Mark, Steve, thank you both for all your efforts, after a few issues getting my base station to operate correctly (mainly down to an issue with a decoder) I was running my trains with your code and WiThrottle within minutes. As I do more testing I’ll feedback any issues I find but it appears you’ve already found & fixed the bugs. One thing that’s worth pointing out for other users that are going to try this is that WiThrottle Lite can not turn the track power on or off so you need either the full WiThrottle or JMRI on a laptop to do this for you. Sent from my iPhone using Tapatalk