cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards

Home Page:https://cyberman54.github.io/ESP32-Paxcounter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question: what about high numbers?

AugustQu opened this issue · comments

I reactivated my Paxcounter and made it working again. In my first test it counted between 120 and 160 smartphones on a place.

Is this a limit? Ca it detect let's say >200 devices? Or maybe 300?

Or is it better to change the interval from 60 seconds to 120 seconds?

In paxcounter.conf I found SENDCYCLE with a value of 30. But changing this seems not to modify the behaviour.

AugustQ

Sendcycle is stored in NVRAM of board. If you change the default on a new build, you must clear the NVRAM, otherwise the old value is restored during startup, and there is no effect. Or you change it during runtime by rcommand.

Limit by memory is 65535 pax. But the real bottleneck is cpu speed and limited radio bandwith, because ESP32 has only 1 radio, while Wifi signalling happenes on 13 channels and BLE on 3 channels. Thus, we must rotate channels what means sniffing is time slot based. That means, we can miss devices.

I close this, since it's not an issue.
For further questions or discussion, please move to discussion tab.