Power gain and sensitivity

When configuring a node and a network, one important parameter is related with the Received Signal Strength Indicator (RSSI).

Received Signal Strength Indicator

This command reports the received signal strength of the last received RF data packet. The getRSSI()command only indicates the signal strength of the last hop. It does not provide an accurate qualitymeasurement for a multihop link. The command value is measured in -dBm. For example if it returns 0x60,then the RSSI of the last packet received was -96 dBm.

Example of use:

{
    xbee868LP.getRSSI();
}

Related variables:

valueRSSI → stores the RSSI of the last received packet

The ideal working mode is getting maximum coverage with the minimum power level. Thereby, acompromise between power level and coverage appears. Each application scenario will need some tests tofind the best combination of both parameters.

Get RSSI example:

Power level

It is possible to set/get the power level at which the RF module transmits conducted power. Power level 4 iscalibrated and the other power levels are approximate.

Parameter range:

0 = 3 dBm, (2 mW) 1 = 7 dBm, (5 mW) 2 = 10 dBm, (10 mW) 3 = 12 dBm, (16 mW) 4 = 14 dBm, (25 mW) [Default]

Example of use:

{
    xbee868LP.setPowerLevel(4);
    xbee868LP.getPowerLevel();
}

Related variables:

powerLevel → Stored the power level set

Power level example:

https://development.libelium.com/waspmote/868lp-12-set-power-level

Last updated