20151212_CORE2
This commit is contained in:
@@ -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(""))) {
|
||||
|
||||
Reference in New Issue
Block a user