SOURCE

//搜索下面这个,然后断下来!
//L[t.type]
my_i = 0
my_retTimeBuff = [];
my_starTimestamp = new Date().getTime()
间隔多少秒生成一个timestamp = 4
while (true) {
    my_retTimeBuffModel = {}
    my_i++
    t = { type: "CS_HEARTBEAT", timestamp: my_starTimestamp + my_i * 间隔多少秒生成一个timestamp*1000 }
    var e = L[t.type].value
        , i = L[t.type].key
        , n = e.encode(t.payload || t).finish()
        , r = {
            payloadType: i,
            payload: n
        }
        , o = C.encode(r).finish();

    console.info(my_i)
    my_retTimeBuffModel.timestamp=parseInt(t.timestamp/1000)
    my_retTimeBuffModel.Hex=Array.prototype.map.call(new Uint8Array(o.slice().buffer), x => ('00' + x.toString(16)).slice(-2)).join('');
    my_retTimeBuff.push(my_retTimeBuffModel)
    //my_retTimeBuff[parseInt(t.timestamp/1000)]=my_retTimeBuffModel
    if (my_i >= 7776000/间隔多少秒生成一个timestamp) { break }
}

console.log(JSON.stringify(my_retTimeBuff) )
console 命令行工具 X clear

                    
>
console