Steel Soldiers now has a few new forums, read more about it at: New Munitions Forums!
Microsoft MSN, Live, Hotmail, Outlook email users may not be receiving emails. We are working to resolve this issue. Please add support@steelsoldiers.com to your trusted contacts.
I tweeked my RS-232 sniffer code and there are no longer checksum errors.
I also now see what appears as the first requests for real data may be additional handshaking since it's way more than 44 requests.
More digging...
Ah, glad you spotted something odd in the code that may explain what I'm seeing. Easy enough to deal with. Request data, ignore the response and request again to get good data.
I can work on a timeline of the back and forth between the PC an DCS for each PC request from initial baud rate...
I've been looking at the various time delays between data transmissions from the PC. So far I've seen everything from 7ms to 2 seconds or so during the initial handshaking requests and parameter requests.
edit: deleted stuff on bad checksums. Updating in upcoming post
The journey continues..
I also want to capture the Remote Monitor "disconnect" communications.
Still waiting on delivery of the 2 pins needed to add to my DCS P3 so I can take a look at what's happening on the CAN bus.
@Icesythe7 @R1ckyb0nd
Fruitful day with the ESP32 :)
I was able to capture ALL the handshaking between the Remote Monitor PC program and the DCS during the start of the "Connect" up to including a few blocks of 44 parameter requests and 44 DCS responses. Woot woot!
I did a couple of captures...
More robot porn :LOL:
There certainly is a lot of back and forth between the PC and the DCS! Just a bit of what I captured today. Just part of it below.
Need to switch to a bigger processor with more RAM like an ESP32 to capture more data.
Each PC transmission is replied to with a subsequent...
Sequence captured during changing baud rate
PC Data 2,400 83 3 0 0 1 81
PC Data 4,800 83 3 0 0 1 81
PC Data 9,600 83 3 0 0 1 81
PC Data 19,200 83 3 0 0 1 81
DCS Data 19,200 E0 0 1 46 C4
PC Data 19,200 86 2 4 0 80
DCS Data 19,200 6 0 6
PC Data 115,200 93 2 62 29 DA...
I did some work today looking at the beginning of the handshake between the PC and DCS while the Remote Monitor in establishing a connection to the DCS.
Initially the PC sends out some bytes at 2,400 baud. No response from the DCS. PC then sends out the same bytes at 4,800 baud. Again, no...
What I have so far in an Excel file today with set running and loads on L1 & L2, RS-232 data captured and decoded.
Serial Data Baud Rate between DCS & PC 115,200 over 100' of CAT5 cable
Remote Screen at almost the same time for comparison
I just hooked up my sniffer setup again. At 70.5% fuel I'm getting back 93 2 C1 2 52
Yes, I agree 93 2 D1 B 4B is battery voltage.
At 25.35 volts I get back 93 2 E7 9 7F
It's possible that the request below isn't fuel level. It's what it seemed to me while I watched the data exchange and the monitor screen change slightly.
93
2
28
28
91
Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website like our supporting vendors. Their ads help keep Steel Soldiers going. Please consider disabling your ad blockers for the site. Thanks!