Skip to content

Commit ca43585

Browse files
committed
Make sure nodes not supporting signing informs GW
A node that does not support signing, still needs to inform the gateway about this to make sure the gateway carries a valid signing requirement table when a node Id that was requiering signing stops doing this. This fixes arduino#286.
1 parent ec0a5d2 commit ca43585

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/MySensors/core/MyTransport.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ void transportPresentNode() {
553553
#else
554554
_sendRoute(build(_msg, _nc.nodeId, GATEWAY_ADDRESS, NODE_SENSOR_ID, C_INTERNAL, I_REQUEST_SIGNING, false).set(false));
555555
#endif
556+
#else
557+
// We do not support signing, make sure gateway knows this
558+
_sendRoute(build(_msg, _nc.nodeId, GATEWAY_ADDRESS, NODE_SENSOR_ID, C_INTERNAL, I_REQUEST_SIGNING, false).set(false));
556559
#endif
557560

558561
// Send presentation for this radio node

0 commit comments

Comments
 (0)