I’ve been using two arduino uno usb boards and several xbee modules for about a month, making different tests, including loopback range tests. Everything was working good. But today unexpectedly I started to see this picture:
Local dBm - unknown (“?” sign)
Remote dBm - is showed normally
Packets lost - 100%
I installed XCTU to other new PCs, used other xbee modules, two different arduino boards, but all the same - range test acts as showed.
I even do not know what to think, that’s just a miracle
I wish it would be so easy Actually it’s impossible to make range tests when both modules in a transparent mode. Of course local module just should be API enabled.
Oh yea, 802.15.4 does not have the ZDO commands support. Try restoring both to defaults using the ATRE, WR commands. Then run the range test as normal shorting out the DI and DO lines on the remote.
Just understand that the RSSI function for this product only works in one direction with transparent mode. In order to see it for both sides, API mode on the local side would be required.
Actually I did better - I took new, just unpacked modules and tried to make tests (as well ac PCs). The same. The only modules I can’t replace are Arduino USB adapters - I’ve got two only. Logically it’s something wrong with this adapters. Is it possible to make something like restoring to defaults with them?
The only software that exits for that is the USB driver. Short of removing the driver and reloading it, I don’t know of any other way. You may simply need to replace the hardware as it may not be a software related issue.
It’s works as expected on the ones I have. Both local and remote RSSI report using one is API mode (Base) and the remote in transparent with a loop back jumper connected.
What version of XCTU are you working with? The version I am working with is 6.3.0 build 20151110-8.
If you don’t short Data In to Data out, I have no idea how you are going to get a range test to work on the 802.15.4 XBee modules using the 802.15.4 code.
The range test functions by sending a 32 byte packet to a given address and expects it to come back within a given time frame. If you do not short Data in to data out on the remote side, the data will just be sent out into the air and noting will be sent back.