cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB RSSI reporting

d-serj
Associate

Dear ST experts,
I am developing a Zigbee wireless solution where I have a coordinator and several Zigbee routers and end devices from different manufacturers. My coordinator is a HMI, and one of its capabilities is to display the connection quality of the Zigbee devices on its UI. This connection quality value is based on RSSI, and all devices in my network are configured to report their RSSI once per specified amount of time.
One of the types of my Zigbee devices is the Zigbee router developed by our company based on STM32WB55 and my problem is that these routers are not able to report RSSI value because this attribute is not reportable in STM32WB55. I know that according to the Zigbee cluster library specification, the LastMessageRSSI attribute of the diagnostic cluster is read-only but AN5498 section 3.2.1 says that the user can override the built-in definitions of the mandatory attributes. However, it seems impossible to override the LastMessageRSSI attribute because the diagnostic cluster is on CPU2 and therefore I cannot get its instance to use it with ZbZclAttrAppendList to override the attribute. Is there any way to override LastMessageRSSI attribute of diagnostic cluster in STM32WB55?
Thanks in advance for your help!

 

 

 

1 REPLY 1
Ouadi
ST Employee

Hi @d-serj,

The ZCL Diagnostics cluster is accessible from the ZCL library by including the file "zcl.diagnostics.h" to your application. 

You can then configure the attribute  ZCL_DIAG_SVR_ATTR_LAST_MSG_RSSI = 0x011d Optional by default to be reportable.

Kind regards,

Ouadi