make rssi limit configurable in paxcounter.conf
This commit is contained in:
parent
fa1d29c627
commit
c096ee8821
@ -37,7 +37,7 @@ static void defaultConfig(configData_t *myconfig) {
|
|||||||
myconfig->screenon = 1; // 0=disabled, 1=enabled
|
myconfig->screenon = 1; // 0=disabled, 1=enabled
|
||||||
myconfig->countermode =
|
myconfig->countermode =
|
||||||
COUNTERMODE; // 0=cyclic, 1=cumulative, 2=cyclic confirmed
|
COUNTERMODE; // 0=cyclic, 1=cumulative, 2=cyclic confirmed
|
||||||
myconfig->rssilimit = 0; // threshold for rssilimiter, negative value!
|
myconfig->rssilimit = RSSILIMIT; // threshold for rssilimiter, negative value!
|
||||||
myconfig->sendcycle = SENDCYCLE; // payload send cycle [seconds/2]
|
myconfig->sendcycle = SENDCYCLE; // payload send cycle [seconds/2]
|
||||||
myconfig->sleepcycle = SLEEPCYCLE; // sleep cycle [seconds/10]
|
myconfig->sleepcycle = SLEEPCYCLE; // sleep cycle [seconds/10]
|
||||||
myconfig->wifichancycle =
|
myconfig->wifichancycle =
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
// MAC sniffing parameters
|
// MAC sniffing parameters
|
||||||
#define BLECOUNTER 1 // set to 0 if you do not want to install the BLE sniffer
|
#define BLECOUNTER 1 // set to 0 if you do not want to install the BLE sniffer
|
||||||
#define WIFICOUNTER 1 // set to 0 if you do not want to install the WIFI sniffer
|
#define WIFICOUNTER 1 // set to 0 if you do not want to install the WIFI sniffer
|
||||||
|
#define RSSILIMIT 0 // 0...-128, set to 0 if you do not want to filter signals
|
||||||
|
|
||||||
// BLE scan parameters
|
// BLE scan parameters
|
||||||
#define BLESCANTIME 0 // [seconds] scan duration, 0 means infinite [default], see note below
|
#define BLESCANTIME 0 // [seconds] scan duration, 0 means infinite [default], see note below
|
||||||
|
Loading…
Reference in New Issue
Block a user