We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154beed commit bbc6a22Copy full SHA for bbc6a22
libraries/MySensors/core/MyTransport.cpp
@@ -454,7 +454,14 @@ void transportPresentNode() {
454
// Open reading pipe for messages directed to this node (set write pipe to same)
455
transportSetAddress(_nc.nodeId);
456
// Present node and request config
457
- #ifndef MY_GATEWAY_FEATURE
+ #ifdef MY_GATEWAY_FEATURE
458
+ // Send presentation for this gateway device
459
+ #ifdef MY_REPEATER_FEATURE
460
+ present(NODE_SENSOR_ID, S_ARDUINO_REPEATER_NODE);
461
+ #else
462
+ present(NODE_SENSOR_ID, S_ARDUINO_NODE);
463
+ #endif
464
+ else
465
if (_nc.nodeId != AUTO) {
466
// Send signing preferences for this node
467
signerPresentation(_msg);
0 commit comments