1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-30 11:36:13 +01:00
Commit Graph

722 Commits

Author SHA1 Message Date
Asbelos
68f47dae17 HTTPParser framework
Beware needs uplifted wifi buffer
2020-06-28 12:45:31 +01:00
Asbelos
c97d07608b Surface Wifi setup into main prog setup()
Allows for setup with a UNO
2020-06-28 10:21:27 +01:00
David Cutting
0bfeefca37 Change configuration, rename FireBox 2020-06-28 00:28:08 -06:00
Asbelos
669356df7d First WiThrottle prototype 2020-06-27 15:36:32 +01:00
Asbelos
1a1429bf72 Servo Turnouts 2020-06-23 20:01:43 +01:00
Asbelos
030cb654b4 Accessory command validations 2020-06-23 20:00:34 +01:00
Asbelos
e7e4d4fbd9 Drop railcom and prepare for servo turnouts 2020-06-23 17:43:50 +01:00
Asbelos
7c68a9de70 virtual turnout activate 2020-06-22 11:58:33 +01:00
Asbelos
cc0821520e Implement function reminders and new function API 2020-06-22 10:54:57 +01:00
Asbelos
77b745b2f5 Fun with Wifi Port 2020-06-22 10:49:11 +01:00
Asbelos
8decd7db0a Change to TimerOne and drop Railcom code for now. 2020-06-22 10:47:25 +01:00
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
David Cutting
2e5e071fbb
Create LICENSE 2020-06-12 22:51:42 -06: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
David Cutting
69a47d8559 Cleanup to reflect library changes, including splid Main/Service track. 2020-06-11 19:30:45 -06:00
David Cutting
cdfb37c8b5 Fix indentation and refactor for split class 2020-06-11 13:24:00 -06: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
David Cutting
49cd0a866c Rename Parser 2020-06-04 12:45:49 -06: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
David Cutting
4033b6a597 Reduce locomotives when compiling for UNO 2020-06-02 16:37:58 -06:00
David Cutting
872ed372df More library changes. 2020-06-02 13:46:37 -06:00
Asbelos
3a8c83afa6 Make last current available from API
Required for JMRI interface.
2020-06-02 13:20:36 +01:00
David Cutting
545eb54ee5
Merge pull request #1 from davidcutting42/railcom
Railcom support
2020-06-01 23:34:48 -06:00
David Cutting
9f60df9f01 Remove build flags and switch back to SERCOM4 2020-06-01 16:31:23 -06: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
David Cutting
ea3153279b More main file cleanup to reflect library changes 2020-05-30 15:47:12 -06:00
David Cutting
1dd214931f Update main file to reflect library changes 2020-05-30 13:06:45 -06:00
David Cutting
a33270dff3 Added railcom stuff 2020-05-30 03:03:19 -06:00