Send WiFi Mac instead of total WiFi+BLE
This commit is contained in:
parent
9718d55a9b
commit
bd62e3d538
@ -81,8 +81,8 @@ Paxcounter generates identifiers for sniffed MAC adresses and collects them temp
|
|||||||
|
|
||||||
FPort1:
|
FPort1:
|
||||||
|
|
||||||
byte 1: 16-bit Total Wifi+BLE counter, MSB
|
byte 1: 16-bit WiFi counter, MSB
|
||||||
byte 2: 16-bit Total Wifi+BLE counter, LSB
|
byte 2: 16-bit WiFi counter, LSB
|
||||||
byte 3: 16-bit BLE counter, MSB
|
byte 3: 16-bit BLE counter, MSB
|
||||||
byte 4: 16-bit BLE counter, LSB
|
byte 4: 16-bit BLE counter, LSB
|
||||||
|
|
||||||
|
@ -113,8 +113,8 @@ void printKeys(void) {
|
|||||||
void do_send(osjob_t* j){
|
void do_send(osjob_t* j){
|
||||||
uint8_t mydata[4];
|
uint8_t mydata[4];
|
||||||
uint16_t data;
|
uint16_t data;
|
||||||
// Total BLE+WIFI unique MACs seen
|
// Sum of unique WIFI MACs seen
|
||||||
data = (uint16_t) macs.size();
|
data = (uint16_t) wifis.size();
|
||||||
mydata[0] = (data & 0xff00) >> 8;
|
mydata[0] = (data & 0xff00) >> 8;
|
||||||
mydata[1] = data & 0xff;
|
mydata[1] = data & 0xff;
|
||||||
|
|
||||||
@ -123,9 +123,9 @@ void do_send(osjob_t* j){
|
|||||||
mydata[2] = (data & 0xff00) >> 8;
|
mydata[2] = (data & 0xff00) >> 8;
|
||||||
mydata[3] = data & 0xff;
|
mydata[3] = data & 0xff;
|
||||||
|
|
||||||
// Sum of unique WIFI MACs seen
|
// Total BLE+WIFI unique MACs seen
|
||||||
// TBD ?
|
// TBD ?
|
||||||
//data = (uint16_t) wifis.size();
|
//data = (uint16_t) macs.size();
|
||||||
//mydata[4] = (data & 0xff00) >> 8;
|
//mydata[4] = (data & 0xff00) >> 8;
|
||||||
//mydata[5] = data & 0xff;
|
//mydata[5] = data & 0xff;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user