diff --git a/libraries/MySensors/core/MyTransport.cpp b/libraries/MySensors/core/MyTransport.cpp index fe6c948..2fadefb 100644 --- a/libraries/MySensors/core/MyTransport.cpp +++ b/libraries/MySensors/core/MyTransport.cpp @@ -96,7 +96,7 @@ inline void transportProcess() { (type != I_GET_NONCE_RESPONSE && type != I_GET_NONCE && type != I_REQUEST_SIGNING && type != I_ID_REQUEST && type != I_ID_RESPONSE && type != I_FIND_PARENT && type != I_FIND_PARENT_RESPONSE && - type != I_HEARTBEAT))) { + type != I_HEARTBEAT && type != I_HEARTBEAT_RESPONSE))) { if (!mGetSigned(_msg)) { // Got unsigned message that should have been signed debug(PSTR("no sign\n")); @@ -415,7 +415,8 @@ boolean transportSendRoute(MyMessage &message) { (mGetCommand(message) != C_INTERNAL || (type != I_GET_NONCE && type != I_GET_NONCE_RESPONSE && type != I_REQUEST_SIGNING && type != I_ID_REQUEST && type != I_ID_RESPONSE && - type != I_FIND_PARENT && type != I_FIND_PARENT_RESPONSE))) { + type != I_FIND_PARENT && type != I_FIND_PARENT_RESPONSE && + type != I_HEARTBEAT && type != I_HEARTBEAT_RESPONSE))) { // Send nonce-request _signingNonceStatus=SIGN_WAITING_FOR_NONCE; if (!_sendRoute(build(_msgTmp, _nc.nodeId, message.destination, message.sensor, C_INTERNAL, I_GET_NONCE, false).set(""))) {