Specifications

With this script loaded into a node, the node’s Node Info pane should look like:
Click on setOtherNode(address) in the Snappy Modules tree, and when prompted by Portal, enter the
address of the other node as a quoted string (standard Python “binary hex” format).
For example, if the other node is at address 12.34.56, you would enter "\x12\x34\x56" in the Portal
dialog box.
Do this for both nodes.
On the following page is the source code to SNAPpy script dataModeNV.py
"""
Example of using two SNAP wireless nodes to replace a RS-232 cable
After loading this script into a SNAP node, invoke the setOtherNode(address)
function (contained within this script) so that each node gets told "who his
counterpart node is." You only have to do this once (the value will be preserved
across power outages and reboots) but you DO have to tell BOTH nodes who their
counterparts are!
The otherNodeAddr value will be saved as NV Parameter 254, change this if needed.
Legal ID numbers for USER NV Params range from 128-254.
Node addresses are the last three bytes of the MAC Address
MAC Addresses can be read off of the SNAP Engine sticker
For example, a node with MAC Address 001C2C1E 86001B67 is address 001B67
In SNAPpy format this would be address "\x00\x1B\x67"
"""
from synapse.switchboard import *
OTHER_NODE_ADDR_ID = 254
@setHook(HOOK_STARTUP)
Page 32 of 202 SNAP Reference Manual Document Number 600-0007K