Skip to content

Instantly share code, notes, and snippets.

@t-huyeng
Created November 14, 2022 14:34
Show Gist options
  • Save t-huyeng/9e6711b9a8c716c12506b5245ea5f762 to your computer and use it in GitHub Desktop.
Save t-huyeng/9e6711b9a8c716c12506b5245ea5f762 to your computer and use it in GitHub Desktop.
paxcounter deactivate Wifi scanner workaround
15:28:51.615 > [ 1196][I][timekeeper.cpp:194] timepulse_init(): [src/timekeeper.cpp] Timepulse: internal (ESP32 hardware timer)
15:28:51.625 > [ 1206][I][main.cpp:485] setup(): [src/main.cpp] Features: VEXT DISP LED BATT BLE LORA PACKED WIFI BTN_PU TIME
15:29:20.672 > [ 30263][I][reset.cpp:88] enter_deepsleep(): [src/reset.cpp] Preparing to sleep...
15:29:20.680 > [ 30267][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:29:20.687 > [ 30268][I][blescan.cpp:277] stop_BLE_scan(): [bluetooth] Shutting down bluetooth scanner ...
15:29:20.695 > [ 30280][I][blescan.cpp:286] stop_BLE_scan(): [bluetooth] Bluetooth scanner stopped
15:29:20.703 > [ 30283][I][reset.cpp:110] enter_deepsleep(): [src/reset.cpp] Waiting until send queues are empty...
15:29:20.712 > [ 30291][I][reset.cpp:119] enter_deepsleep(): [src/reset.cpp] Waiting until LMIC is idle...
15:29:21.784 > [ 31375][I][lorawan.cpp:408] myRxCallback(): [src/lorawan.cpp] Received 4 byte(s) of payload on port 2
15:29:21.794 > [ 31375][I][rcommand.cpp:89] set_sleepcycle(): [src/rcommand.cpp] Remote command: set sleep cycle to 0 seconds
15:29:21.803 > [ 31382][I][rcommand.cpp:407] set_saveconfig(): [src/rcommand.cpp] Remote command: save config to NVRAM
15:29:21.812 > [ 31392][I][configmanager.cpp:69] saveConfig(): [src/configmanager.cpp] Storing settings to NVRAM...
15:29:21.820 > [ 31407][I][configmanager.cpp:85] saveConfig(): [src/configmanager.cpp] Device settings saved
15:29:22.709 > [ 32300][I][lorawan.cpp:532] SaveLMICToRTC(): [src/lorawan.cpp] LMIC state saved
15:29:22.716 > [ 32301][I][reset.cpp:179] enter_deepsleep(): [src/reset.cpp] Going to sleep, good bye.
15:29:52.721 > [ 20][I][configmanager.cpp:96] loadConfig(): [src/configmanager.cpp] Loading device configuration from NVRAM...
15:29:52.731 > [ 23][I][configmanager.cpp:122] loadConfig(): [src/configmanager.cpp] Runtime configuration v3.4.3 loaded
15:29:52.741 > [ 30][I][reset.cpp:72] do_after_reset(): [src/reset.cpp] Time spent in deep sleep: 30077 ms
15:29:52.749 > [ 38][I][main.cpp:115] setup(): [src/main.cpp] Starting paxcounter_81a17fe3 v3.4.3 (runmode=2 / restarts=1)
15:29:52.759 > [ 47][I][main.cpp:116] setup(): [src/main.cpp] code build date: 1668435351
15:29:52.767 > [ 54][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=4 scl=15 freq=100000
15:29:52.883 > [ 64][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
15:29:52.914 > [ 214][I][main.cpp:229] setup(): [src/main.cpp] Starting LED Controller...
15:29:52.921 > [ 214][I][power.cpp:194] calibrate_voltage(): [src/power.cpp] ADC characterization based on reference voltage stored in eFuse
15:29:52.932 > [ 224][I][main.cpp:275] setup(): [src/main.cpp] Starting libpax...
15:29:52.938 > [ 227][I][main.cpp:285] setup(): [src/main.cpp] WIFISCAN: on
15:29:52.945 > [ 232][I][main.cpp:291] setup(): [src/main.cpp] BLESCAN: on
15:29:52.958 > [ 258][I][blescan.cpp:203] start_BLE_scan(): [bluetooth] Initializing bluetooth scanner ...
15:29:53.596 > [ 896][I][blescan.cpp:113] hci_cmd_send_ble_scan_start(): [bluetooth] BLE Scanning started
15:29:53.796 > [ 1096][I][blescan.cpp:264] start_BLE_scan(): [bluetooth] Bluetooth scanner started
15:29:53.804 > [ 1096][I][main.cpp:309] setup(): [src/main.cpp] Starting rcommand interpreter...
15:29:53.811 > [ 1100][I][rcommand.cpp:515] rcmd_init(): [src/rcommand.cpp] Rcommand send queue created, size 55 Bytes
15:29:53.821 > [ 1109][I][lorawan.cpp:248] lmic_init(): [src/lorawan.cpp] LORA send queue created, size 530 Bytes
15:29:53.835 > [ 1135][I][lorawan.cpp:537] LoadLMICFromRTC(): [src/lorawan.cpp] LMIC state loaded
15:29:53.843 > [ 1135][I][lorawan.cpp:293] lmic_init(): [src/lorawan.cpp] Already joined
15:29:53.850 > [ 1138][I][lorawan.cpp:297] lmic_init(): [src/lorawan.cpp] Starting LMIC...
15:29:53.856 > [ 1145][I][main.cpp:412] setup(): [src/main.cpp] Starting Interrupt Handler...
15:29:53.863 > [ 1152][I][main.cpp:440] setup(): [src/main.cpp] Starting Timers...
15:29:53.891 > [ 1192][I][button.cpp:37] button_init(): [src/button.cpp] Starting button Controller...
15:29:53.901 > [ 1193][I][timekeeper.cpp:391] time_init(): [src/timekeeper.cpp] Starting time pulse...
15:29:53.908 > [ 1197][I][timekeeper.cpp:194] timepulse_init(): [src/timekeeper.cpp] Timepulse: internal (ESP32 hardware timer)
15:29:53.919 > [ 1206][I][main.cpp:485] setup(): [src/main.cpp] Features: VEXT DISP LED BATT BLE LORA PACKED WIFI BTN_PU TIME
15:30:22.967 > [ 30266][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:30:52.967 > [ 60265][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:30:54.074 > [ 61373][I][lorawan.cpp:408] myRxCallback(): [src/lorawan.cpp] Received 3 byte(s) of payload on port 2
15:30:54.083 > [ 61374][I][rcommand.cpp:273] set_wifiscan(): [src/rcommand.cpp] Remote command: set WIFI scanner to off
15:30:54.094 > [ 61384][I][blescan.cpp:277] stop_BLE_scan(): [bluetooth] Shutting down bluetooth scanner ...
15:30:54.101 > [ 61397][I][blescan.cpp:286] stop_BLE_scan(): [bluetooth] Bluetooth scanner stopped
15:30:54.108 > [ 61397][I][blescan.cpp:203] start_BLE_scan(): [bluetooth] Initializing bluetooth scanner ...
15:30:54.728 > [ 62027][I][blescan.cpp:113] hci_cmd_send_ble_scan_start(): [bluetooth] BLE Scanning started
15:30:54.929 > [ 62228][I][blescan.cpp:264] start_BLE_scan(): [bluetooth] Bluetooth scanner started
15:30:54.937 > [ 62228][I][rcommand.cpp:407] set_saveconfig(): [src/rcommand.cpp] Remote command: save config to NVRAM
15:30:54.946 > [ 62233][I][configmanager.cpp:69] saveConfig(): [src/configmanager.cpp] Storing settings to NVRAM...
15:30:54.954 > [ 62250][I][configmanager.cpp:85] saveConfig(): [src/configmanager.cpp] Device settings saved
15:31:24.127 > [ 91426][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:31:54.127 > [121426][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:32:24.128 > [151426][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:32:54.127 > [181426][I][lorawan.cpp:219] lora_send(): [src/lorawan.cpp] 4 byte(s) sent to LORA
15:32:55.235 > [182533][I][lorawan.cpp:408] myRxCallback(): [src/lorawan.cpp] Received 4 byte(s) of payload on port 2
15:32:55.244 > [182534][I][rcommand.cpp:89] set_sleepcycle(): [src/rcommand.cpp] Remote command: set sleep cycle to 30 seconds
15:32:55.255 > [182541][I][rcommand.cpp:407] set_saveconfig(): [src/rcommand.cpp] Remote command: save config to NVRAM
15:32:55.263 > [182550][I][configmanager.cpp:69] saveConfig(): [src/configmanager.cpp] Storing settings to NVRAM...
15:32:55.272 > [182567][I][configmanager.cpp:85] saveConfig(): [src/configmanager.cpp] Device settings saved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment