Protocol question



  • I want to know the value of a sensor from the controller.
    I have an ethernet gateway and i send this message trought TCP

    node-id;child-sensor-id,2;1sub-type

    I want to request the value in the sensor but nothing happens, what's wrong with the message?


  • Admin

    What does you sketch look like? Do you listen for incoming messages and answer the request when it arrives?

    The node does not keep any state by itself of the last sent message etc. So you have to save these values yourself and send them upon request.


Log in to reply
 

Suggested Topics

  • 4
  • 274
  • 1
  • 2
  • 933
  • 5

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts