33 #define MY_SIGNAL_REPORT_ENABLED
44 #define MY_RADIO_RFM95
45 #define MY_RFM95_ATC_TARGET_RSSI_DBM (-70) // target RSSI -70dBm
46 #define MY_RFM95_MAX_POWER_LEVEL_DBM (10) // max. TX power 10dBm = 10mW
51 #define CHILD_ID_UPLINK_QUALITY (0)
52 #define CHILD_ID_TX_LEVEL (1)
53 #define CHILD_ID_TX_PERCENT (2)
54 #define CHILD_ID_TX_RSSI (3)
55 #define CHILD_ID_RX_RSSI (4)
56 #define CHILD_ID_TX_SNR (5)
57 #define CHILD_ID_RX_SNR (6)
61 MyMessage msgTxRSSI(CHILD_ID_TX_RSSI, V_CUSTOM);
62 MyMessage msgRxRSSI(CHILD_ID_RX_RSSI, V_CUSTOM);
63 MyMessage msgTxSNR(CHILD_ID_TX_SNR, V_CUSTOM);
64 MyMessage msgRxSNR(CHILD_ID_RX_SNR, V_CUSTOM);
65 MyMessage msgTxLevel(CHILD_ID_TX_LEVEL, V_CUSTOM);
66 MyMessage msgTxPercent(CHILD_ID_TX_PERCENT, V_CUSTOM);
67 MyMessage msgUplinkQuality(CHILD_ID_UPLINK_QUALITY, V_CUSTOM);
80 present(CHILD_ID_UPLINK_QUALITY, S_CUSTOM,
"UPLINK QUALITY RSSI");
81 present(CHILD_ID_TX_LEVEL, S_CUSTOM,
"TX LEVEL DBM");
82 present(CHILD_ID_TX_PERCENT, S_CUSTOM,
"TX LEVEL PERCENT");
83 present(CHILD_ID_TX_RSSI, S_CUSTOM,
"TX RSSI");
84 present(CHILD_ID_RX_RSSI, S_CUSTOM,
"RX RSSI");
85 present(CHILD_ID_TX_SNR, S_CUSTOM,
"TX SNR");
86 present(CHILD_ID_RX_SNR, S_CUSTOM,
"RX SNR");