diff --git a/README.md b/README.md new file mode 100644 index 0000000..a30fbaa --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# rds95 diff --git a/doc/command_list.md b/doc/command_list.md deleted file mode 100644 index 9db68ba..0000000 --- a/doc/command_list.md +++ /dev/null @@ -1,25 +0,0 @@ -## MiniRDS command list - -Most commands are in the ASCII format, for RT you can use `TEXT` or `RT1`, however some comamnds werent yet transitioned to the new command syntax, and here they are: - -### Commands - -#### `MPX` -Set volumes in percent modulation for individual MPX subcarrier signals. - -`MPX 0,9,9,9,9` - -Carriers: (first to last) -Pilot tone -RDS 1 -RDS 2 (67 khz) -RDS 2 (71 khz) -RDS 2 (76 khz) - -#### `VOL` -Set the output volume in percent. - -`VOL 100` - -## Other -See src/supported_cmds.txt \ No newline at end of file diff --git a/doc/mpxgen.jpg b/doc/mpxgen.jpg deleted file mode 100644 index fe6a04d..0000000 Binary files a/doc/mpxgen.jpg and /dev/null differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d4a85c8..1614e6e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10) # Project name and version -project(minirds VERSION 1.0) +project(rds95 VERSION 1.0) # Define options option(ODA_RTP "Enable ODA (RT+)" ON) @@ -11,9 +11,13 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -pedantic -O2 -std=c18 # Define sources set(SOURCES - minirds.c + rds95.c waveforms.c rds.c + control_pipe.c + modulator.c + lib.c + ascii_cmd.c ) if(ODA_RTP) @@ -21,19 +25,11 @@ if(ODA_RTP) add_definitions(-DODA_RTP) endif() -set(SOURCES - ${SOURCES} - control_pipe.c - modulator.c - lib.c - ascii_cmd.c -) - # Define the executable -add_executable(minirds ${SOURCES}) +add_executable(rds95 ${SOURCES}) # Link additional libraries -target_link_libraries(minirds PRIVATE m pthread pulse pulse-simple) +target_link_libraries(rds95 PRIVATE m pthread pulse pulse-simple) # Install target -install(TARGETS minirds DESTINATION /usr/local/bin) \ No newline at end of file +install(TARGETS rds95 DESTINATION /usr/local/bin) \ No newline at end of file diff --git a/src/minirds.c b/src/rds95.c similarity index 100% rename from src/minirds.c rename to src/rds95.c