xbee series 2 (s2) toggling by switch

,

how to do toggling or digital output by xbee zb(series s2).

pls tell me in detail if possible.

what i know written here:
one as cordinator at
second one is router at

connect switch with cordinator at digital input

router connect relay or led

but how to this and brief discription.

That product does not support that function. You need to use the XBee 802.15.4 product for that function.