[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[uracoli-devel] Wrong RSSI value in usr_radio_receive_frame()
From: |
uracolix |
Subject: |
[uracoli-devel] Wrong RSSI value in usr_radio_receive_frame() |
Date: |
Sat, 24 Apr 2010 18:03:47 +0200 |
User-agent: |
KMail/1.9.9 |
The parameter "rssi" in the callback function usr_radio_receive_frame()
does have always the value 255 (VOID_RSSI), if RX_AUTO (RX_AACK) is
used for reception. This is because the RSSI value is read during
the RX_START interrupt.
I would change this to hand over the ED value instead which could
be read always at the TRX_END_IRQ.
I would also rename the parameter to "ed" (instead of "rssi").
Another option would be to hand over the ED value after conversion
to dBm according to the transceivers datasheet (RSSI_BASE_VALUE).
Are there any objections to this change ?
Cheers, Axel
- [uracoli-devel] Wrong RSSI value in usr_radio_receive_frame(),
uracolix <=