ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Пятница
3 мая
1322966
IBAH (22.06.2023 14:54 - 15:04, просмотров: 1768)
Помогите нерусей понять 

The RSSI value read from the RSSI status

register is a 2’s complement number. The

following procedure can be used to convert the

RSSI reading to an absolute power level

(RSSI_dBm).

1) Read the RSSI status register

2) Convert the reading from a hexadecimal

number to a decimal number (RSSI_dec)

3) If RSSI_dec ≥ 128 then RSSI_dBm =

(RSSI_dec - 256)/2 – RSSI_offset

4) Else if RSSI_dec < 128 then RSSI_dBm =

(RSSI_dec)/2 – RSSI_offset


в третьем пункте противоречие, если RSSI_dec s8 то почему сравнение 128

и что такое вычитание 256?