Skip to content

Commit

Permalink
Support for multicast notifications from TCD
Browse files Browse the repository at this point in the history
  • Loading branch information
realA10001986 authored Oct 26, 2024
1 parent 422b463 commit c3e550c
Show file tree
Hide file tree
Showing 4 changed files with 230 additions and 98 deletions.
5 changes: 5 additions & 0 deletions sid-A10001986/sid-A10001986.ino
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@

/* Changelog
*
* 2024/10/26 (A10001986) [1.40]
* - Add support for TCD multicast notifications: This brings more immediate speed
* updates (no more polling; TCD sends out speed info when appropriate), and
* less network traffic in time travel sequences.
* The TCD supports this since Oct 26, 2024.
* 2024/09/13 (A10001986)
* - Command *50 is now *60, command *51 is now *61
* (Changed for uniformity with other props)
Expand Down
29 changes: 13 additions & 16 deletions sid-A10001986/sid_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
#ifndef _SID_GLOBAL_H
#define _SID_GLOBAL_H

// Version strings
#define SID_VERSION "V1.30"
#define SID_VERSION_EXTRA "SEP132024"
/*************************************************************************
*** Version Strings ***
*************************************************************************/

#define SID_VERSION "V1.40"
#define SID_VERSION_EXTRA "OCT262024"

//#define SID_DBG // debug output on Serial

Expand All @@ -30,30 +33,24 @@
//#define SID_WM_HAS_MDNS

/*************************************************************************
*** Configuration for peripherals/features ***
*** Miscellaneous ***
*************************************************************************/

// Uncomment for HomeAssistant MQTT protocol support
#define SID_HAVEMQTT

// --- end of config options

/*************************************************************************
*** Miscellaneous ***
*************************************************************************/

// Use SPIFFS (if defined) or LittleFS (if undefined; esp32-arduino >= 2.x)
//#define USE_SPIFFS

// External time travel lead time, as defined by TCD firmware
// If SID is connected by wire, and the option "Signal Time Travel without 5s
// lead" is set on the TCD, the SID option "TCD signals without lead" must
// be set, too.
// If SID is connected to TCD by wire, and the option "Signal Time Travel
// without 5s lead" is set on the TCD, the SID option "TCD signals without
// lead" must be set, too.
#define ETTO_LEAD 5000

// Uncomment to include BTTFN discover support (multicast)
#define BTTFN_MC

// Use SPIFFS (if defined) or LittleFS (if undefined; esp32-arduino >= 2.x)
//#define USE_SPIFFS

/*************************************************************************
*** esp32-arduino version detection ***
*************************************************************************/
Expand Down
Loading

0 comments on commit c3e550c

Please sign in to comment.