One of my ideas behind the Paxcounter technology would be to do fourier analysis on the gathered data, and implementing this on the node, not on the server.
Yes, that would be possible, but this would cause further privacy concerns.
The usual mechanism in commercial appliances for this kind of tracking is to transfer and store all collected hash values on a server, which then does the analytics. Thats for example what mobile network providers do. Of course not under their company names, the ususally have small unknown daughter companies for this sensible business. E.g. Deutsche Telekom -> Motion Logic or Spain Telefonica -> Next
This is not my intention with the Paxcounter project. I want to build an intelligent counter node that respects maximum privacy and does not pollute the LoRaWAN network by transferring hash values to a cloud. So we need a new clever solution.
Intelligence uses this technology mobile ā¦ just set it up somewhere and it acts like a normal cellā¦ all phones in the area (think protest demonstrations) are recorded.
but what I suggested was only detecting a sudden 'group movement from A to B, detecting a difference in the 'normal pattern, and lorawan is probably not the right platformā¦ to much data
@Charles one minor bug, but is logical, not a display error: if BLE scan ends with result 0, the third ā.ā of āBLE scanā¦ā sticks in display. see picture.
I flashed your last pull requested before merging it, so itās the code with your latest modifications - quite a lot
Display is also slightly flickering now, that was not with that version from today morning.
@charles i managed it to capture a serial log while TTGOv2 resets in a very dense environment. The crash happened while BLE scan is running and capturing a high number of BLE MACs.
Will try again if it this can be reproduced. If yes this may be an issue with N. Kolbanās Bluetooth stack, maybe not prepared for high workloadsā¦
[I][macsniff.cpp:74] mac_add(): BLE RSSI -82dBi -> MAC xxxxxxxx -> Hash E9E8 -> WiFi:95 BLE:183 already seen
[I][macsniff.cpp:74] mac_add(): BLE RSSI -77dBi -> MAC xxxxxxxx -> Hash BA6D -> WiFi:95 BLE:184 new
[I][macsniff.cpp:74] mac_add(): BLE RSSI -89dBi -> MAC xxxxxxxx -> Hash C91A -> WiFi:95 BLE:185 new
[I][macsniff.cpp:74] mac_add(): BLE RSSI -85dBi -> MAC xxxxxxxx -> Hash 3867 -> WiFi:95 BLE:185 already seen
[I][macsniff.cpp:74] mac_add(): BLE RSSI -87dBi -> MAC xxxxxxxx -> Hash C0E4 -> WiFi:95 BLE:186 new
[I][macsniff.cpp:74] mac_add(): BLE RSSI -86dBi -> MAC xxxxxxxx -> Hash B379 -> WiFi:95 BLE:187 new
E (66896) BT: btc_search_callback BLE observe complete. Num Resp 133
[I][macsniff.cpp:74] mac_add(): BLE RSSI -77dBi -> MAC BA060DB0 -> Hash 79AC -> WiFi:95 BLE:187 already seen
abort() was called at PC 0x40162643 on core 0
Backtrace: 0x4008af28:0x3ffe2e80 0x4008b027:0x3ffe2ea0 0x40162643:0x3ffe2ec0 0x4016268a:0x3ffe2ee0 0x401501cb:0x3ffe2f00 0x401503f2:0x3ffe2f20 0x400d68ad:0x3ffe2f40 0x400d69f1:0x3ffe2f60 0x400d4469:0x3ffe2fa0 0x400d4c5c:0x3ffe2ff0
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:812
load:0x40078000,len:0
load:0x40078000,len:11404
entry 0x40078a28
[I][main.cpp:439] setup(): Starting PAXCNT 1.2.94
[I][main.cpp:454] setup(): This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB embedded Flash
[I][main.cpp:455] setup(): ESP32 SDK: v3.1-dev-239-g1c3dd23f-dirty
Yes this makes sense, since itās async, may be missing time to execute each callback and I found a bug in mac_sniff that was using too much time (try add to bles and wifis even if was already found in macs) Iām fixing it
All your commits until āFixed display bugā,
but not the latest one āOptimize add function, fixed New/Already Seen bugā.
I will try again with the latest, stay tuned.