Closed JumpLink closed 9 years ago
any idea why this does not work?
example with username and password:
var tr = require("tr-064"); var tr064 = new tr.TR064(); var inspect = function(object) { var util = require('util'); console.log("\n"+util.inspect(object, showHidden=false, depth=2, colorize=true)+"\n"); } tr064.initTR064Device("192.168.178.1", 49000, function (err, device) { if (!err) { console.log("Found device! - TR-064"); device.services['urn:dslforum-org:service:DeviceInfo:1'].actions.GetInfo(function(error, result) { inspect(error); inspect(result); }); } }, {user: "admin", password: "gurkensalat"});
Thanks, i have added authentication.
any idea why this does not work?
example with username and password: