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

2476 Commits

Author SHA1 Message Date
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
Asbelos
79f552ab5f Merge branch 'thingietest' 2020-07-25 14:33:18 +01:00
Harald Barth
ed332efd2e Using Serial2 and startup changes 2020-07-25 14:46:29 +02:00
Asbelos
7af5effba9 AnalogReadFast
Version copied from CommandStation
2020-07-25 11:00:04 +01:00
Asbelos
34dde6fe12 Withrottle power at start 2020-07-25 01:40:45 +01:00
Asbelos
09cf6763cb DIAGSERIAL corrections
for SAMD
2020-07-25 01:40:20 +01:00
Asbelos
6fadd18827 Allow left/right turnout labels WiThrottle
TPL assist
2020-07-24 17:29:48 +01:00
Asbelos
9b58eb29a2 Low memory watermark
freememory was returning wrong values
2020-07-24 13:46:23 +01:00
Asbelos
56962d0528 nothing special 2020-07-24 12:00:24 +01:00
Asbelos
32240c97e2 SAMD support issues 2020-07-24 12:00:07 +01:00
Asbelos
575b5da606 WiThrottle turnout improvement 2020-07-23 17:34:35 +01:00
Asbelos
7842166722 Comments correction 2020-07-23 17:33:54 +01:00
Asbelos
57178dac4d Turnout status display bug 2020-07-23 15:42:07 +01:00
Asbelos
a915331103 Emergency stop in JMRI and WiThrottle
JMRI -1 means speed=1 in DCC
2020-07-23 15:41:43 +01:00
Asbelos
7eae489b9e Withrottle format char wrong 2020-07-23 12:48:58 +01:00
Asbelos
964f39d376 Fix hanging turnouts
Caused by tt->activate call when Turnouts was a struct not a class!
2020-07-23 12:48:38 +01:00
Asbelos
928a9d834a AT command version
+ Withrottle minor fix
2020-07-22 15:14:07 +01:00
Asbelos
177e243507 Avoid bizarre compiler issues
AIDE and SAMD PlatformIO dont agree on write, so use print instead.
2020-07-20 09:55:04 +01:00
Asbelos
2ae7aedcd2 Blocking progtrack call optoin
Note, as yet UNTESTED
2020-07-19 18:39:08 +01:00
Asbelos
0ea0cc6391 Wifinterface startup checks
more relaxed checks as some chips differ
2020-07-19 18:31:51 +01:00
David Cutting
29b719ffd9 Rename files to work in all environments 2020-07-18 06:24:29 -06:00
David Cutting
2d9caa6f58 Move stuff to Arduino folder, add callback registration 2020-07-18 06:18:06 -06:00
Asbelos
0856164837 Cleaned out warnings 2020-07-16 16:10:27 +01:00
Asbelos
23088cda88 Fixup MemStream warning messages 2020-07-16 14:04:59 +01:00
Asbelos
d39c367132 Merge branch 'objdump' 2020-07-16 13:25:53 +01:00
Asbelos
6ae855235f Wifi timeout on non-blocking responses 2020-07-16 13:19:29 +01:00
Harald Barth
f2c33505ed initial 2020-07-16 13:54:47 +02:00
Asbelos
42e60966e8 Non blocking wifi reply
Still needs send replyerror  timeout check
2020-07-16 11:52:06 +01:00