How to use get_properties to get RSSI in RF24?
By using the RH_RF24 rf24;(Singleton instance of the radio driver), read a series of properties is really simple.


The properties shall be in the same GROUP,
Up to 16 properties could be read in the same request,



  Hereafter is a example to read from SYNC_CONFIG to SYNC_BITS_7_0 (5
  properties).


Step 1 - Declare your own uint8_t sync_stat[5]; or use the still declared uint8_t status[8];.

 uint8_t sync_stat[5];


Step 2 - The firstProperty is in fact the first property to be read and count is the number successive properties to be read (from SYNC_CONFIG = 0x1100 to SYNC_BITS_7_0 = 0x1104.

// And check the returned code
if (rf24.get_properties(SYNC_CONFIG,sync_stat,5)) {
    // sync_stat[0]= SYNC_CONFIG
    // ...
    // sync_stat[4]= SYNC_BITS_7_0
}



  Then, the equivalent command() is:


uint8_t buf[3];
buf[0] = SYNC_CONFIG &gt;&gt; 8;
buf[1] = 5;
buf[2] = SYNC_CONFIG &amp; 0xff;
if (rf24.command(RH_RF24_CMD_GET_PROPERTY, buf, sizeof(buf),sync_stat,5)) {
    // Same array
}