1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00
Commit Graph

45 Commits

Author SHA1 Message Date
Asbelos
b2a9022c19 Preamble count to include previous stop bit 2020-06-21 12:59:58 +01:00
Asbelos
effbdea477 Improved comments and <#> diagnostic 2020-06-19 10:45:08 +01:00
Asbelos
c5045e4cac Implement <1 MAIN> etc. 2020-06-19 09:19:41 +01:00
Asbelos
5872659ff2 Command Filter and some extra APIs. 2020-06-18 19:36:37 +01:00
Asbelos
ffea04a499 tIMER WRAP PROTECTION and broadcast speed fix 2020-06-16 11:06:36 +01:00
Asbelos
506f9e4353 More PROGMEM tuning 2020-06-13 15:53:46 +01:00
Asbelos
8538aa1624 Wifi Interface WORKING 2020-06-13 11:17:06 +01:00
Asbelos
2a36ad365c WifiInterface compiles
Basic logic compiles... untested
2020-06-13 09:36:10 +01:00
Asbelos
0a60a36d30 Wifi Interface Setup
Performs connection etcc... still not passing cmds to dcc
2020-06-12 19:56:40 +01:00
Asbelos
e0c76a9dc4 Alter Stream to Print
In prep for Wifi siolution, all output  functions changed to expect Print class instead of Stream... Can still pass Serial1 etc because Stream extends Print, but this allows for an output-only class extending Print to collect a response buffer for Wifi sending with AT commands.
2020-06-12 14:28:35 +01:00
Asbelos
e769361c26 back working no wifi 2020-06-11 13:35:16 +01:00
Asbelos
aebc35b183 Restructure to support multiple input streams
Preparation for Wifi without adding any Wifi specifics.
2020-06-10 17:31:26 +01:00
Asbelos
4d80152ad0 ACK Timer correction 2020-06-09 08:38:27 +01:00
Asbelos
50cbcabe00 ACK pulse timins refer @haba 2020-06-09 08:35:14 +01:00
Asbelos
f8f4268a48 Get loco Id API test 2020-06-08 13:04:47 +01:00
Asbelos
7a20896c8c RTFM not the comments
Comments have a horrible habit of getting out of date.
2020-06-07 20:11:44 +01:00
Asbelos
f2ee681479 Improved average CV read time
Anticipate more zeros than 1s in a typical CV value
2020-06-07 17:02:22 +01:00
Asbelos
d1843fe38e Ack updates and diags commented out
ACK logic now seems to work.
2020-06-07 16:29:53 +01:00
Asbelos
026ee0b7a8 Working ACKs with diagnostics 2020-06-07 15:29:09 +01:00
Asbelos
0ad395a63a Ack Management compiles
but remains untested
2020-06-07 13:48:42 +01:00
Asbelos
b2b6886b52 Reset counter prearation 2020-06-06 11:11:03 +01:00
Asbelos
5144eb6764 Rename parser 2020-06-04 20:55:18 +01:00
Asbelos
e933172ef3 CPU handling
Technique adapted from David Cutting's solution
2020-06-04 20:30:11 +01:00
Asbelos
b89c9068ff Compileable JMRIParser
Has Turnout, Output Sensor support.
Needs further cleaning and cross checking against spec.
May implement Daves Comms manager etc.
2020-06-03 14:26:49 +01:00
Asbelos
d42589aff5 Loco reminders speedcode
Saves one byte per loco and avoids recalculating the speed message bits each time
2020-06-03 10:36:01 +01:00
Asbelos
26dffa3be3 Added DCC api readCVBit and getLocoId
Sanity check needed
2020-06-03 09:42:17 +01:00
Asbelos
3a8c83afa6 Make last current available from API
Required for JMRI interface.
2020-06-02 13:20:36 +01:00
Asbelos
23f15131a8 DCC API file tidying
Cruft removal and replace (most) DCC message codes with named constants.
2020-06-01 13:56:02 +01:00
Asbelos
257a81f969 Throttle fix 2020-05-29 15:44:57 +01:00
Asbelos
54ef92085b Include file ckleaning 2020-05-27 09:40:12 +01:00
Asbelos
84a6e9759a Turnouts... compiling 2020-05-27 09:24:56 +01:00
Asbelos
864d2936b1 Acks 2020-05-26 18:34:54 +01:00
Asbelos
c16358facc Basic hardware and railcom abstraction 2020-05-26 17:06:15 +01:00
Asbelos
22406b44ed Abstracted Hardware Interface
The hardware interface for all pins and timers is now in Hardware.cpp
2020-05-26 12:44:02 +01:00
Asbelos
28be07610a Better diagnostics 2020-05-26 09:44:20 +01:00
Asbelos
a43db19cc0 Redirected string parsing 2020-05-25 23:03:11 +01:00
Asbelos
ed279a26d8 Merged DIAG to be genaral stream
Separate steaming and parsers
2020-05-25 19:59:47 +01:00
Asbelos
09b1277000 JMRI interface starts after CVs read. 2020-05-25 13:38:18 +01:00
Asbelos
02673b5f96 First cut parser 2020-05-24 19:59:49 +01:00
Asbelos
54e1284e01 Implemebnt DCC API layer 2020-05-24 16:07:16 +01:00
Asbelos
0b9f4cf574 Rauilcom cutout 2020-05-24 10:27:33 +01:00
Asbelos
76d7be0ef8 Tidying
Moved pre-delay into timeout so detect ACK ASAP
2020-05-24 09:07:54 +01:00
Asbelos
efc2197a7e Cleanup & comments 2020-05-23 23:22:12 +01:00
Asbelos
2ebf1a6f66 First checkin 2020-05-23 23:02:54 +01:00
Asbelos
e95a1a11a5 Initial commit 2020-05-23 23:00:03 +01:00