docs: function HookBackendEvent (adapter, backend, socket) {
            
      function EventDevAuth (device){
          device.websock=0;   // special counter to repost full device every 20 positions
          adapter.Debug (5, "EventDevAuth devid=%s name=%s", device.devid, device.name);
          var msg = 
              {type : 1
                 ,devid: device.devid
                 ,src  : adapter.src + ' ' + device.adapter.id
                 ,model: device.type
                 ,name : device.name
                 ,call : device.call
                 ,cargo: device.cargo
          };
          adapter.BroadcastJson (msg);
      };    
      
      function EventDevTmp (device){
          device.websock=0;   // special counter to repost full device every 20 positions
          adapter.Debug (5, "EventDevTmp devid=%s name=%s", device.devid, device.name);
          var msg = 
          {type : 0
              ,devid: device.devid
              ,src  : adapter.src + ' ' + device.adapter.id
              ,lat  : device.stamp.lat
              ,lon  : device.stamp.lon
              ,sog  : device.stamp.sog
              ,cog  : device.stamp.cog
          };
          adapter.BroadcastJson (msg);
      };    
  
      // Events successful process by tracker adapter
      function EventDevPos (device){
          adapter.Debug (6, "EventDevPos devid=%s name=%s", device.devid, device.name);
           
           // force push of full device info every 20 positions update
           if (device.websock++ >= 10) EventDevAuth (device); 
           
           var msg = 
              {type : 2
              ,devid: device.devid
              ,src  : adapter.src + ' ' +device.adapter.id
              ,lat  : device.stamp.lat
              ,lon  : device.stamp.lon
              ,sog  : device.stamp.sog
              ,cog  : device.stamp.cog
          };
          adapter.BroadcastJson (msg);
      };
      
      // Events successful process by tracker adapter
      function EventDevPing (device){
          adapter.Debug (7, "EventDevPing devid=%s name=%s", device.devid, device.name);
           
          var msg = 
              {type : 3
              ,devid: device.devid
          };
          adapter.BroadcastJson (msg);
      };
      
       // Events on action refused by tracker adapter
      function EventDevQuit (device){
         var msg=
             {type: 4
             ,devid: device.devid
             };
         adapter.BroadcastJson (msg);
      };
  
      backend.event.on("dev-tmp" ,EventDevTmp);	
      backend.event.on("dev-auth",EventDevAuth);	
      backend.event.on("dev-pos" ,EventDevPos);	
      backend.event.on("dev-ign" ,EventDevPing);	
      backend.event.on("dev-quit",EventDevQuit);	
  }