PDA

View Full Version : 2 networks, mcastRpc()


chuckpcsw
08-05-2008, 09:26 AM
If we send a mcastRpc() request on one network (channel 1, netid 0x0001), will that request be seen on other networks (channel 2, netid 0x0002, for example)? I'm still working on the floatsensor application, and I'm getting pumpOn() requests even when the sensors are under water. I have one float sensor on a different network that's pretty much physically inaccessible at this time. It's sensors are probably above water level, and I just want to make sure that it's not sending the requests across multiple networks. Thanks

kbanks
08-05-2008, 06:12 PM
Multicasts do not cross channel or network ID boundaries.

If you did need to "bridge" two separate networks (different channel, different network ID, or both different), then you would have to use the upcoming 2.1 version of SNAP, and establish a serial cable connection between one node from each network.