building a wireless sensor network in mesh network topology

hello friends, :slight_smile:

I am building wireless sensors network in a mesh network using five XBee' consist of 3 end devices, 2 router XBee and one coordinator XBee. I have got some problem on sending digital data from different sensors(dht11, co sensor,......) to router XBee and then from router XBee to coordinator XBee.

please help me on Arduino code to receive the sent digital data from the end device to router XBee.

thankyou. :slight_smile: