1. authenticate:
dbConnect: function (i_user, i_pass, i_callBack) { ...
2. provide your station id: i_station to the function
/**
Send a remote snapshot command for station id and wait for a call back.
@method _sendSnapshotCommand
@param {Number} i_station
@return none
**/
_sendSnapshotCommand: function (i_station) {
var self = this;
var d = new Date().getTime();
var path = pepper.sendSnapshot(d, 0.2, i_station, function (e) {
});
setTimeout(function () {
self.m_imagePath = path;
}, 3000);
},