diff --git a/README.md b/README.md index a0b36b0..b22d5e2 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,8 @@ Frequency Labs meshadv Frequency: 868MHz (EU) or 915MHz (US) TX Power: Up to 22dBm SPI Bus: SPI0 - GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, TXEN=13, RXEN=12 + GPIO Pins: CS=21, Reset=18, Busy=20, IRQ=16, TXEN=13, RXEN=12, + use_dio3_tcxo=True ... @@ -82,6 +83,30 @@ Frequency Labs meshadv ## Installation +Before You Begin + +Make sure SPI is switched on using raspi-config: + +```sudo raspi-config +``` + +1. Go to Interface Options +2. Select SPI +3. Choose Enable +4. Reboot when prompted: + +```sudo reboot +``` +After reboot, you can confirm SPI is active: +``` +ls /dev/spi* +``` +You should see something like: +``` +/dev/spidev0.0 /dev/spidev0.1 +``` + + **Clone the Repository:** ```bash git clone https://github.com/rightup/pyMC_Repeater.git @@ -90,7 +115,7 @@ cd pyMC_Repeater **Quick Install:** ```bash -sudo bash deploy.sh +sudo bash manage.sh ``` This script will: @@ -124,7 +149,7 @@ The configuration file is created and configured during installation at: To reconfigure radio and hardware settings after installation, run: ```bash -sudo bash setup-radio-config.sh /etc/pymc_repeater +sudo bash setup-radio-config.sh /etc/pymc_repeater or sudo bash manage.sh sudo systemctl restart pymc-repeater ``` @@ -137,7 +162,7 @@ To upgrade an existing installation to the latest version: cd pyMC_Repeater # Run the upgrade script -sudo ./upgrade.sh +sudo bash manage.sh ``` The upgrade script will: @@ -153,7 +178,7 @@ The upgrade script will: ## Uninstallation ```bash -sudo bash uninstall.sh +sudo bash manage.sh ``` This script will: diff --git a/pyproject.toml b/pyproject.toml index 011daee..c977a10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pymc_repeater" -version = "1.0.3" +version = "1.0.4" authors = [ {name = "Lloyd", email = "lloyd@rightup.co.uk"}, ]