Printing RSSI using dwm-simple

How can I print the RSSI value received by a tag. I tried the following:

dwm_uwb_scan_result_t scanResult;
dwm_uwb_scan_result_get(&scanResult);
printf("%lu",scanResult.rssi);

No matter how I format the scanResult.rssi, it seems to be a constant number. I thought it may be the address, so I tried de-referencing it via * but the number that printed was still constant. Thanks in advance!

Hi Cormac,

I think you can only get the RSSI out of anchors, I don’t think tag calculate them. I’d need to double check though, I’ll try to give it a go when I have a chance.

Thanks
Yves

1 Like

Hi Cormac,

the UWB scan functions are not implemented internally and they have been prepared as a possible future feature.

Cheers,
TDK