• The template is just a few bytes.. around 500. This should be no problem.. i guess it is a bug in my code. I am sure it worked at some point but i did some refactoring after that. I ordered a new
    GT-511C1 so i can test it.. now i just have to find a place to hide my tee :D

  • Please do hide that tee :D
    I'll be waiting for your codes. It would be awesome if the data is a string. That would allow storage easy.

  • could you please paste a code that should retrieve a given template let me run, maybe my code was bad and didnt implement it way I should;

    GT511CXX.prototype.getUserFingData = function(id, callback){
      let me = this,
        open = () => me.open(1),  
        getData = (id) => me.getTemplate(id),
        close = () => me.close();
      
      return new Promise((resolve, reject) => {
        let errorHandler = (err) => { close(); reject(err);
                        },
                successHandler = (data) => { console.log('template gotten'); console.log(data); close(); resolve();
                        };
        
        getData(id)
          .then(successHandler)
          .catch(errorHandler);
      });
    }
    

    I also tried this code below, and got a timeout exceeded

    fps.getTemplate(1).then( (data) => { console.log("then called"); console.log(data); } )
      .catch( (err) => console.log(err));
    
About

Avatar for PaddeK @PaddeK started