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

92 Commits

Author SHA1 Message Date
Asbelos
162c7e6e11 UNTESTED Reduce #ifdef hell on wifi
This fix to the structure of the Wifi code alows for a better link optimisation and so it is no longer necessary for the wifi code or header to read values from the config.h file.

Compilation shows that >11Kb of code is eliminated by the linker if the setup and loop are not called.
~including the interface does not really change anything
2020-09-26 09:40:49 +01:00
Harald Barth
32f1d7d890 Make all Wifi code disappear if Wifi is not enabled. 2020-09-25 22:14:20 +02:00
dexslab
bc8b01fbd6 Minor fixes start Uno Wifi Rev 2 fixes 2020-09-25 13:51:08 -04:00
dexslab
eb887fdbd2 Finish wifi interface fixes from serial123 branch, Fixes for flash string missing 2020-09-22 15:45:06 -04:00
Asbelos
39d9defec6 Improved <D> commands
<D ACK 1|0>
<D WIFI 1|0>
<D WIT 1|0>
<D CMD 1|0>
<D CABS>
<D RAM>
2020-09-10 13:09:32 +01:00
Asbelos
bc53b3e599 Cleaned DIAG interface
All DIAGS can be switched off by StringFormatter::diagSerial=NULL;
2020-09-06 20:23:26 +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
b225ffb9f3 Prioritise arriving commands over responses
Sems to provide a more reliable system
2020-08-23 19:56:47 +01:00
Asbelos
55d175adb0 Restartable Wifi interface. 2020-08-20 10:38:59 +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
SteveT
5256c1d021 return new speed and dir to client, add timestamp to DIAG 2020-08-12 21:39:57 -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
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
b0a7933b7b conditional WiFi setup 2020-07-31 12:46:57 +02: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
Harald Barth
ed332efd2e Using Serial2 and startup changes 2020-07-25 14:46:29 +02:00
Asbelos
09cf6763cb DIAGSERIAL corrections
for SAMD
2020-07-25 01:40:20 +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
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
6ae855235f Wifi timeout on non-blocking responses 2020-07-16 13:19:29 +01:00
Asbelos
42e60966e8 Non blocking wifi reply
Still needs send replyerror  timeout check
2020-07-16 11:52:06 +01:00
Asbelos
44d41ac4d6 Wifi write(0)
Some environments complain about sending a char
2020-07-14 13:32:55 +01:00
Asbelos
4aceff8b7c WiThrott;e FIXES 2020-07-05 21:00:27 +01:00
Asbelos
46d1f3e237 Copyrights etc 2020-07-03 17:35:02 +01:00
Asbelos
b0debd1fab Interrupt time ACK manager 2020-07-02 12:49:35 +01:00
Asbelos
9ebe4ad834 Update WifiInterface.cpp 2020-07-01 23:02:45 +01:00
Asbelos
6a923c4302 Cleaning up warnings (some of which were actually fatal) 2020-06-29 11:37:05 +01:00
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
Asbelos
669356df7d First WiThrottle prototype 2020-06-27 15:36:32 +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
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
Asbelos
e769361c26 back working no wifi 2020-06-11 13:35:16 +01:00