This commit is contained in:
Kuba 2023-11-19 16:10:15 +00:00
commit 7173ee5cc2
4 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
if you wanna use pifmrds, then scroll down to pifmrds usage
if you wanna use pifmrds, then scroll down to pifmrds usage ([here](https://github.com/KubaPro010/rpitx2#pifmrds-usage))
![rpitx banner](/doc/rpitxlogo.png)
# About rpitx2
**rpitx2** is a general radio frequency transmitter for Raspberry Pi which doesn't require any other hardware unless filter to avoid intererence. It can handle frequencies from 5 KHz up to 1500 MHz.

1
audio
View File

@ -1 +0,0 @@
sudo jack-stdout system:capture_1 system:capture_2

5
compile.sh Normal file
View File

@ -0,0 +1,5 @@
git pull
cd src
make
sudo make install
cd ..

View File

@ -1,3 +1,4 @@
#this is for pifmrds, if you have a service that interacts with the pipe from the network, you can use this, just make sure you `mkfifo tctl` and pass the `-ctl tctl` to pifmrds :)
import socket
import os
import threading
@ -12,8 +13,6 @@ server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
server.bind((server_ip, server_port))
server.listen(5) # Allow multiple connections
print("R27 NRDSOS 1.1 (THIS IS AN INTERNAL APP USED IN R27'S INTERNAL RDS SERVICE)")
print("Listening for incoming connections...")
def handle_client(client_socket):