# Several XBee-units: Why does getParameter("DB") return the same value?

**URL:** <https://forums.digi.com/t/several-xbee-units-why-does-getparameter-db-return-the-same-value/20288>\
**Category:** XBee - 802.15.4\
**Tags:** serial, parameter, rssi, remote, rangetest\
**Created:** [February 26, 2019, 10:26am UTC](https://forums.digi.com/t/several-xbee-units-why-does-getparameter-db-return-the-same-value/20288 "2019-02-26T10:26:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixten](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@sixten](https://forums.digi.com/u/sixten)\
**Post date:** [February 26, 2019, 10:26am UTC](https://forums.digi.com/t/several-xbee-units-why-does-getparameter-db-return-the-same-value/20288/1 "2019-02-26T10:26:09Z")

</div>

Hello!

I have 3 XBee devices (XBee 2SC + XBee Grove dv. bd.) placed at different locations in a room. One is connected to my computer and the others are connected to other computers.

I instantiate the local XBeeDevice as:  
XBeeDevice xbee = new XBeeDevice(BD,PORT);  
After performing a network scan the remote devices are placed in a list called devices:  
List devices

I try to read the different RSSI:s from the devices in the list:  
devices.get(0).readDeviceInfo();  
byte rssi1[] = devices.get(0).getParameter(“DB”);

devices.get(1).readDeviceInfo();  
byte rssi2[] = devices.get(1).getParameter(“DB”);

System.out.println("Rssi 1: " + ByteUtils.byteArrayToInt(rssi1) + " rssi 2: " + ByteUtils.byteArrayToInt(rssi2));

Why is rssi1 and rssi2 the same? Isn’t readDeviceInfo() and getParameter() supposed to update the values?

Thanks in advance! 🙂
