Skip to content

Commit

Permalink
Add a debug message on forwarding.
Browse files Browse the repository at this point in the history
  • Loading branch information
iPAS committed Dec 10, 2021
1 parent 01df023 commit 2b1ce0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 86 deletions.
86 changes: 0 additions & 86 deletions Main/.vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,79 +49,6 @@
],
"intelliSenseMode": "gcc-x64",
"includePath": [
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/config",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/app_trace",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/app_update",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/asio",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/bootloader_support",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/bt",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/coap",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/console",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/driver",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/efuse",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp-tls",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp32",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_adc_cal",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_event",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_http_client",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_http_server",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_https_ota",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_https_server",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_ringbuf",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp_websocket_client",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/espcoredump",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/ethernet",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/expat",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/fatfs",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/freemodbus",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/freertos",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/heap",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/idf_test",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/jsmn",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/json",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/libsodium",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/log",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/lwip",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/mbedtls",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/mdns",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/micro-ecc",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/mqtt",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/newlib",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/nghttp",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/nvs_flash",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/openssl",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/protobuf-c",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/protocomm",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/pthread",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/sdmmc",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/smartconfig_ack",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/soc",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/spi_flash",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/spiffs",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/tcp_transport",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/tcpip_adapter",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/ulp",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/unity",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/vfs",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/wear_levelling",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/wifi_provisioning",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/wpa_supplicant",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/xtensa-debug-module",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp-face",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp32-camera",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/esp-face",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/fb_gfx",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/cores/esp32",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/variants/tbeam",
"/home/ipas/Workspace/Arduino/libraries/SimpleCLI/src",
"/home/ipas/Workspace/Arduino/libraries/AXP202X_Library/src",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/libraries/Wire/src",
"/home/ipas/Workspace/Arduino/libraries/ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays/src",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/libraries/BluetoothSerial/src",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/libraries/SPI/src",
"/home/ipas/Workspace/Arduino/libraries/LoRa/src",
"/home/ipas/Workspace/Arduino/libraries/TinyGPSPlus/src",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/libraries/Preferences/src",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/config",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/app_trace",
"/home/ipas/Workspace/Arduino/hardware/espressif/esp32/tools/sdk/include/app_update",
Expand Down Expand Up @@ -209,19 +136,6 @@
"cStandard": "c11",
"cppStandard": "c++11",
"defines": [
"ESP_PLATFORM",
"MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"",
"HAVE_CONFIG_H",
"GCC_NOT_5_2_0=0",
"WITH_POSIX",
"F_CPU=240000000L",
"ARDUINO=10815",
"ARDUINO_TBeam",
"ARDUINO_ARCH_ESP32",
"ARDUINO_BOARD=\"TBeam\"",
"ARDUINO_VARIANT=\"tbeam\"",
"ESP32",
"CORE_DEBUG_LEVEL=1",
"ESP_PLATFORM",
"MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"",
"HAVE_CONFIG_H",
Expand Down
1 change: 1 addition & 0 deletions Main/flood.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ void on_receive(Address source, MessageType type, void *message, uint8_t len)
// Rebroadcast
// -----------
broadcast(message, len);
debug("Rebroadcast seqNo %d from node %d to %d", hdr->seqNo, source, hdr->finalSink);
}

}
Expand Down

0 comments on commit 2b1ce0d

Please sign in to comment.