get LQI of received packets
This commit is contained in:
parent
de64b18aca
commit
36d0b2708d
4 changed files with 7 additions and 1 deletions
|
@ -52,6 +52,8 @@ void check_maca(void);
|
|||
void set_power(uint8_t power);
|
||||
void set_channel(uint8_t chan);
|
||||
|
||||
extern uint8_t (*get_lqi)(void);
|
||||
|
||||
#define DEMOD_DCD 1 /* -96dBm, 22.2mA */
|
||||
#define DEMOD_NCD 0 /* -100dBm, 24.2mA */
|
||||
void set_demodulator_type(uint8_t demod);
|
||||
|
|
|
@ -51,6 +51,7 @@ struct packet {
|
|||
/* On TX this should be 0 */
|
||||
/* On RX this should be 1 since the maca puts the length as the first byte*/
|
||||
uint8_t offset;
|
||||
uint8_t lqi;
|
||||
#if PACKET_STATS
|
||||
uint8_t seen;
|
||||
uint8_t post_tx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue