Xbee id in ir sampling

Hello everyone,

I have two sensors connected to the adc inputs on two different xbee 3s. Each xbee is sending the adc value to an xbee connected to an arduino mega. Everything works fine except that I can not figure out how to identify which packet is coming from which xbee/sensor. I figured out how to get the adc data using this page and other forums but can not seem to do the same for any id parameter. Any help would be appreciated!


Each of the XBee modules have a different MAC address. That MAC address is included in each packet received. You will need to look at your Arduino code as to where it is pulling the sensor data out of the Payload portion of the XBee modules API frame and add into that code the ability to pull that MAC address as well.