I am using MySensors 2.1.1 and see a lot of these messages
0;255;3;0;9;!TSF:MSG:SIGN VERIFY FAIL
As a test I use 2 nodes with this same sketch:
#include "arduino.h"
#include <OneWire.h>
#include <DallasTemperature.h>
#define ONE_WIRE_BUS 5
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
#define MY_DEBUG
#define MY_RADIO_RFM69
#define MY_IS_RFM69HW
#define MY_NODE_ID 11 // node 1
//#define MY_NODE_ID 12 // node 2
#define MY_DEFAULT_ERR_LED_PIN 9
#define MY_DEFAULT_RX_LED_PIN 8
#define MY_DEFAULT_TX_LED_PIN 7
#define MY_DEFAULT_LED_BLINK_PERIOD 20
#define MY_SIGNING_SOFT
#define MY_SIGNING_SOFT_RANDOMSEED_PIN 3
#define MY_SIGNING_REQUEST_SIGNATURES
#include <MySensors.h>
MyMessage msg(MY_NODE_ID, V_TEMP);
void presentation()
{
sendSketchInfo("Test temperature node", "1.0");
present(MY_NODE_ID, S_TEMP);
}
void setup()
{
sensors.begin();
}
void loop()
{
sensors.requestTemperatures();
send(msg.set(sensors.getTempCByIndex(0), 2));
sleep(1000);
}
I use this serial gateway:
#define MY_DEBUG
#define MY_SIGNING_SOFT
#define MY_SIGNING_SOFT_RANDOMSEED_PIN 3
#define MY_SIGNING_REQUEST_SIGNATURES
#define MY_RADIO_RFM69
#define MY_IS_RFM69HW
#define MY_GATEWAY_SERIAL
#define MY_DEFAULT_LED_BLINK_PERIOD 10
#define MY_DEFAULT_ERR_LED_PIN 5
#define MY_DEFAULT_RX_LED_PIN 6
#define MY_DEFAULT_TX_LED_PIN 7
#include <SPI.h>
#include <MySensors.h>
void setup() {}
void presentation() {}
void loop() {}
If I comment this line in the gateway everything works fine:
//#define MY_SIGNING_REQUEST_SIGNATURES
I only see these error messages when I turn on both nodes.
If I use either Node 1 or Node 2 and turn the other off, I don't see any of these error messages.
The nodes and gateway are on my workbench close next to each other.
For each I use a bare ATMEGA328P burned with bootloader Pro Mini 3.3v 8 mhz