input using a switch

okay, i have my xbee’s talking to each other, but im having trouble accessing the I/Os. i do not know how to transfer a bit of data using a simple switch.

what i am trying to do is simply turn on an LED from one xbee to another. i can see them talking but i cannot get the input to hook up with the output. i constantly get 3V out of my output without doing anything and same with my input. my outuput is DIo 0 on my end device and DIO 0 for my input on my coordinator. can someone help me get these connections right, my switch is not doing what i want it to.

ps: i do not have a microprosessor