cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.72k stars 401 forks source link

Wifi sniffing suddenly freezes with versions > 1.6.971 #220

Closed cyberman54 closed 5 years ago

cyberman54 commented 5 years ago

With software versions > v1.6.971 sudden freezes of wifi sniffing were reported and could be reproduced, but reason is unknown yet.

While wifi sniffing is freezed the device stays alive in it's other functions:

Perhaps not application version dependent, but caused by latest updates in ESP32 or arduino-esp32 core :-(

cyberman54 commented 5 years ago

Issue was not again seen (yet) since upgrade to ESP-IDF 3.1.2 with paxcounter release v1.7.11

cyberman54 commented 5 years ago

Issue was once again seen with v1.6.996 (see below), not (yet) with v1.7.x, but could be still an issue in v1.7.x -> re-openend

TX: Device sends cyclic LORA data, no packets missing RX: Device ist not stable responding to rcommandx 0x80 / 0x81

Test device runtime parameters: { "cputemp": 51, "memory": 84620, "reset0": 16, "reset1": 14, "uptime": 760212143, "voltage": 0 }

{ "pax": 3265, "wifi": 3265 }

{ "time": "2019-01-29T09:04:43.132553661Z", "frequency": 867.1, "modulation": "LORA", "data_rate": "SF7BW125", "coding_rate": "4/5", "gateways": [ { "gtw_id": "eui-40d63cfffexxxxxx", "timestamp": 3909713324, "time": "2019-01-29T09:04:42.104762Z", "channel": 3, "rssi": -49, "snr": 10.3, "latitude": xx.53737, "longitude": xx.41779, "altitude": 60 } ] }

{ "blescantime": 8, "flags": { "adr": 1, "alarm": 0, "antenna": 0, "blescan": 0, "countermode": 1, "filter": 1, "screen": 1, "screensaver": 0 }, "lorasf": 9, "payloadmask": { "alarm": 1, "battery": 1, "bme": 1, "counter": 1, "gps": 1, "sensor1": 1, "sensor2": 1, "sensor3": 1 }, "rgblum": 30, "rssilimit": 0, "sendcycle": 30, "txpower": 15, "version": "1.6.996", "wifichancycle": 50 }

cyberman54 commented 5 years ago

This issue was not seen since ESP32 core was updated. Closing.