Xbee send to all / switch digi-out on


hello all,

i have question regarding xbee api library.

i have following network:
•   mainboard ardurino mega w/ xbee s2 api mode
•   station 1) ardurino leonardo w/ xbee s2 api mode
•   station 2) ardurino fio w/ xbee s2 api mode
•   station x) sparkfun explorer board w/ xbee s2 @ mode
•   station y) sparkfun explorer board w/ xbee s2 @ mode

the mainboard receiving data stations (payload s1&2, digital status x&y).

now @ 1 point in time in mainboard program send information devices. need switch led on.

ok, due fact have 2 in api , 2 in @ - think have send 2 messages?

so 2 questions google didn't tells me answer:

1.   how can send message payload both api devices (station 1&2). message same. don't want send same massages 2 times talk specific device. 1 message both can receive. possible?
2.   how can send message x&y , set digital output high (both configured same pin)?

thanks christoph

quote
so don't want send same massages 2 times talk specific device.
why not? seems obvious solution.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Xbee send to all / switch digi-out on


arduino

Comments