sendNonceReport method

void sendNonceReport(
  1. int destinationNodeId
)

Implementation

void sendNonceReport(int destinationNodeId) {
  var nonce = generateNonce();
  var data = buildSendDataResponse(destinationNodeId, <int>[
    COMMAND_CLASS_SECURITY,
    SECURITY_NONCE_REPORT,
    ...nonce.values,
  ]);
  commandHandler!.request(ZwRequest<void>(logger, destinationNodeId, data));
  logger.fine('nonce sent: ${nonce.values}');
}