Increase communication speed

I need to make the communication faster between two xbee radio. I am using XBee S3B Pro and I need to send a command from one and in response the other module will send data, now it needs to be in every second. But the time it’s taking is more than 1second to send a command and receive the response as a result the 1Hz requirement is failing.

Are you sending the data in Uni-cast or Broadcast? That is determined by the value of the Dl and DH commands.

I would also suggest checking the TO command and make sure it is set to Point to point (40) instead of Mesh (CO).

I am using unicast mode


These are my DL and DH values

This is not Unicast but broadcast. Unicast would have the DL and DH set to a specific address such as 0x0000000001.

Do I need to set the exact same DL and DH for the two radios?

You set the DL and DH of radio 1 to match the SL and SH of radio 2. Then you set the DL and DH of radio 2 from the SL and SH of radio 1.

Doing this creates a two way point to point connection.