From what I understand in the DW3000 documentation, to analyse if an exchange was made in a LOS or NLOS environment we can read the IPATOV+STS1+STS2 registers. But if the signal power is too low we only read the IPATOV register with dwt_nlos_ipdiag.
In my code, STS is turned off. So can I directly use dwt_nlos_ipdiag without doing diagnostics with dwt_nlos_alldiag first and still have the same quality of analysis or is the alldiag method more reliable?
My application of the NLOS code is based on the documentation and this example code, where dwt_nlos_ipdiag is only called after dwt_nlos_alldiag fails:
(Replying because I get an error when I try to edit my post)
My concern comes from the fact the two functions don’t use the same equation to get the probability of NLOS, so I’m wondering if the two have different levels of reliability: