Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packet rssi always 0 in S1 mode #17

Closed
alalons opened this issue Feb 5, 2021 · 5 comments
Closed

packet rssi always 0 in S1 mode #17

alalons opened this issue Feb 5, 2021 · 5 comments

Comments

@alalons
Copy link

alalons commented Feb 5, 2021

trying to understand difference betwen packet rssi and rssi
wmbusmeters is using packet rssi showing 0 in S1 mode.
Is it ok or needs a fix?

@xaelsouth
Copy link
Owner

Not sure about 0 in S1 Mode, but rssi_filter() function should definetely be duplicated for both signal paths. Will fix this tomorrow.

@xaelsouth
Copy link
Owner

xaelsouth commented Feb 6, 2021

  1. Just fixed the issue with rssi = 0
  2. rssi_filter() splitted in two functions for T1/C1 and S1

Please test.

@alalons
Copy link
Author

alalons commented Feb 6, 2021

working ok now. Could you explain or link an explanation for both rssi diferences?
Thank you

alvaro@alvaro-Compaq-Presario-CQ61-Notebook-PC:~/rtl-wmbus-master$ rtl_sdr -f 868.3M -s 1600000 - 2>/dev/null | rtl_wmbus
S1;1;1;2021-02-06 12:01:30.000;140;148;04998541;0x2c4465324185990401087a008000000b6e560400426c5f0c4b6e452301326c0000046d1a0e6f0202fdac7e0123
S1;1;1;2021-02-06 12:01:52.000;146;130;04998541;0x2c4465324185990401087a008000000b6e560400426c5f0c4b6e452301326c0000046d1a0e6f0202fdac7e0123

alvaro@alvaro-Compaq-Presario-CQ61-Notebook-PC:~/rtl-wmbus-master$ rtl_sdr -f 868.7M -s 1600000 - 2>/dev/null | rtl_wmbus -s
S1;1;1;2021-02-06 12:02:35.000;137;141;04998541;0x2c4465324185990401087a008000000b6e560400426c5f0c4b6e452301326c0000046d1a0e6f0202fdac7e0123

@xaelsouth
Copy link
Owner

It's simple. Packet rssi is an rssi value taken at the first datagram's bit (most significant bit in the L field) and will not be updated while receiving remaining bits of the current packet (or datagram). An another rssi is the current rssi which will be continuously updated with each bit received.

It's because I want to know how rssi was changing regarding to the beginning of the packet currently received.

@xaelsouth
Copy link
Owner

Close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants