Asbelos
8b8e9e4919
clean result from invalid <JR n>
2023-10-12 11:07:05 +01:00
peteGSX
d5978b1578
Change broadcast
2023-10-12 13:28:39 +10:00
Colin Murdoch
1181fd855d
Merge branch 'devel-power-chm' into devel
2023-10-11 16:58:17 +01:00
Asbelos
370dae0ab8
Merge branch 'master' into devel
2023-10-09 18:15:36 +01:00
Asbelos
bef4b2ec35
fix <JR> default roster
2023-10-09 18:09:48 +01:00
Colin Murdoch
52cfc18754
Remove Diags not needed
...
Tidy up Diags and responses - use HASH_KEYWORD in place of 'A'
2023-09-28 15:02:30 +01:00
Colin Murdoch
25bbfa4c68
Fix <1 JOIN>
...
Fixed <1 JOIN> issue in TrackManager
2023-09-27 14:46:48 +01:00
Colin Murdoch
2a46b96083
Updates to power
...
Updates to powere routines and EXRAIL
2023-09-26 18:02:39 +01:00
Colin Murdoch
17c004aecf
Code corrections
...
code corrections
2023-09-25 14:32:54 +01:00
Colin Murdoch
9e3ae21bb8
Change to EXRAIL Set_Power
...
Change to EXRAIL SET_Power
2023-09-25 09:59:17 +01:00
Harald Barth
5a7f278b1e
correct return when requesting D RAM
2023-09-24 20:55:16 +02:00
Harald Barth
9333beda49
correct return when requesting D RAM
2023-09-24 20:54:17 +02:00
Colin Murdoch
aacb980dc8
Power control plus EXRAIL
...
Power Control <0 A> etc plus EXRAIL SET_POWER
Not yet fully tested.
2023-09-24 15:40:42 +01:00
Colin Murdoch
8052090e0f
Added Single Track Power On/Off
...
Added power On/Off <> commands
2023-09-22 17:03:40 +01:00
peteGSX
8437b0e7aa
Updated broadcasts
2023-09-15 06:26:29 +10:00
peteGSX
eb450dbd89
Merge branch 'devel' into add-turntable-object
2023-09-10 07:13:16 +10:00
peteGSX
dba5d35aa2
Add response to create
2023-09-09 09:23:10 +10:00
peteGSX
be10be5a1a
Added angles
2023-09-09 07:22:10 +10:00
peteGSX
004d7b6631
JO and JP working
2023-09-07 07:32:54 +10:00
peteGSX
21ce87eb3e
Descriptions available
2023-09-07 05:33:26 +10:00
peteGSX
1f5f7754c1
Start on position description
2023-09-06 15:16:46 +10:00
peteGSX
6adff43f4b
Update add position
2023-09-06 07:59:43 +10:00
peteGSX
86f4567556
Revisiting logic
2023-09-04 18:46:28 +10:00
peteGSX
f40d57d8bd
Add DCC type, EXTT broadcast from driver
2023-09-01 08:44:32 +10:00
peteGSX
9fa213e198
Undo callback
2023-08-31 13:51:25 +10:00
Harald Barth
01919b33df
Make parser more fool proof
2023-08-30 23:55:39 +02:00
peteGSX
a0c1ad182c
Start on callback
2023-08-30 19:48:30 +10:00
peteGSX
232ac993ec
Separate add from create
2023-08-30 08:45:11 +10:00
Harald Barth
26ddd27ecf
let user disable <D > command in favour for HAL on the Uno platform
2023-08-29 14:27:38 +02:00
peteGSX
6cad794411
Working with 15 positions
2023-08-29 19:04:45 +10:00
peteGSX
b0d8510127
Working but limited
2023-08-29 13:38:52 +10:00
peteGSX
3bfdd16288
Start on JO
2023-08-28 13:11:37 +10:00
peteGSX
df4a501e8a
Writing to driver
2023-08-28 08:36:09 +10:00
peteGSX
2202cb0c5e
Minor progress
2023-08-27 19:30:56 +10:00
peteGSX
1425da20b5
Correct order
2023-08-26 19:41:17 +10:00
peteGSX
b823a647ac
Some progress
2023-08-26 10:26:01 +10:00
peteGSX
fa0aa27d46
Add OPCODE list to DCCEXParser.cpp
2023-08-24 10:07:15 +02:00
peteGSX
ff9c558b61
Not much progress
2023-08-23 19:08:04 +10:00
peteGSX
b277d204f0
Progress!
2023-08-22 19:30:22 +10:00
peteGSX
c4febd1d0f
More parser
2023-08-21 19:33:45 +10:00
peteGSX
98f8022268
Fix device driver, disable objects, start parser
2023-08-21 06:43:06 +10:00
peteGSX
1491da4813
Starting, very broken
2023-08-20 19:26:04 +10:00
peteGSX
085762e800
Add OPCODE list to DCCEXParser.cpp
2023-08-18 18:52:34 +10:00
Harald Barth
df2e651217
version, compile warning
2023-08-02 01:12:32 +02:00
Harald Barth
ab1356d070
Change first join/unjoin and set power after that
2023-07-02 13:55:56 +02:00
Harald Barth
dd80260781
add common fault pin handling to new overload code
2023-06-21 10:44:57 +02:00
Harald Barth
db0e0cbf8b
Send default function list in jR as well
2023-05-25 10:29:01 +02:00
Harald Barth
20d66fad4e
Routes, automations and roster lists: Exclude ID 0 to be presented as available
2023-05-24 13:31:18 +02:00
Harald Barth
951a6637f0
INT16_MAX is a better end of array marker than -1
2023-05-23 10:57:45 +02:00
Harald Barth
fdbcbdf418
Do not send default roster entry on withrottle but on JR
2023-05-22 22:51:35 +02:00
Harald Barth
ecc366cbd1
Merge branch '332-feature-request-add-a-no-programming-option-to-save-ram-on-uno' into devel
2023-05-09 14:11:18 +02:00
Harald Barth
3759fc2a1a
add checks for broken cab ID
2023-05-08 00:19:59 +02:00
Harald Barth
4eaad2d05b
disable more PROG stuff (JOIN/UNJOIN from EXRAIL)
2023-04-23 22:45:47 +02:00
Harald Barth
72d131035e
disable more PROG stuff (all hash keywords PROG etc)
2023-04-23 20:24:29 +02:00
peteGSX
2d1e695ac7
Disable <D ACK>
2023-04-20 08:26:17 +10:00
peteGSX
7addb13785
Disable <R> completely
2023-04-20 07:21:32 +10:00
peteGSX
b6f8889e8c
Disable most programming functions
2023-04-20 07:08:11 +10:00
Colin Murdoch
d857c4f2e4
Added to Copyright notice
...
Added my name to copyright notice
2023-04-19 19:45:40 +01:00
Neil McKechnie
86c3020672
Correct display of high VPIN numbers in diagnostic output.
...
No functional change.
VPINs are unsigned integers in the range 0-65535 (although the highest values are special, 65535=VPIN_NONE). Values above 32767 were erroneously being displayed as negative. This has been fixed, which is a pre-requisite for allowing VPINs above 32767 to be used.
2023-03-27 13:08:14 +01:00
Asbelos
f0ee8aeb85
z Commands
2023-03-23 19:52:49 +00:00
Asbelos
b969563d35
Squashed commit of the following:
...
commit 4d8efcdd05
Author: Asbelos <asbelos@btinternet.com>
Date: Wed Mar 1 16:32:05 2023 +0000
Reinstate obsolete <s>
commit 003313998b
Author: Asbelos <asbelos@btinternet.com>
Date: Wed Mar 1 16:07:11 2023 +0000
Change <I><G> to <JI><JG>
commit c72bf51959
Author: Asbelos <asbelos@btinternet.com>
Date: Sat Feb 25 17:38:39 2023 +0000
G and I commands
2023-03-02 12:56:30 +00:00
Neil McKechnie
7e2487ffbb
Avoid compiler error when no HAL installed.
2023-02-10 15:29:09 +00:00
Neil McKechnie
7de46a0c17
Add <D HAL RESET> command to attempt to reset failed devices.
2023-02-09 00:16:39 +00:00
Neil McKechnie
d8881deb6a
Merge branch 'devel' into devel-nmck
2023-02-07 18:05:18 +00:00
Harald Barth
212bf8d80e
Broadcast power for <s> again
2023-01-29 08:13:52 +01:00
Harald Barth
2a7588b1b5
jT answer should contain empty string
2023-01-28 19:07:59 +01:00
Harald Barth
9e5d780c14
Bugfix for issue #299 TurnoutDescription NULL
2023-01-27 18:42:26 +01:00
Neil McKechnie
10c8915d33
Ensure correct functions are called for strcpy_P, strncmp_P, strlen_P etc. on non-AVR targets..
2023-01-23 22:28:43 +00:00
Colin Murdoch
cd46d3c9e0
Remove #ifdef and merge calcs
...
Remove #idfef statements and merge duplicate routines into CommandDistributor
2023-01-21 10:18:54 +00:00
Colin Murdoch
8fac20a451
Add #ifdef selections
...
Add #ifdef selections linked to #define in config.exampe.h
2023-01-16 18:16:25 +00:00
Colin Murdoch
ff7260b9bc
Added code for FastClock
...
Added code for both I2C fastclock and serial clocks
2023-01-11 17:36:11 +00:00
Asbelos
1d61a8f3f9
HIGHMEM + WITHROTTLE
...
EXRAIL HIGHMEM feature affects parser and withrottle.
Ringstream and wifi fixes
Withrottle connecting / reconnecting
2022-12-16 13:14:48 +00:00
Harald Barth
2b3ba514b0
Use X as the questionmark sign in <T 17 X>
2022-11-05 23:11:54 +01:00
Harald Barth
a199de6d3e
Make <T nn ?> return long config print
2022-11-04 23:43:26 +01:00
Harald Barth
c0cb643cb5
When sending all turnouts, keep it short
2022-11-04 23:15:29 +01:00
Harald Barth
a9ce9101e6
return success/fail from <f> and <F> command handling (setFn, parsef)
2022-08-20 18:15:18 +02:00
peteGSX
0a6d023373
Add <D TT ...> ready to test
2022-08-14 06:58:20 +10:00
Harald Barth
704fabd1a4
check M command against max DCC packet size
2022-08-05 15:15:42 +02:00
Asbelos
3681f0e445
Serial/SerialUSB cleanup
2022-07-08 15:52:46 +01:00
Asbelos
9768083bfe
DCCTimer::reset
...
Moves CPU dependent reset code into correct place.
2022-07-08 15:01:40 +01:00
Asbelos
090acdae44
More SAMD cleanup
2022-07-08 10:46:52 +01:00
Asbelos
385afdeb6c
Merge remote-tracking branch 'origin/TrackManager_SAMD' into PORTX_HAL
2022-07-07 10:02:28 +01:00
Asbelos
12b5c2cdba
Merge branch 'PORTX_HAL' of https://github.com/DCC-EX/CommandStation-EX into PORTX_HAL
2022-07-06 22:26:44 +01:00
Harald Barth
76d6759d98
improve parameter check for 'a' command
2022-07-06 21:13:22 +02:00
Harald Barth
632e9335f3
fix broken 'a' command after broken commit c7b3817
2022-07-06 20:37:17 +02:00
Asbelos
06d1040da0
Merge remote-tracking branch 'origin/SAMD_Integration_PMA' into PORTX_HAL
2022-07-06 17:13:59 +01:00
pmantoine
44b21fd987
Added code to respond to <D RESET>
2022-07-05 12:40:00 +07:00
Harald Barth
5eb9678437
Merge branch 'master' into TrackManager-PORTX
2022-06-11 21:40:08 +02:00
Harald Barth
c7b38170c1
Parse ONOFF with 4 param <a> command
2022-05-22 23:39:46 +02:00
pmantoine
dd58e2c462
Fix ESP32 define
2022-05-17 20:04:19 +08:00
pmantoine
6135272c32
SAMD Support Initial Patches
2022-05-17 18:06:08 +08:00
Harald Barth
ff73a60874
Parse strings with more than one command (<s><Q>) correct
2022-05-13 16:18:47 +02:00
Fred
977802f160
Servo signal ( #227 )
...
Prepping for version 4.1
SERVO_SIGNAL definition in EXRAIL
SERVO_SIGNAL(vpin, redpos, amberpos, greenpos)
use RED/AMBER/GREEN as for led signals.
* SIGNALH, ATGTE, ATLT
UNTESTED
* Automatic ALIAS(name)
and _ in keywords
* EXRAIL FORGET current loco
* EXRAIL </KILL ALL>
* EXRAIL VIRTUAL_TURNOUT
* Cleanup version.h
* Update version.h (#223 )
Rewrite & Updated the 4.0.0 Section
* </KILL ALL> fix
* Incoming LCN turnout throw.
* KILLALL macro
and DIAGNOSTIC messages when KILL command used.
* EXRAIL PARSE
* Rebuild throttle info getters
UNTESTED... create different methods to obtain throttle info without being withrottle specific.
Also implements turnout description of "*" as hidden.
* J command parsing
JA JR JT commands parsed
EXRAIL sets hidden turnout state
HIDDEN description macro
Turnouts hidden flag bit
UNO seems OK, MEGA UNTESTED
* Assist notes draft & syntax tweaks
* Throttle notes
* uno memory saver
* JA JR and <t cab>
* Subtle corrections
* Update version.h
* I2C code corrections
Corrections to I2C code:
1) I2CManager_Mega4809.h: Correct bitwise 'and' to logical 'and' - no impact.
2) I2CManager_Wire.h: Ensure that error codes from Wire subsystem are passed back to caller in queueRequest().
* RAG Ifs and cmds
* IF block perf/memory
* Allow negative route ids.
* correct GREEN keyword
* Update version.h
* myFilter auto detect
* Update version.h
* fix weak ref to myFilter
* ACK defaults now 50-2000-20000
* Update version.h
* Improved SIGNALs startup and diagnostics
* Update IO_PCA9685.cpp
* Allow turnout id 0
* Position servo pin used as GPIO
* NoPowerOff LEDS
* CALLBACK parameter optional for Write
* WRITE CV ON PROG <W CV VALUE>
Callback parameters are now optional on PROG
* Updated CV read command <R cv>
Equivalent to <V cv 0> uses the verify callback.
Co-authored-by: Asbelos <asbelos@btinternet.com>
Co-authored-by: Kcsmith0708 <kcsmith0708@wowway.com>
Co-authored-by: Neil McKechnie <neilmck999@gmail.com>
Co-authored-by: Ash-4 <81280775+Ash-4@users.noreply.github.com>
2022-05-03 16:53:33 -04:00
Harald Barth
ac32cd5528
guess value should be 0 not random bute in RAM
2022-05-03 08:38:35 +02:00
Ash-4
e721457844
Updated CV read command <R cv>
...
Updated CV read command <R cv>
2022-05-02 19:14:04 -05:00
Ash-4
7b40bd3290
Updated CV read command <R cv>
...
Equivalent to <V cv 0> uses the verify callback.
2022-05-02 18:58:03 -05:00
Ash-4
6994139e57
Merge pull request #230 from DCC-EX/ServoSignal
...
WRITE CV ON PROG <W CV VALUE>
2022-04-30 22:33:54 -05:00
Ash-4
b2df10a99a
WRITE CV ON PROG <W CV VALUE>
...
Callback parameters are now optional on PROG
2022-04-29 23:23:15 -05:00
Asbelos
724dea22d5
Merge branch 'ServoSignal' into TrackManager
2022-04-20 09:10:44 +01:00
Asbelos
17eb7c560e
fix weak ref to myFilter
2022-04-20 09:10:27 +01:00