trx_toolkit/data_msg.py: fix: extend RSSI value range to [-47..-120]
Change-Id: I9fce3462db14bd273a1498762cc9293fc888b45a
This commit is contained in:
parent
3655350992
commit
6e9808662f
|
@ -294,8 +294,10 @@ class DATAMSG_L12TRX(DATAMSG):
|
|||
class DATAMSG_TRX2L1(DATAMSG):
|
||||
# Constants
|
||||
HDR_LEN = 8
|
||||
|
||||
# rxlev2dbm(0..63) gives us [-110..-47], plus -10 dbm for noise
|
||||
RSSI_MIN = -120
|
||||
RSSI_MAX = -50
|
||||
RSSI_MAX = -47
|
||||
|
||||
# Min and max values of int16_t
|
||||
TOA256_MIN = -32768
|
||||
|
|
Loading…
Reference in New Issue