kbanks
11-26-2008, 10:02 AM
If you need to configure a node, and don't know it's SNAP address:
1) Remember that the SNAP Network Address comes from the last three bytes of the eight-byte MAC address (which can be read directly off the RFE sticker).
2) If it seems the unit is not responding to the correct address, remember that you can always use a one-hop multicast over a direct serial link.
For example, something like (using the Portal command line):
multicastRpc(1, 1, "setPinDir", x, True)
multicastRpc(1, 1, "writePin", x, True)
multicastRpc(1, 1, "writePin", x, False)
would let you confirm that the unit was in fact listening.
If this worked (and notice that it assumes that there is at least one GPIO connected to something visible like a LED), then you could use config commands like saveNvParam() to force the unit back to the desired SNAP Network Address
1) Remember that the SNAP Network Address comes from the last three bytes of the eight-byte MAC address (which can be read directly off the RFE sticker).
2) If it seems the unit is not responding to the correct address, remember that you can always use a one-hop multicast over a direct serial link.
For example, something like (using the Portal command line):
multicastRpc(1, 1, "setPinDir", x, True)
multicastRpc(1, 1, "writePin", x, True)
multicastRpc(1, 1, "writePin", x, False)
would let you confirm that the unit was in fact listening.
If this worked (and notice that it assumes that there is at least one GPIO connected to something visible like a LED), then you could use config commands like saveNvParam() to force the unit back to the desired SNAP Network Address