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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user