Subversion Repositories HomeAutomation

Rev

Rev 1229 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1229 Rev 1378
Line 81... Line 81...
81
}
81
}
82
 
82
 
83
CanMessage.prototype.getDataString = function()
83
CanMessage.prototype.getDataString = function()
84
{
84
{
85
    var str = "";
85
    var str = "";
-
 
86
    var tmp = "";
86
   
87
   
87
    for (var key in this.myData)
88
    for (var key in this.myData)
88
    {
89
    {
89
        /* encode base64 on the data part */
90
        /* encode base64 on the data part */
90
        this.myData[key] = encode64(this.myData[key]+'');
91
        //this.myData[key] = encode64(this.myData[key]+'');
91
        str += key + ":" + this.myData[key] + ",";
92
        //str += key + ":" + this.myData[key] + ",";
-
 
93
        tmp = encode64(this.myData[key]+'');
-
 
94
        str += key + ":" + tmp + ",";
92
    }
95
    }
93
   
96
   
94
    return str.rtrim(",");
97
    return str.rtrim(",");
95
}
98
}
96
 
99