Giter Club home page Giter Club logo

door-controller-test-tool's People

Contributors

baldvin137 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

door-controller-test-tool's Issues

How to handle dependencies.

When building DCTT, there are dependencies between the different versions of DCTT (including the libraries used therein) and the Arduino software. We need to handle this somehow; to make it easy to know which versions of what to use when building.

Project not building anymore

The project fails to build with the current Arduino IDE 1.8.13

Arduino: 1.8.13 (Linux), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"




In file included from sketch/Network.cpp:22:0:
/home/chesch/Arduino/libraries/aJson-master/aJSON.h:92:6: error: conflicting return type specified for 'virtual int aJsonStream::flush()'
  int flush();
      ^~~~~
In file included from /opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/Stream.h:26:0,
                 from /opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/HardwareSerial.h:29,
                 from /opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/Arduino.h:233,
                 from sketch/Network.h:20,
                 from sketch/Network.cpp:21:
/opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/Print.h:90:18: error:   overriding 'virtual void Print::flush()'
     virtual void flush() { /* Empty implementation for backward compatibility */ }
                  ^~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/istream:24:0,
                 from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19,
                 from sketch/Network.cpp:24:
/home/chesch/Arduino/libraries/StandardCplusplus-master/ostream:318:50: error: default argument for template parameter for class enclosing 'class std::basic_ostream<charT, traits>::sentry'
   class _UCXXEXPORT basic_ostream<charT,traits>::sentry
                                                  ^~~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19:0,
                 from sketch/Network.cpp:24:
/home/chesch/Arduino/libraries/StandardCplusplus-master/istream:343:107: error: default argument for template parameter for class enclosing 'class std::basic_istream<charT, traits>::sentry'
  template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
                                                                                                           ^~~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/istream:24:0,
                 from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19,
                 from sketch/PACSDoor.h:25,
                 from sketch/PACSDoor.cpp:19:
/home/chesch/Arduino/libraries/StandardCplusplus-master/ostream:318:50: error: default argument for template parameter for class enclosing 'class std::basic_ostream<charT, traits>::sentry'
   class _UCXXEXPORT basic_ostream<charT,traits>::sentry
                                                  ^~~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19:0,
                 from sketch/PACSDoor.h:25,
                 from sketch/PACSDoor.cpp:19:
/home/chesch/Arduino/libraries/StandardCplusplus-master/istream:343:107: error: default argument for template parameter for class enclosing 'class std::basic_istream<charT, traits>::sentry'
  template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
                                                                                                           ^~~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/istream:24:0,
                 from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19,
                 from sketch/PACSDoor.h:25,
                 from sketch/PACSDoorManager.h:22,
                 from sketch/PACSDoorManager.cpp:19:
/home/chesch/Arduino/libraries/StandardCplusplus-master/ostream:318:50: error: default argument for template parameter for class enclosing 'class std::basic_ostream<charT, traits>::sentry'
   class _UCXXEXPORT basic_ostream<charT,traits>::sentry
                                                  ^~~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19:0,
                 from sketch/PACSDoor.h:25,
                 from sketch/PACSDoorManager.h:22,
                 from sketch/PACSDoorManager.cpp:19:
/home/chesch/Arduino/libraries/StandardCplusplus-master/istream:343:107: error: default argument for template parameter for class enclosing 'class std::basic_istream<charT, traits>::sentry'
  template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
                                                                                                           ^~~~~~
In file included from /home/chesch/Desktop/door-controller-test-tool-master/door-controller-test-tool-master/dctt/dctt.ino:59:0:
/home/chesch/Arduino/libraries/aJson-master/aJSON.h:92:6: error: conflicting return type specified for 'virtual int aJsonStream::flush()'
  int flush();
      ^~~~~
In file included from /opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/Stream.h:26:0,
                 from /opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/HardwareSerial.h:29,
                 from /opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/Arduino.h:233,
                 from sketch/dctt.ino.cpp:1:
/opt/arduino-1.8.13/arduino-1.8.13/hardware/arduino/avr/cores/arduino/Print.h:90:18: error:   overriding 'virtual void Print::flush()'
     virtual void flush() { /* Empty implementation for backward compatibility */ }
                  ^~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/istream:24:0,
                 from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19,
                 from /home/chesch/Desktop/door-controller-test-tool-master/door-controller-test-tool-master/dctt/dctt.ino:65:
/home/chesch/Arduino/libraries/StandardCplusplus-master/ostream:318:50: error: default argument for template parameter for class enclosing 'class std::basic_ostream<charT, traits>::sentry'
   class _UCXXEXPORT basic_ostream<charT,traits>::sentry
                                                  ^~~~~~
In file included from /home/chesch/Arduino/libraries/StandardCplusplus-master/serstream:19:0,
                 from /home/chesch/Desktop/door-controller-test-tool-master/door-controller-test-tool-master/dctt/dctt.ino:65:
/home/chesch/Arduino/libraries/StandardCplusplus-master/istream:343:107: error: default argument for template parameter for class enclosing 'class std::basic_istream<charT, traits>::sentry'
  template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
                                                                                                           ^~~~~~
exit status 1
Error compiling for board Arduino Mega or Mega 2560.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

aJSON addTrueToObject/addFalseToObject N/A

The compiler generated errors on my build (Visual Micro - Visual Studio Community) due to missing functions;
-addTrueToObject
-addFalseToObject
Checking the aJSON repository this has been missing for quite some time.
I believe the this has been replaced with void addBooleanToObject(aJsonObject* object, const char* name, bool b);

Therefore the code corrected should be;
if (p.isActive()) {
cout << F("is ACTIVE\n");
aJson.addBooleanToObject(update, "IsActive", true);
}
else {
cout << F("is INACTIVE\n");
aJson.addBooleanToObject(update, "IsActive", false);
}

From my understanding.

Beautify GUI for I/O

The GUI parts for input and output are not fully in line with the rest of the GUI:

  1. They use color in a way that is not used for door, lock and rex.
  2. The different action boxes are not aligned (output is out of line).
    gui_improve

Push

Any way to push wiegand events?

Error on upload

sketch\Network.cpp: In member function 'bool Network::parseNetworkConfiguration(Stream&)':

Network.cpp:132: error: taking address of temporary [-fpermissive]

aJsonObject *root = aJson.parse(&aJsonStream(&stream));

                                                   ^

sketch\Network.cpp: In member function 'void Network::saveNetworkConfiguration(Stream&)':

Network.cpp:235: error: taking address of temporary [-fpermissive]

aJson.print(root, &aJsonStream(&stream));

                                     ^

exit status 1
taking address of temporary [-fpermissive]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.