Home/Support/Support Forum/Xbee id in ir sampling

Xbee id in ir sampling

0 votes
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!

https://www.digi.com/resources/documentation/Digidocs/90002002/Reference/r_frame_0x95.htm
asked Oct 22 in XBee3 802.15.4 by ezpzlmnsqzy New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
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.
answered Oct 25 by mvut Veteran of the Digi Community (14,807 points)
...