Announcement

Collapse
No announcement yet.

reverse rpc

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • reverse rpc

    How would one go about calling a function on a radio from SNAP?

  • #2
    RPC call to a remote node .........

    You do know you are posting in the SNAP link portion of the forum? The SNAP link section is for our cable replacement device

    Comment


    • #3
      Can you explain what you mean by "reverse rpc"? SNAP controls the radio, so in order to talk from one radio to another you would use an RPC. To respond, you would also use an RPC.

      You can ask a remote node to also respond by using calling the 'callback' or 'callout' functions with your original RPC.
      sigpic
      Proven Solutions for the Internet of Things
      www.synapse-wireless.com

      Comment


      • #4
        node to SNAPconnect RPC

        At current, we are reporting from the node via RPC. This is working fine with standardized timers of a sort. In getting SPI to read directly from the MCU we could sample upon request. This is the call from the E10 to the node I am speaking of. How is it accomplished?

        Comment


        • #5
          This is all the done by sending RPCs - you can send an RPC at any time either requesting or reporting data or an action.

          On the E10, SNAP Connect can be brought into any Python app to give you SNAP capabilities such as RPCs.

          On the remote node, SNAPpy scripts flesh out these actions.

          Sounds like you should read the SNAP Primer and the SNAP Connect Python package manual.
          sigpic
          Proven Solutions for the Internet of Things
          www.synapse-wireless.com

          Comment

          X