MySensors Library & Examples  2.3.2
hard_signing_whitelisting_full_debug_rf24_rsa.ino
1 /*
2  * The MySensors Arduino library handles the wireless radio link and protocol
3  * between your home built sensors/actuators and HA controller of choice.
4  * The sensors forms a self healing radio network with optional repeaters. Each
5  * repeater and gateway builds a routing tables in EEPROM which keeps track of the
6  * network topology allowing messages to be routed to nodes.
7  *
8  * Created by Henrik Ekblad <[email protected]>
9  * Copyright (C) 2013-2019 Sensnology AB
10  * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
11  *
12  * Documentation: http://www.mysensors.org
13  * Support Forum: http://forum.mysensors.org
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * version 2 as published by the Free Software Foundation.
18  *
19  *******************************
20  */
21 #define MY_DEBUG
22 #define MY_DEBUG_VERBOSE_SIGNING
23 #define MY_RADIO_RF24
24 #define MY_RF24_ENABLE_ENCRYPTION
25 //#define MY_SIGNING_SOFT
26 #define MY_SIGNING_ATSHA204
27 #define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
28 #define MY_SIGNING_REQUEST_SIGNATURES
29 #ifndef MY_SIGNING_SOFT_RANDOMSEED_PIN
30 #define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
31 #endif
32 #ifndef MY_SIGNING_ATSHA204_PIN
33 #define MY_SIGNING_ATSHA204_PIN 17
34 #endif
35 
36 #include <MySensors.h>
API declaration for MySensors.