|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
//#include <unistd.h> //Needed for I2C port
|
|
|
|
|
#include <fcntl.h> //Needed for I2C port
|
|
|
|
|
//#include <sys/ioctl.h> //Needed for I2C port
|
|
|
|
|
|
|
|
|
|
F
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
@ -204,8 +204,8 @@ int main(void) {
|
|
|
|
|
char tlm_str[1000];
|
|
|
|
|
|
|
|
|
|
char header_str[] = "\x03\xf0hi hi ";
|
|
|
|
|
char header_str2[] = "echo -e 'KU2Y>CQ:hi hi ";
|
|
|
|
|
char footer_str[] = "' | gen_packets -o telem.wav - && cat telem.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo /home/pi/CubeSatSim/rpitx/rpitx -i- -m RF -f 434.9e3";
|
|
|
|
|
char header_str2[] = "echo -e \'KU2Y>CQ:hi hi ";
|
|
|
|
|
char footer_str[] = "\' | gen_packets -o telem.wav - && cat telem.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo /home/pi/CubeSatSim/rpitx/rpitx -i- -m RF -f 434.9e3";
|
|
|
|
|
|
|
|
|
|
if (RPITX)
|
|
|
|
|
strcpy(str, header_str2);
|
|
|
|
|
|