Posted 28 July 2016 - 02:03 PM
Hi all.
I've been experimenting with wireless modems to do some cool stuff like turning my Big Reactor on & off and displaying power percentage/reactor stats on a monitor.
My question is this: when I write a program that calls modem.open(3) to listen on channel 3, followed by os.pullEvent('modem_message'), the os.pullEvent gets messages from all wireless modems in my base regardless of what channel they're sending on as opposed to just messages sent on channel 3.
From the documentation I would expect to only get wireless modem messages on channels that I'm listening on, yet all wireless modems receive all messages from all sending modems? Have I misunderstood something here? If I have, what's the point of calling to listen on a given channel when all messages appear to be broadcasts?
Thanks.
I've been experimenting with wireless modems to do some cool stuff like turning my Big Reactor on & off and displaying power percentage/reactor stats on a monitor.
My question is this: when I write a program that calls modem.open(3) to listen on channel 3, followed by os.pullEvent('modem_message'), the os.pullEvent gets messages from all wireless modems in my base regardless of what channel they're sending on as opposed to just messages sent on channel 3.
From the documentation I would expect to only get wireless modem messages on channels that I'm listening on, yet all wireless modems receive all messages from all sending modems? Have I misunderstood something here? If I have, what's the point of calling to listen on a given channel when all messages appear to be broadcasts?
Thanks.