Commit Graph

853 Commits (ad5800a48d79cd8d30d844827320227fd085acf4)

Author SHA1 Message Date
Alan Johnston ab7a8ddce7 Payload UART communication test added, disable AX5043 test
6 years ago
Alan Johnston 992175a02e demo cleanup
7 years ago
Alan Johnston 05e7996d9f fixing no CW when mode cycling
7 years ago
alanbjohnston be2ac895d4
added cw_id to set if sending CW id, set by 3rd command line arg
7 years ago
alanbjohnston 8d11163ae4
turn off CW id if mode cycling
7 years ago
Alan Johnston f6f0cf3f47 added PSU voltage, current, and experiment status
7 years ago
Alan Johnston 2580447cfe curves set for FoxTelem 1.09f working FSK
7 years ago
alanbjohnston be9b9768b8
cleanup
7 years ago
alanbjohnston b45c523123
don't do cw if using ax5043
7 years ago
alanbjohnston e583e6d961
don't cycle if ax5043
7 years ago
Alan Johnston 42015f9e48 AX5043 AFSK transmit working
7 years ago
alanbjohnston 00bf384dbc
moved around header and footer strings
7 years ago
alanbjohnston b7a662a03d
added in data
7 years ago
alanbjohnston aa20bb8215
added ax5043 transmit
7 years ago
alanbjohnston 240c03c7d5
fixed tempSensor bug
7 years ago
alanbjohnston 421aa52425
various adds of ax5043 stuff
7 years ago
alanbjohnston e0f9a6bd7e
fixed true typo
7 years ago
alanbjohnston e6afab48ac
adjusted board checking
7 years ago
Alan Johnston 55178f7b82 added init_rf() with return code for AX5043 presence
7 years ago
Alan Johnston cb934eb2f3 check for SPI enabled
7 years ago
alanbjohnston 18cc6b5c17
testing init
7 years ago
alanbjohnston 982ef380d1
starting to add back in ax-5043 stuff
7 years ago
alanbjohnston bb2698afdd
fixed cw_str length and def
7 years ago
alanbjohnston ad7aad8f59
id with saved callsign
7 years ago
Alan Johnston e1516b73c3 CW ID hardcoded at start
7 years ago
alanbjohnston 2ffd487802
Added station ID in CW Morse using Direwolf gen_packets
7 years ago
Alan Johnston 6f719f91f8 read callsign from sim.cfg file
7 years ago
Alan Johnston d50f89ecfc fixed bug in telem.c
7 years ago
alanbjohnston 4cefb93971
voltage x 100
7 years ago
alanbjohnston 102331d6fa
actual v and i telemetry
7 years ago
alanbjohnston f4e36354ca
battery voltage x 100
7 years ago
alanbjohnston d0bf92e0e4
typo
7 years ago
alanbjohnston b4d9863d65
added current as well as voltage encoding in fox
7 years ago
Alan Johnston daa93ff053 BPSK not working
7 years ago
Alan Johnston 35e97006af better vB3, TFB, and vB4 determination
7 years ago
alanbjohnston cbd1a85f83
typo
7 years ago
alanbjohnston 3d9cf80913
added batteryThreshold with auto shutdown
7 years ago
Alan Johnston de30dc6eda not sure if TFB LEDs working
7 years ago
Alan Johnston a671aecb2a added LED default for vB3 only board
7 years ago
Alan Johnston f128bc6803 vB4 sensing and LEDs working
7 years ago
Alan Johnston 0be5b7342e TFB sensing and tx LED
7 years ago
Alan Johnston 4aafa43afe argument changed to loop count, cycle per reset
7 years ago
Alan Johnston 2bae990de8 FSK and BPSK working with sleepTime and 3000
7 years ago
Alan Johnston 2133853aa9 cycle partial, sleep(0.5) works, samplePeriod gives BPSK 1 Radiation Error
7 years ago
Alan Johnston c4e86f6a9b BPSK working?
7 years ago
Alan Johnston 2c4f80d66d FSK and BPSK works sort of
7 years ago
Alan Johnston 6bd2050f0b FSK 1 working but BPSK no decodes
7 years ago
Alan Johnston d750b6dbd3 working sampleTime - 500 ms
7 years ago
Alan Johnston a006157417 working TFB
7 years ago
Alan Johnston 1ba9a2d372 not working
7 years ago
Alan Johnston 0279f5eb60 fixed socket write length bug
7 years ago
alanbjohnston 71d168dccf
removed curl
7 years ago
alanbjohnston c3a88ff432
changed to i2c 4 and removed tempSensor
7 years ago
alanbjohnston c414e1d2b8
changed to ic2 4
7 years ago
alanbjohnston b705ed4bbb
changed to i2c-3 bus
7 years ago
alanbjohnston 8c1b666f0a
changed to i2c-3
7 years ago
alanbjohnston c25755484c
added default frameCnt if not specified as an argument to avoid crash
7 years ago
alanbjohnston 9c22441e13
added BPF error text
7 years ago
alanbjohnston 07ea618e50
added pullup test
7 years ago
alanbjohnston 4ecd3074f5
adding read to GPIO22
7 years ago
alanbjohnston aeb1e6059e
added green and blue LED control
7 years ago
alanbjohnston fa25410cfe
fixed I2C address
7 years ago
alanbjohnston bfe8596617
fixed I2C address
7 years ago
alanbjohnston fff2d3c755
updated with I2C addresses for new vB4 PCB
7 years ago
alanbjohnston 6d6a8c48f6
changed I2C addresses to match vB4 PCB
7 years ago
alanbjohnston d982023221
moved firstTime to only avoid sleep(3) not writing values
7 years ago
alanbjohnston 8acb8306fe
reducing sleep by 2 in AFSK
7 years ago
alanbjohnston a3ebcb97da
Update main.c
7 years ago
alanbjohnston 32d16380a2
LED AFSK
7 years ago
alanbjohnston 7d4cf1bd71
changed LED for AFSK
7 years ago
alanbjohnston ada7bc15d4
fixed LED on AFSK
7 years ago
alanbjohnston 45851ed13f
only do digitalWrite when not transmitting
7 years ago
alanbjohnston 6be96fe44b
fixed LED
7 years ago
alanbjohnston 6bbda34af4
LED test
7 years ago
alanbjohnston 2194619af7
fixed blue LED
7 years ago
alanbjohnston 26a515d926
added firstTime detection to write frame of zeros, blue LED off during sleep(3);
7 years ago
alanbjohnston 972ae85829
fixed order of telem, removed 10x scaling
7 years ago
Alan Johnston 98bd2b5775 Working FSK telem
7 years ago
alanbjohnston 8d57f47c62
added telem value set
7 years ago
alanbjohnston f2c6f9643d
added more delay
7 years ago
alanbjohnston f335e388dc
fixed temp and extra delays in AFSK
7 years ago
alanbjohnston 9ffb00acc7
fixed timing of AFSK
7 years ago
alanbjohnston ee9feab8e2
position of cycle mode change
7 years ago
alanbjohnston c0801cedc8
changed callsign, made cycle alternate each time running
7 years ago
alanbjohnston 5fc7dd9199
changed back
7 years ago
alanbjohnston a52973ea58
no 2x on send test
7 years ago
alanbjohnston 9a399017d3
cycle starting with FSK
7 years ago
alanbjohnston 05fa436f60
Just FSK and BPSK cycle
7 years ago
alanbjohnston 0fbf5aff3f
always kill processes after frameCnt
7 years ago
alanbjohnston aa899f0222
fixed mode changing
7 years ago
alanbjohnston 08b76359b5
Update main.c
7 years ago
alanbjohnston 57d5b2f543
cycle debugging
7 years ago
alanbjohnston eedd8ac138
cycle fix
7 years ago
alanbjohnston 0538c5bebf
changed from cycle true false to ON/OFF
7 years ago
alanbjohnston e5dbe67546
fixed true/false
7 years ago
alanbjohnston 91932f58d1
fixed cycling error
7 years ago
alanbjohnston 86c2b124f0
typo
7 years ago
alanbjohnston 73c7c9d85d
added c parameter for cycle through modes, number parameter is now framCnt, recommended to be 3
7 years ago
alanbjohnston d7ee690066
starting with FSK
7 years ago
alanbjohnston e933ac7315
defaults to FSK, added afsk command line setting
7 years ago
alanbjohnston 926185ac80
Update main.c
7 years ago
alanbjohnston e26535aca3
Update main.c
7 years ago
alanbjohnston e568f2a925
added killall before AFSK
7 years ago
alanbjohnston 3d32dc0a67
fixed delays around AFSK mode
7 years ago
alanbjohnston a0f6f3a8c2
fixed AFSK looping
7 years ago
alanbjohnston 7c21ce36dc
Update main.c
7 years ago
alanbjohnston e5aa68cfeb
send 3 AFSK packets, shift frequency 3 Hz lower
7 years ago
alanbjohnston 4429dd66c9
fixed tlm_str and str errors
7 years ago
alanbjohnston f3748dffec
Update main.c
7 years ago
alanbjohnston 8ee7a590f3
fixed str typos
7 years ago
alanbjohnston f5d02d5269
added back rpitx afsk code
7 years ago
alanbjohnston 4fb1c99a1a
added socket_open = 0; after closing of socket
7 years ago
alanbjohnston 7f4b533b8f
Update main.c
7 years ago
alanbjohnston 1fb9fbe0b8
BPSK frame count to 3, added debugs
7 years ago
alanbjohnston 43c2f57033
turned on mode alternation
7 years ago
alanbjohnston 4de0c85706
more kill -9
7 years ago
alanbjohnston 80a48603d5
removed rpitxStatus reset on errors to try to figure out sendiq multiplication
7 years ago
alanbjohnston 6134164b02
fixed 0xa5
7 years ago
alanbjohnston c4e6e9ae6a
frameCnt back to 3.
7 years ago
alanbjohnston e1644a7fcb
cleared buffer with a5 instead of 0.
7 years ago
alanbjohnston 199a623fdc
try 2x send
7 years ago
alanbjohnston a7b4bb3896
plus 1 instead of round
7 years ago
alanbjohnston 34b849f332
fixed roundup
7 years ago
alanbjohnston c5931f609d
made float
7 years ago
alanbjohnston 9b6df1c3cd
changed send to only send half of buffer
7 years ago
alanbjohnston c99fdf508c
test 7 to see if it gives 3 frames
7 years ago
alanbjohnston d70748ebda
trying 10 frames
7 years ago
alanbjohnston ccb81a6c59
re-enabled flip_ctr in write_wave
7 years ago
alanbjohnston 38e075dfb3
3 with WAV
7 years ago
alanbjohnston 6f263247ac
adde back in WAV write
7 years ago
alanbjohnston ac798c7861
Update main.c
7 years ago
alanbjohnston 586dc4e3bc
6 frames
7 years ago
alanbjohnston 03034fedf0
and removed printf on write_wave
7 years ago
alanbjohnston 345e26ffc9
made nrd and rd global, set sample and parties back
7 years ago
alanbjohnston 6063b0127b
set parities to sequential number for troubleshooting
7 years ago
alanbjohnston a9e0756c31
changed samples=1 to make printf easier to see
7 years ago
alanbjohnston e79742f90c
added print_wave printf
7 years ago
alanbjohnston 5f3b63c18a
got rid of alt in buffer
7 years ago
alanbjohnston ace3bfccdb
back to 1 sync word. 2 didn't help
7 years ago
alanbjohnston 7f41f94ed7
back to 2 sync_words
7 years ago
alanbjohnston 7da2a69c37
took out for
7 years ago
alanbjohnston 82afa49db7
back to just 1 sync word
7 years ago
alanbjohnston abc0f07ccd
trying 2 sync words instead of just one.
7 years ago
alanbjohnston cf5ee6f726
frameCnt back to 3
7 years ago
alanbjohnston 12ac4be269
frameCnt = 1
7 years ago
alanbjohnston b9aeaa0a7e
frame count 6
7 years ago
alanbjohnston 8df09be064
got rid of one printf
7 years ago
alanbjohnston 725b14af1a
added printf at start of buffer loop
7 years ago
alanbjohnston 7d22bd68da
added more printfs to diagnose
7 years ago
alanbjohnston b52d5abfe0
added printfs for ctr1 and ctr3 to see how many bytes of data8 and data10 written
7 years ago
alanbjohnston 9eb0e7c16e
set frame count to 4
7 years ago
alanbjohnston a6dc543618
put in killall
7 years ago
alanbjohnston ee26fa813d
changing sent printf
7 years ago
alanbjohnston fa2eee922c
changed from i to ctr
7 years ago
alanbjohnston a25847ec54
changed send to i from buffSize
7 years ago
alanbjohnston d9f6cc0010
turned off alt, added printf i and buffSize
7 years ago
alanbjohnston aa627afcb4
added write_wave with buffer[alt]
7 years ago
alanbjohnston 6a61c876ab
back to alternating
7 years ago
alanbjohnston 404674e5c7
back to sleep(3)
7 years ago
alanbjohnston bc0b9514ab
changed sleep to 5
7 years ago
alanbjohnston 97668d75d8
added printf of sock send attempt
7 years ago
alanbjohnston 44de671d53
changed sleep(3) to 1.
7 years ago
alanbjohnston 2d49ce36fd
Update main.c
7 years ago
alanbjohnston 45bc295287
removed printfs
7 years ago
alanbjohnston 6eaa0ff6a7
inserted two sleeps
7 years ago
alanbjohnston e813ba537b
set rpitxStatus if socket lost
7 years ago
alanbjohnston f32c8d00a6
printf on open socket
7 years ago
alanbjohnston 6091c8be80
keep alt = 0, reopen socket on failure, print error in open
7 years ago
alanbjohnston 3a26bd7ee6
set frameCnt back to 3
7 years ago
alanbjohnston 94e1e68c2b
changed frameCnt to 1 to see if connection reset error goes away
7 years ago
alanbjohnston c52796f4a2
Update main.c
7 years ago
alanbjohnston 903fff053a
printf errono if an error in send
7 years ago
alanbjohnston f672b1921b
Update main.c
7 years ago
alanbjohnston f2bc637f1e
include <errno.h>
7 years ago
alanbjohnston 720f804053
added strerror(errno) for send()
7 years ago
alanbjohnston a4d6a7e571
added printf of return value of send()
7 years ago
alanbjohnston 8ae05e2511
fixed dim of buffer
7 years ago
alanbjohnston 07ad5ec59f
Update main.c
7 years ago
alanbjohnston f45bbc645b
made buffer a global
7 years ago
alanbjohnston 16a8aafcb6
print out max bufLen
7 years ago
alanbjohnston 0172a63445
Update main.c
7 years ago
alanbjohnston 6471317960
Update main.c
7 years ago
alanbjohnston bc4ead6f88
added alt to buffer which alternates between 0 and 1
7 years ago
alanbjohnston 3be637dae6
commented out changing mode
7 years ago
alanbjohnston 3482f3a298
printf get_tlm
7 years ago
alanbjohnston 5d4f0d5a08
pre increment mode
7 years ago
alanbjohnston 8eb069b1f8
added modulo printf
7 years ago
alanbjohnston e9cc3e187a
fixed divide by 0
7 years ago
alanbjohnston 2903c8dc05
moved mode settings into loop
7 years ago
alanbjohnston ec22b535d1
incrementing mode modulo 3
7 years ago
alanbjohnston 8f22a0c0a8
works for FSK and BPSK with two sleep(1)s
7 years ago
alanbjohnston 830771d17d
put back in 1 sleep(1)
7 years ago
alanbjohnston 59d66b92d3
added > /dev/null 2>&1 to fuser
7 years ago
alanbjohnston 6dfeda59a0
added > /dev/null 2>&1 to kill
7 years ago
alanbjohnston 87abd8aa70
removed most sleep(1)
7 years ago
alanbjohnston 7adeb180a9
Update main.c
7 years ago
alanbjohnston cdb8e1a216
added sleep(1) after popoens
7 years ago
alanbjohnston ecea1398ae
added sleep(1) after rpitx
7 years ago
alanbjohnston 04e2813782
Update main.c
7 years ago
alanbjohnston 1f28d94643
typos
7 years ago

Powered by TurnKey Linux.