mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-04 17:02:23 +02:00
Update version to 1.0.4 in pyproject.toml and add SPI setup instructions
This commit is contained in:
@@ -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:
|
||||
|
||||
+1
-1
@@ -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"},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user