server/backends/Dummy-backend.js
function BackendStorage (gateway, opts){
    
    // prepare ourself to make debug possible
    this.uid="Dummy@nothing";
    this.gateway =gateway;
    this.debug=opts.debug;
    this.count=0;
    
    this.storesize= 20 +1;  // number of position slot/devices
    this.event = new EventEmitter();
}
function BackendStorage (gateway, opts){
    
    // prepare ourself to make debug possible
    this.uid="Dummy@nothing";
    this.gateway =gateway;
    this.debug=opts.debug;
    this.count=0;
    
    this.storesize= 20 +1;  // number of position slot/devices
    this.event = new EventEmitter();
}
function BackendStorage ( gateway , opts ) { // prepare ourself to make debug possible this . uid = "Dummy@nothing" ; this . gateway = gateway ; this . debug = opts . debug ; this . count = 0 ; this . storesize = 20 + 1 ; // number of position slot/devices this . event = new EventEmitter ( ) ; }
This is our fake device authentication DB table
This is our fake device authentication DB table