1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00
Commit Graph

178 Commits

Author SHA1 Message Date
Asbelos
bc53b3e599 Cleaned DIAG interface
All DIAGS can be switched off by StringFormatter::diagSerial=NULL;
2020-09-06 20:23:26 +01:00
Asbelos
4e0c227012 Cleaning of Turnout/Output/Sensor
PLEASE BE AWARE, I have not tested Outputs or Sensors either before or after this change.
(and they were certainly wrong before!)
2020-09-06 12:44:19 +01:00
Asbelos
fd466a5e62 Broadcast stop/estop
Avoids directuion change in reminders
2020-09-03 11:28:52 +01:00
Asbelos
266ef01dbe <s> mod 2020-08-28 14:44:06 +01:00
Asbelos
31651d3e44 Optional Timer number override 2020-08-28 12:34:58 +01:00
Asbelos
6939c4c2e3 WifiInterface AP use mac address 2020-08-27 11:18:19 +01:00
Asbelos
9efcad908c Wifiinterfce AP mode
Create DCCEX_555555 with password PASS_555555    .... not yet using mac address.
2020-08-26 13:18:34 +01:00
Asbelos
ef21b0f97e WifiInterface
Recovering after arduino reboot with ES still connected and data inbound
2020-08-24 16:46:16 +01:00
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
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
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
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
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
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
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
Asbelos
79f552ab5f Merge branch 'thingietest' 2020-07-25 14:33:18 +01:00