Restricting Node Output Data to the Gateway



  • Hi Everyone,

    I have a gateway that requests data from one node at a time. Each node streams data readings from analog inputs 1 through 8. Including my request, the code looks like this:

    1;0;2;1;17;
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:418
    1;0;1;0;17;418
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:406
    1;0;1;0;17;406
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:476
    1;0;1;0;17;476
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:520
    1;0;1;0;17;520
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:526
    1;0;1;0;17;526
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:350
    1;0;1;0;17;350
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:487
    1;0;1;0;17;487
    0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:343
    1;0;1;0;17;343

    My question is, can I "mute" the node from sending lines that look like:
    "0;0;3;0;9;read: 1-1-0 s=0,c=1,t=17,pt=2,l=2:343" while sending lines that look like:
    "1;0;1;0;17;343"? The information that I need is redundant and eliminating a line would result in less information to have to decode on my gateway side and would increase speed, as well. Another way of saying it is that I am only interested in the node ID and the payload, as I know the sensor ID base upon the data stream (0 - 7).

    Thank you for any suggestions - Baran


  • Hero Member

    Disable debug in the configuration file..



  • Hi Again,

    Thanks;)-.


  • Admin

    This post is deleted!

Log in to reply
 

Suggested Topics

7
Online

11.2k
Users

11.1k
Topics

112.5k
Posts