mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 04:36:31 +00:00
Update xdrv_11_knx.ino
This commit is contained in:
parent
19cacb4a67
commit
4d399f77b4
@ -20,9 +20,6 @@
|
|||||||
#ifdef USE_KNX
|
#ifdef USE_KNX
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
* KNX support
|
* KNX support
|
||||||
*
|
|
||||||
* Using libraries:
|
|
||||||
* ESP KNX IP library (https://github.com/envy/esp-knx-ip)
|
|
||||||
|
|
||||||
Constants in sonoff.h
|
Constants in sonoff.h
|
||||||
-----------------------
|
-----------------------
|
||||||
@ -33,7 +30,6 @@ Constants in sonoff.h
|
|||||||
#define MAX_CALLBACK_ASSIGNMENTS 10
|
#define MAX_CALLBACK_ASSIGNMENTS 10
|
||||||
#define MAX_CALLBACKS 10
|
#define MAX_CALLBACKS 10
|
||||||
Both to MAX_KNX_CB
|
Both to MAX_KNX_CB
|
||||||
|
|
||||||
Variables in settings.h
|
Variables in settings.h
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
@ -46,12 +42,12 @@ uint16_t Settings.knx_CB_addr[MAX_KNX_CB] Group address to write
|
|||||||
byte Settings.knx_GA_param[MAX_KNX_GA] Type of Input (relay changed, button pressed, sensor read)
|
byte Settings.knx_GA_param[MAX_KNX_GA] Type of Input (relay changed, button pressed, sensor read)
|
||||||
byte Settings.knx_CB_param[MAX_KNX_CB] Type of Output (set relay, toggle relay, reply sensor value)
|
byte Settings.knx_CB_param[MAX_KNX_CB] Type of Output (set relay, toggle relay, reply sensor value)
|
||||||
|
|
||||||
|
//void KNX_CB_Action(message_t const &msg, void *arg); // Define function (action callback) to be called by the KNX_IP Library
|
||||||
|
// when an action is requested by another KNX Device
|
||||||
|
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
#include <esp-knx-ip.h>
|
#include <esp-knx-ip.h> // ESP KNX IP library (https://github.com/envy/esp-knx-ip)
|
||||||
|
|
||||||
//void KNX_CB_Action(message_t const &msg, void *arg); // Define function (action callback) to be called by the KNX_IP Library
|
|
||||||
// when an action is requested by another KNX Device
|
|
||||||
|
|
||||||
address_t KNX_physs_addr; // Physical KNX address of this device
|
address_t KNX_physs_addr; // Physical KNX address of this device
|
||||||
address_t KNX_addr; // KNX Address converter variable
|
address_t KNX_addr; // KNX Address converter variable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user