Data_received_callback only triggers every 4 seconds

I’m using 802.15.04 devices with digi-xbee Python library.
I’ve set up a receive callback method, but it triggers with an interval of four seconds between calls and not when the end nodes actually send the data.
is there anyway to remove this delay?

Which specific library are you working with?

Hi,
Im using digi-xbee 1.5.0

Tried callback and polling. in both methods, messages arrive at 4.2 second intervals.
Code is running on Raspberry pi Bookworm
Thanks

Could it be that your end device is sleeping at this interval?