added srcid and dstid to the transport protocol
This commit is contained in:
parent
338d9b8c16
commit
6ef6a68e15
|
|
@ -126,6 +126,8 @@ function PostDataControlled(varlist, messtype, applytype, onfinished, enable) {
|
|||
var data = {};
|
||||
//data.msgid = Math.floor(Date.now() / 1000);
|
||||
data.msgid = Math.floor(Math.random() * 0x7fffffff);
|
||||
data.srcid = 'FFFFFFFF';
|
||||
data.dstid = '0000FFFF'
|
||||
data.time = new Date().toISOString();
|
||||
data.msgtype = messtype;
|
||||
data.payloadtype = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user