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

146 Commits

Author SHA1 Message Date
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
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
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
Asbelos
3ae457ace2 Wifi back on 2020-07-16 10:51:09 +01:00
Asbelos
57cc5ad705 Save memory
by eliminating last call to arduino version of digitalRead
2020-07-15 22:51:50 +01:00
Asbelos
8d4d9bd28e Update objdump.bat
Even more sorted info
2020-07-15 20:26:19 +01:00
Asbelos
d5ca866972 Create objdump.bat
Useful bat file to view the memory allocations made by the compiler
2020-07-15 20:05:03 +01:00
Asbelos
0138c50f41 Update README.md 2020-07-15 16:40:15 +01:00
Harald Barth
71c4c42331 updated URL 2020-07-14 17:45:11 +02:00
Asbelos
44d41ac4d6 Wifi write(0)
Some environments complain about sending a char
2020-07-14 13:32:55 +01:00
Asbelos
3691cf87d3 use digitalRead2 2020-07-12 19:12:25 +01:00