Unable to get data from end device API xbeepro2

Make sure that the end device is in same network with the Coordinator and you have set correct DH and DL on end device.