diff --git a/pyproject.toml b/pyproject.toml index 6ee3c6c..133a058 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,22 +29,14 @@ classifiers = [ keywords = ["mesh", "networking", "lora", "repeater", "daemon", "iot"] -#dependencies = [ -# "pymc_core[hardware]>=1.0.1", -# "pyyaml>=6.0.0", -# "cherrypy>=18.0.0", -#] - - dependencies = [ - "pymc_core[hardware] @ git+https://github.com/rightup/pyMC_core.git@dev", + "pymc_core[hardware]>=1.0.2", "pyyaml>=6.0.0", "cherrypy>=18.0.0", ] - [project.optional-dependencies] dev = [ "pytest>=7.4.0", diff --git a/radio-settings.json b/radio-settings.json index aee9b0d..1235577 100644 --- a/radio-settings.json +++ b/radio-settings.json @@ -39,6 +39,19 @@ "rxen_pin": 12, "tx_power": 22, "preamble_length": 17 + }, + "meshadv": { + "name": "MeshAdv", + "bus_id": 0, + "cs_id": 0, + "cs_pin": 21, + "reset_pin": 18, + "busy_pin": 20, + "irq_pin": 16, + "txen_pin": 13, + "rxen_pin": 12, + "tx_power": 22, + "preamble_length": 17 } } } diff --git a/setup-radio-config.sh b/setup-radio-config.sh index 9413846..67f86f1 100644 --- a/setup-radio-config.sh +++ b/setup-radio-config.sh @@ -99,7 +99,7 @@ echo "" # Fetch config from API with 5 second timeout, fallback to local file echo "Fetching radio settings from API..." -API_RESPONSE=$(curl -s --max-time 5 https://api.meshcore2.nz/api/v1/config 2>/dev/null) +API_RESPONSE=$(curl -s --max-time 5 https://api.meshcore.nz/api/v1/config 2>/dev/null) if [ -z "$API_RESPONSE" ]; then echo "Warning: Failed to fetch configuration from API (timeout or error)"