You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.8 KiB

# D-Star Site - MMDVMHost Split Controller
MMDVMHost with D-Star split controller Name= registration support.
Connects Raspberry Pi 3 sites to cloud DStarRepeater split controller.
## What this does
Patches MMDVMHost to send a NETWORK_REGISTER packet with a site name
to the DStarRepeater split controller, allowing the controller to
identify each site by name rather than IP address only.
## Sites
| Site | Name | Gateway Port | Local Port | Description |
|-------|-------|-------------|------------|---------------------|
| ORNG | ORNG | 20013 | 20016 | Orange Portable |
| ORNG2 | ORNG2 | 20013 | 20017 | Orange TXRX |
## Cloud Split Controller
- IP: 10.121.15.78
- DStarRepeater split controller
- ircDDBGateway / DStarGateway on cloud side
## Fresh Install
```bash
# On fresh Raspberry Pi OS Lite
git clone http://git.rdcclouds.com/ryan/dstar-site
cd dstar-site
sudo bash install.sh
```
Select site when prompted. Script handles everything:
- Dependencies
- Serial port configuration
- MMDVMHost compile with patches
- Config generation
- Systemd service
## Update
```bash
cd dstar-site
sudo bash update.sh
```
## Files Modified in MMDVMHost
- `DStarNetwork.cpp` - Added writeRegister() sending 0x0B NETWORK_REGISTER packet
- `DStarNetwork.h` - Added m_name member and writeRegister() declaration
- `Conf.h` - Added m_dstarNetworkName member and getDStarNetworkName()
- `Conf.cpp` - Added Name= parser and getter (via patch script)
- `MMDVM-Host.cpp` - Pass name to CDStarNetwork constructor (via patch script)
## Hardware
- Raspberry Pi 3
- MMDVM board on /dev/ttyAMA0
- 115200 baud
## Adding a New Site
1. Create `sites/NEWSITE/site.conf` from existing template
2. Add TXName/RXName to cloud DStarRepeater split config
3. Run `sudo bash install.sh` on new Pi and select site

Powered by TurnKey Linux.