dbinfrago / libpax

Apache License 2.0
21 stars 13 forks source link

RSSI limit has no effect in paxcounter #10

Closed wally2511 closed 2 years ago

wally2511 commented 3 years ago

RSSI limit has no effect, I tried values from -40 to -110 but it didn't change the number of bluetooth devices detected. Set logging to DEBUG and I could see the MACs and their RSSI but the paxcounter still reported the devices above the RSSI limit value. The RSSI value is reporting correct on the OLED display which indicates that remote command has been successful.

cyberman54 commented 3 years ago

You are right. The rssi filter function has not yet been implemented in this library. Can you suggest a PR, maybe?

wally2511 commented 3 years ago

@cyberman54 I'll have a look but I'm new to paxcounter and am still getting my head around it.

wally2511 commented 3 years ago

I had a look today but it's going to be above my skillset to put together a PR, sorry.

cyberman54 commented 3 years ago

Solved with https://github.com/dbSuS/libpax/pull/3