mirror of
https://github.com/agessaman/meshcore-packet-capture.git
synced 2026-04-20 23:23:37 +00:00
58 lines
1.6 KiB
Text
58 lines
1.6 KiB
Text
[connection]
|
|
# Connection type: serial or ble
|
|
connection_type = ble
|
|
|
|
# Serial port (for serial connection)
|
|
#serial_port = /dev/ttyUSB0
|
|
|
|
# BLE device name (for BLE connection)
|
|
#ble_device_name = MeshCore-HOWL
|
|
|
|
# BLE address (for BLE connection) - use specific UUID to target exact device
|
|
# format: Name or UUID like "12:34:56:78:90:AB" or "78212A67-3FF9-83AD-D3F0-3B432DDEB5F9"
|
|
ble_address = YOUR_BLE_ADDRESS_HERE
|
|
|
|
# Reconnection settings
|
|
# Maximum number of connection retry attempts (0 = infinite)
|
|
max_connection_retries = 5
|
|
# Delay between connection retry attempts in seconds
|
|
connection_retry_delay = 5
|
|
# Connection health check interval in seconds
|
|
health_check_interval = 30
|
|
|
|
[mqtt]
|
|
# MQTT broker settings
|
|
server = YOUR_MQTT_SERVER_HERE
|
|
port = 1883
|
|
username = YOUR_MQTT_USERNAME_HERE
|
|
password = YOUR_MQTT_PASSWORD_HERE
|
|
client_id_prefix = meshcore_
|
|
qos = 0
|
|
retain = true
|
|
|
|
# MQTT reconnection settings
|
|
# Maximum number of MQTT retry attempts (0 = infinite)
|
|
max_mqtt_retries = 5
|
|
# Delay between MQTT retry attempts in seconds
|
|
mqtt_retry_delay = 5
|
|
|
|
[topics]
|
|
# MQTT topic structure
|
|
status = meshcore/test/status
|
|
decoded = meshcore/test/decoded
|
|
packets = meshcore/test/packets
|
|
debug = meshcore/test/debug
|
|
|
|
[packetcapture]
|
|
# Origin identifier for captured packets (fallback when device name unavailable)
|
|
origin = Node Name
|
|
# Manual origin_id override (fallback when device public key unavailable)
|
|
#origin_id = your_custom_origin_id_here
|
|
|
|
# Advert settings
|
|
# Advert interval in hours (0 = disabled, >0 = hours between adverts)
|
|
advert_interval_hours = 11
|
|
|
|
# RF data cache timeout in seconds (how long to keep SNR/RSSI data for packet correlation)
|
|
rf_data_timeout = 15.0
|
|
|