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 #286.
This commit is contained in:
Patrick Fallberg
2016-01-10 14:04:25 +01:00
parent c5a9c2e033
commit ed75b16ea2
+3
View File
@@ -268,6 +268,9 @@ void MySensor::setupNode() {
if (signer.requestSignatures()) {
wait(2000);
}
#else
// We do not support signing, make sure gateway knows this
sendRoute(build(msg, nc.nodeId, GATEWAY_ADDRESS, NODE_SENSOR_ID, C_INTERNAL, I_REQUEST_SIGNING, false).set(false));
#endif
// Send presentation for this radio node (attach