1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-04-15 09:50:11 +02:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Reinder Feenstra
635d5912ae
Merge 8740af814d into 4125e73318 2025-03-29 13:45:49 +00:00
Asbelos
4125e73318 Fix CLEAR_ALL_STASH 2025-03-29 10:33:36 +00:00
Reinder Feenstra
8740af814d fix: all values except the opcode are case insensetive and threated as uppercase.
Extended accessory now uses an E instead of an A.
2025-03-29 08:45:40 +01:00
3 changed files with 5 additions and 4 deletions

View File

@ -153,11 +153,11 @@ void CommandDistributor::broadcastSensor(int16_t id, bool on ) {
}
void CommandDistributor::broadcastAccessory(int16_t address, byte port, bool gate, bool on) {
broadcastReply(COMMAND_TYPE, F("<y a %d %d %c %c>\n"), address, port, gate?'1':'0', on?'1':'0');
broadcastReply(COMMAND_TYPE, F("<y A %d %d %c %c>\n"), address, port, gate?'1':'0', on?'1':'0');
}
void CommandDistributor::broadcastExtendedAccessory(int16_t address, int16_t value) {
broadcastReply(COMMAND_TYPE, F("<y A %d %d>\n"), address, value);
broadcastReply(COMMAND_TYPE, F("<y E %d %d>\n"), address, value);
}
void CommandDistributor::broadcastTurnout(int16_t id, bool isClosed ) {

View File

@ -217,7 +217,7 @@
#define BROADCAST(msg)
#define CALL(route)
#define CLEAR_STASH(id)
#define CLEAR_ALL_STASH(id)
#define CLEAR_ALL_STASH
#define CLOSE(id)
#define CONFIGURE_SERVO(vpin,pos1,pos2,profile)
#define DCC_SIGNAL(id,add,subaddr)

View File

@ -3,7 +3,8 @@
#include "StringFormatter.h"
#define VERSION "5.4.6"
#define VERSION "5.4.7"
// 5.4.7 - Bugfix: EXRAIL fix CLEAR_ALL_STASH
// 5.4.6 - Bugfix: Do not drop further commands in same packet
// 5.4.5 - ESP32: Better detection of correct IDF version
// - track power is always turned on after setJoin() not by setJoin()