XBee, how to get a button press on one DIO actuate a different DIO (JAVA)


The XBee modules API interface provides you with the 64 bit address of the radio that sent the packet as well as a bit mask tell you which DIO line that is enabled and if it is a high or low state. It is just a matter of reading that API frame in your Java application.