Uw opmerkingen

Есть возможность снять дамп трафика Wireshark'ом?

All server settings are stored in files and database.

To store Tag last values use Persist option.

For Client you may use Project Tokens.


What platform are you using?

SetGlobalListener and SubscribeTagChange can be useful.

Unfortunately, I could not get the AddRelation to work for the i3pro project

IR.AddRelation("System.Time.Minutes", "UI.Page 1.Item 1.Text")

Use EVENT_ITEM_RELEASE instead EVENT_ITEM_PRESS on buttons

You may use same function for different pages

var gest_funct = function(gesture, x, y) {
    IR.Log(" page: " + this.Name)
    switch(gesture)
    {
        case IR.GESTURE_SWIPE_LEFT:  // 1
            IR.Log("Left");   
            break;
        case IR.GESTURE_SWIPE_RIGHT: // 2
            IR.Log("Right"); 
            break;
        case IR.GESTURE_SWIPE_UP: // 3
            IR.Log("Up");     
            break;
        case IR.GESTURE_SWIPE_DOWN: // 4
            IR.Log("Down");   
            break;
        }
}
IR.AddListener(IR.EVENT_GESTURE_BEGIN, page1, gest_funct, page1);
IR.AddListener(IR.EVENT_GESTURE_BEGIN, page2, gest_funct, page2);
IR.GetDevice("AV & Custom Systems (HTTP)")
    .Send(['GET,/dweet/for/'+in_Name+'?data='+in_Value]);
+

for server best to use Virtual Channel (as in http://support.iridiummobile.net/topics/11960-http-commands/#comment-72483)

function modify_send (in_Type, in_Name, in_Value) 
{
    IR.Log("in_Type: " + in_Type + "in_Name: " + in_Name + "in_Value: " +  in_Value);
    IR.GetDevice("AV & Custom Systems (HTTP)")
    .Send(['GET,/dweet/for/_channel_?data='+in_Value]);
}

server:

client:



Have you solved the issue?