Here are the steps you need to do to test a proximity sensor: Set your digital multimeter to 20V DC. Connect the red probe to the sensor signal. Connect the black probe to Sensor GND. Let’s say your proximity sensor signal voltage should be 12V, but it’s not detected. It means you have a bad proximity sensor.
You should retrieve your RSSI values every two seconds (any faster and you get a bunch of errors). Throw out the RSSI values that are more than a ~-40 decibel spike and use an aggregate of the past values before you declare your approximate range to the user. As for your following statement, you are in luck.
b1XSBE4.