I am stuck at the very basic problem of finding the RSSI value at the receiver XBee from the transmitter XBee if each the XBee is connected to a Raspberry Pi using Python. I searched the internet and found this code, but it doesn't work:
import zigbee, struct
rssi_raw = zigbee.ddo_get_param('[00:13:a2:00:40:0a:12:96]!', 'DB')
rssi_val = struct.unpack('=B', rssi_raw)