User Configurable TCP Audio and SetMod BW;

This commit is contained in:
lwvmobile
2022-12-12 08:32:41 -05:00
parent 68bbea64d5
commit 896f3a8533
8 changed files with 60 additions and 34 deletions

View File

@@ -146,8 +146,7 @@ bool SetFreq(int sockfd, long int freq)
bool SetModulation(int sockfd, int bandwidth)
{
char buf[BUFSIZE];
//ideally, on P25, we want to use the iden_up with bw, and calc bandwidth first
//bandwidth = 12500; //default value, if doing pV, may want to swtich to 25000
//the bandwidth is now a user/system based configurable variable
sprintf (buf, "M FM %d\n", bandwidth);
Send(sockfd, buf);
Recv(sockfd, buf);