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

703 Commits

Author SHA1 Message Date
Asbelos
234e5f0d15 Virtual motor driver functions 2020-08-23 22:04:57 +01:00
Asbelos
b225ffb9f3 Prioritise arriving commands over responses
Sems to provide a more reliable system
2020-08-23 19:56:47 +01:00
Asbelos
db31a2b355 Default to POWERMODE::OFF 2020-08-23 14:17:54 +01:00
Asbelos
6a986d2b0c Embed ArduinoTimers library
Makes it so much easier for novice users as the ArduinoTimers libraray is not yet available from the IDE Library Manager.
2020-08-23 14:14:04 +01:00
David Cutting
6e3e8d738d
Remove UNO WiFi Rev2 from default build sequence
Was fouling up the automated checks
2020-08-22 14:12:53 -06:00
David Cutting
7c9597a4c0
Merge pull request #4 from DCC-EX/cs-issue24-boardMgmtSub
Moved to subclasses for board management
2020-08-22 14:04:51 -06:00
David Cutting
b74fba5809 Maeging with master 2020-08-22 14:04:09 -06:00
Asbelos
d3b486a071 Steves Withrottle stuff 2020-08-20 17:16:47 +01:00
Asbelos
f7557f1436 Turn out changes for WiThrottle 2020-08-20 12:38:09 +01:00
Asbelos
55d175adb0 Restartable Wifi interface. 2020-08-20 10:38:59 +01:00
Asbelos
6ad50df2a7 Update MotorDrivers.h
Firebox and fundo driver setups
2020-08-19 20:02:37 +01:00
Asbelos
dd09342214 Config cleanup & http filter
Optional http filter
Additional Firebox motordriver setups (untested)
Config.h removed.
2020-08-19 13:12:39 +01:00
Asbelos
a180700f3a Merge branch 'motor-drivers' 2020-08-17 16:08:46 +01:00
Asbelos
da7275d9a4 Motor drivers tested 2020-08-17 15:30:25 +01:00
Asbelos
7a4fcd228d gradually improving config 2020-08-15 14:10:56 +01:00
Asbelos
cdcb01d300 Compiled motorDriver
New motorDriver design...
2020-08-15 11:32:32 +01:00
David Cutting
867c949674 Added support for Uno Wifi R2 and Nano Every 2020-08-15 00:11:28 -06:00
SteveT
b03776c6f8 sync power state and turnout list/states to all clients 2020-08-14 21:10:02 -04:00
SteveT
a7da30b236 turnout list improvements 2020-08-14 20:46:33 -04:00
Asbelos
ddc3917519 stash incomplete 2020-08-14 22:54:12 +01:00
David Cutting
8f4e4f332a Renamed library dependencies 2020-08-14 11:59:03 -06:00
SteveT
379bf3bc0c reenable address sharing 2020-08-14 10:43:35 -04:00
mstevetodd
5f9324994e
Merge pull request #1 from Asbelos/master
get upstream changes
2020-08-14 08:45:09 -04:00
Asbelos
a217031f24 Withrottle in use change 2020-08-14 12:26:14 +01:00
Asbelos
7815fdcad8 Merge branch 'pr/7' 2020-08-14 12:01:45 +01:00
Asbelos
3b7325f948 Cleaner prog/main sync
Trying to reduce gap between prog and main signals when joined as a siding.
2020-08-14 09:41:14 +01:00
David Cutting
3773cfa7e9 Moved to subclasses for board management 2020-08-13 18:53:21 -06:00
mstevetodd
68255dcadd drop any acquired locos on Q(uit), reduce heartbeat to 2s
also some indentation fixes
note that 2s heartbeat works best with next version of ED.
2020-08-13 16:38:22 -04:00
SteveT
5256c1d021 return new speed and dir to client, add timestamp to DIAG 2020-08-12 21:39:57 -04:00
SteveT
52b0502776 set initial direction forward, forget locos on 2nd missed heartbeat 2020-08-12 15:10:51 -04:00
mstevetodd
ecbedd26bc withrottle changes
disallow acquire if address in use
return error on address 0 and mismatched L/S
move init string to 'HU' reply
some message format fixes
comment-out some DIAGs to show only in and out message traffic
2020-08-12 11:17:05 -04:00
mstevetodd
9cc8843e15
move ssid and password to config.h, restore timeout to full value (#5)
* Update WiThrottle.cpp

I don't believe the /2 is needed. The clients are already expected to provide a bit of extra time for the heartbeat to occur. EngineDriver targets 90% of the heartbeat. I believe WiThrottle does as well.

* move ssid and password into config.h

* Revert "move ssid and password into config.h"

This reverts commit be96b44e88f8b07ac3193dc88ce219d17fa0b43a.

* move ssid and password to config.h
2020-08-01 17:33:10 +01:00
Asbelos
e01b929fd0 Merge branch 'Stream-Reference-Fix' 2020-08-01 17:00:31 +01:00
Asbelos
9044cce2a3 Change Stream refernces to pointers
I misunderstood that references can never be changed.
2020-08-01 16:32:16 +01:00
Harald Barth
7c94a3c881 comments and constant as unsigned 2020-08-01 15:03:15 +02:00
Harald Barth
93446f19ed Two functions changeFn and setFn dependent on if called from WiThrottle or DCCEXparser 2020-08-01 14:06:39 +02:00
Harald Barth
926968bbd7 Function toggle but F2 2020-08-01 00:35:22 +02:00
Harald Barth
b0a7933b7b conditional WiFi setup 2020-07-31 12:46:57 +02:00
Harald Barth
4fce31158f The auto create turnout feature should be there 2020-07-31 12:46:16 +02:00
David Cutting
170c9ab1ea Move to new commmanager scheme 2020-07-30 18:27:04 -06:00
Harald Barth
11395dde2b Merge branch 'master' into progasmain
Conflicts:
	WiThrottle.cpp
2020-07-30 17:14:25 +02:00
Asbelos
a14b9ef8bf <1 JOIN> <F> and other commands
<1 JOIN> for prog track siding
<F> to set locio function individually
<!> in Example filter to forget locos
<$ .. or any unknown char> to deebug
2020-07-30 15:34:56 +01:00
Asbelos
45863a043f Withrottle Heartbeat
Dont allow millisecond delays to triigger heartbeat missed
2020-07-30 15:31:31 +01:00
David Cutting
3b29bc002c Fixed it 2020-07-29 17:17:34 -06:00
David Cutting
87a82f7c18 Added free memory detection 2020-07-29 17:03:09 -06:00
Harald Barth
b886a09f82 Autocreate turnouts 2020-07-25 18:50:23 +02:00
Harald Barth
deec8b7e8c Reverse setBrake() 2020-07-25 18:49:37 +02:00
Asbelos
3aff6230a2 Reject unknown turnouts 2020-07-25 17:33:39 +01:00
Asbelos
32b507248d Update WifiInterface.cpp
Merge newer AT commands and freveal AT version at startup
2020-07-25 15:16:06 +01:00
Asbelos
95a5f7b9a4 Revert "Merge branch 'thingietest'"
This reverts commit 79f552ab5f, reversing
changes made to 7af5effba9.
2020-07-25 14:40:59 +01:00