Send directly and to gateway



  • Hi.
    I make project to control Relay Node with switch node directly and not used gateway.
    I use this code

      MyMessage response (message.getByte(),V_LIGHT) ;
      response.setDestination(1); //
      gw.send(response); 
    

    in this I set then switch node send data directly to relay node with ID 1

    but if want send battery level or temperature to gateway, not to relay, then just set destination to 0 or need something else ?? other setting or code ..

    and question for route .. if send data from node to node and distance is too long and I use repeater then also working or not ??

    I thing so not ..

    regards.


Log in to reply
 

1 out of 1

Suggested Topics


  • Bug Reports   24 Mar 2014, 22:52

    4
  • 10
  • 23

  • General Discussion   3 days ago

    5

  • General Discussion   4 Mar 2025, 00:29

    95

  • General Discussion   23 Feb 2025, 14:57

    9

0
Online

11.5k
Users

11.1k
Topics

112.8k
Posts