-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/network led #11
base: v1dev
Are you sure you want to change the base?
Conversation
@@ -37,6 +37,10 @@ | |||
#include "UsbExchangeModule.h" | |||
#endif | |||
|
|||
#if !defined(OPENKNX_LED_IP) && defined(INFO2_LED_PIN) && KNX_SERVICE_FAMILY != 0x02 // IP-Router uses own LED implementation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SERVICE_FAMILY ist kein geeignetes Unterscheidungsmerkmal für den Router.
Man sollte das auch an dieser Stelle nicht unterscheiden müssen / können.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ich bin gegen eine default Zuweisung.
Wenn man das haben will, soll man das in seiner HardwareConfig bewusst auswählen.
Und wenn es unbedingtr einen default geben muss, dann muss es eine Möglichkeit geben den Default zu verhindern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ich bin auch gegen default. wenn es jemand braucht, soll er es zuweisen. vor allem weil auch nur die progled pflicht und empfohlen infoled (infoled1) ist.
| Define | Default | Description | Note | | ||
|----------------|----------|-----------------------|-----------------------------------------| | ||
| OPENKNX_LED_IP | info2Led | used LED for IP state | set to 0 to disable the IP LED feature | | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hier wäre noch schön wenn das LED-Bild erklärt würde (welche Farbe/Zustand was bedeutet)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
und ich wäre auch noch für das passende namensschema:
OPENKNX_NETWORK_INFOLED
außerdem bin ich kein freund davon coden namen zu verwenden da es eine spätere anpassung verhindert.
wäre also eher für
-D OPENKNX_NETWORK_INFOLED=2
für info2led.
evtl bekommen wir sogar noch eine activity anzeige hin. zumindest wenn es ein IP Device ist und ein telegramm per ip eingeht.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my comments
No description provided.