Smart-Home am Beispiel der Präsenzerkennung im Raum Projektarbeit Lennart Heimbs, Johannes Krug, Sebastian Dohle und Kevin Holzschuh bei Prof. Oliver Hofmann SS2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

serial_gw_no_transport_soft_signing_whitelisting_full_debug.ino 1.4KB

12345678910111213141516171819202122232425262728293031323334353637
  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 <henrik.ekblad@mysensors.org>
  9. * Copyright (C) 2013-2018 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. #include <stdint.h>
  22. #include <pins_arduino.h>
  23. #define MY_DEBUG
  24. #define MY_GATEWAY_SERIAL
  25. #define MY_DEBUG_VERBOSE_SIGNING
  26. #define MY_SIGNING_SOFT
  27. //#define MY_SIGNING_ATSHA204
  28. #define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
  29. #define MY_SIGNING_REQUEST_SIGNATURES
  30. #ifndef MY_SIGNING_SOFT_RANDOMSEED_PIN
  31. #define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
  32. #endif
  33. #ifndef MY_SIGNING_ATSHA204_PIN
  34. #define MY_SIGNING_ATSHA204_PIN 17
  35. #endif
  36. #include <MySensors.h>