Commit Graph

539 Commits (49740be11e041070aeed154337c8642cf95fb71f)

Author SHA1 Message Date
Alan Johnston f30dcd3c7d
Update main.c print loop time, no gps
1 year ago
Alan Johnston 914ca2b9b0
Update main.c missing ;
1 year ago
Alan Johnston de80c6724f
Merge pull request #322 from alanbjohnston/beta-dw
1 year ago
Alan Johnston e224c01bc9
Update main.c added echo broadcast to wall for shutdown and reboots
1 year ago
Alan Johnston 0c9da136a3
Update main.c removed last two prints
1 year ago
Alan Johnston fd5f4c86e9
Update main.c remove printfs
1 year ago
Alan Johnston 9bb40c77a6
Update main.c don't start command here
1 year ago
Alan Johnston f831bf1a29
Update main.c typo in command command
1 year ago
Alan Johnston af32be02ce
Update main.c typo cc_start
1 year ago
Alan Johnston 9270698d36
Update main.c start c&c here
1 year ago
Alan Johnston 606701a3d5
Update main.c changed %s to %d
2 years ago
Alan Johnston 445f782a25
Update main.c fixed writing of sim.cfg
2 years ago
Alan Johnston 89b08b9a4a
Update main.c extra )
2 years ago
Alan Johnston ab3abb67cf
Update main.c added rx_pl and tx_pl support
2 years ago
Alan Johnston 93349b1e91
Update main.c typo
2 years ago
Alan Johnston d7c9ba50f5
Update main.c set payload status based on results
2 years ago
Alan Johnston 89df053e03
Update main.c missing }
2 years ago
Alan Johnston 59b86674ea
Update main.c remove commented out code
2 years ago
Alan Johnston 2d3f86c07c
Update main.c added sim_config check so config overrides
2 years ago
Alan Johnston 8b5d5d796e
Update main.c revert replace all sim_mode
2 years ago
Alan Johnston 32275c8d6c
Update main.c exit sim_mode if battery voltage sensor present
2 years ago
Alan Johnston affb058599
Update main.c fix battery_saver setting
2 years ago
Alan Johnston 5731a50363
Update main.c moved safemode
2 years ago
Alan Johnston 9bde7ffe58
Update main.c add print for safe mode and set to 0
2 years ago
Alan Johnston 0275e3da03
Update main.c check safeMode at start
2 years ago
Alan Johnston 3b8ab093de
Update main.c add check for safe mode
2 years ago
Alan Johnston 04b5b9ca78
Update main.c don't say switch unless switching
2 years ago
Alan Johnston 018d50ff10
Update main.c fix cwready
2 years ago
Alan Johnston 6c1a55b851
Update main.c added missing variable
2 years ago
Alan Johnston acdc3897ff
Update main.c don't print in battery saver check
2 years ago
Alan Johnston ea4edac086
Update main.c cleanup
2 years ago
Alan Johnston 82cb05e3d9
Update main.c fix safe mode tyops
2 years ago
Alan Johnston 8d03cbec58
Update main.c more safe mode things
2 years ago
Alan Johnston 1f048206d6
Update main.c make battery saver Safe Mode
2 years ago
Alan Johnston 745fe341b5
Update main.c do full cw
2 years ago
Alan Johnston d3aff37453
Update main.c
2 years ago
Alan Johnston 82140095c2
Update main.c add pause before and after each channel
2 years ago
Alan Johnston 0f8293f236
Update main.c change to just touch cwready
2 years ago
Alan Johnston f9f142dad3
Update main.c add cw0.txt to cw6.txt
2 years ago
Alan Johnston 98b6136155
Update main.c start changes for CW
2 years ago
Alan Johnston d145816919
Update main.c fix humidity max min
2 years ago
Alan Johnston d87dfb8b76
Update main.c fixed DTEMP
2 years ago
Alan Johnston 422371af1c
Update main.c changed to SENSOR_FIELDS
2 years ago
Alan Johnston a86c733dd3
Update main.c fix change to 20
2 years ago
Alan Johnston de309e8891
Update main.c sensor to 22
2 years ago
Alan Johnston 600185c478
Update main.c increased sensor size to 20
2 years ago
Alan Johnston 40aa67cd80
Update main.c fixed typo
2 years ago
Alan Johnston de4b8fb738
Update main.c changed XS to GPS, added DTEMP
2 years ago
Alan Johnston 488b8d164d
Update main.c keep Pi Zero 2 threshold voltage the same
2 years ago
Alan Johnston aa9050d22d
Update main.c turn payload back on for BPSK
2 years ago
Alan Johnston 9bf105ee94
Update main.c change starting sleep to 1 sec from 2 sec
2 years ago
Alan Johnston 99f46ec929
Update main.c don't read payload in BPSK mode for testing
2 years ago
Alan Johnston a36e3cf447
Update main.c move payload code again
2 years ago
Alan Johnston 1977a31640
Update main.c moving stem payload sensor code
2 years ago
Alan Johnston 70e56dc42c
Update main.c move telem.txt write
2 years ago
Alan Johnston ba80f3413e
Update main.c
2 years ago
Alan Johnston 308ce06fa5
Update main.c added link to FoxTelem info
2 years ago
Alan Johnston 1c916bee0e
Update main.c flush serial before reading payload data
2 years ago
Alan Johnston 5e627339b5
comment out write to serial
2 years ago
Alan Johnston b0c5a8d91f
another test
2 years ago
Alan Johnston dba49e6b8d
another serial test.
2 years ago
Alan Johnston 1cfb919c7f
send string
2 years ago
Alan Johnston cba0718e2a
write voltage and current over serial to Pico
2 years ago
Alan Johnston 9f7ea10289
Update main.c version v1.3.2
2 years ago
Alan Johnston b96200aff0
Update main.c typo
2 years ago
Alan Johnston fc81909d9e
Update main.c don't show voltage and current in sstv if not sensor
2 years ago
Alan Johnston 5252970097
Update main.c read sensors in sim mode
2 years ago
Alan Johnston 0ea5b65980
Update main.c typo
2 years ago
Alan Johnston e5520abcdd
Update main.c simulated telem to APRS
2 years ago
Alan Johnston 56e655b9f7
Update main.c APRS always BAT telem
2 years ago
Alan Johnston 8581a490b0
Update main.c don't change config.txt
2 years ago
Alan Johnston 91a1e3b631
Update main.c fixed writing of sim.cfg
2 years ago
Alan Johnston 31ee958dc5
Update main.c added more printfs
2 years ago
Alan Johnston b69a78c8e2
Update main.c removed HAB macro
2 years ago
Alan Johnston bdb17d7625
Update main.c print sim mode
2 years ago
Alan Johnston 388aeee8cd
Update main.c added hab_yes and hab_mode
2 years ago
Alan Johnston af82f4e9ac
Update main.c command_count fix
2 years ago
Alan Johnston 701e1eee09
Merge branch 'beta-v1.3.1.1' into beta-v1.3.2-battery-saver-4
2 years ago
Alan Johnston c0d6d0d02b
Update main.c remove extra prints
2 years ago
Alan Johnston 3c81cdb236
Update main.c add extra APRS packet only for battery_saver_mode
2 years ago
Alan Johnston 87fbd64ef1
Update main.c add str2 but not used yet
2 years ago
Alan Johnston c69169d8ff
Update main.c try removing AMSAT-11 from APRS string
2 years ago
Alan Johnston b8d328ec1d
Update main.c add back in auto shutdown
2 years ago
Alan Johnston 88ecd3f2f6
Update main.c fix battery saver turn off
2 years ago
Alan Johnston 5361a5b93d
Update main.c print battery status mode ON or OFF
2 years ago
Alan Johnston f89b6c412a
Update main.c add battery prints
2 years ago
Alan Johnston 86dd8f86b0
Update main.c switch battery_saver_check() outputs
2 years ago
Alan Johnston 99d505f1cf
Update main.c fix sed for battery on
2 years ago
Alan Johnston 38926b7b4f
Update main.c cleanup
2 years ago
Alan Johnston 84d388bcfd
Update main.c don't close if open fails
2 years ago
Alan Johnston 889d532f27
Update main.c paste battery_saver_check code
2 years ago
Alan Johnston be72b99c8b
Update main.c add !
2 years ago
Alan Johnston 1ba77180f2
Update main.c only if battery_saver_mode changes execute
2 years ago
Alan Johnston 34b176ec30
Update main.c added battery_saver_mode
2 years ago
Alan Johnston 544b2c87e3
Update main.c add print
2 years ago
Alan Johnston 8125c9a13d
Update main.c fixed *
2 years ago
Alan Johnston 8576430d6d
Update main.c fixes to quotes
2 years ago
Alan Johnston 061921a4c1
Update main.c added to battery saver change mode
2 years ago
Alan Johnston 8b17d6c2ff
Update main.c removed stray off
2 years ago
Alan Johnston 422cb1e3a9
Update main.c added stderr to printfs
2 years ago
Alan Johnston 4d662427a8
Update main.c conditional test
2 years ago
Alan Johnston b2a881db97
Update main.c print conditional
2 years ago
Alan Johnston 0f2c2928f4
Update main.c fix conditional
2 years ago
Alan Johnston 326b57db66
Update main.c print battery_saver_chack()
2 years ago
Alan Johnston dfed6fccbc
Update main.c do nothing
2 years ago
Alan Johnston d7ccb1694a
Update main.c battery_saver(ON) do nothing
2 years ago
Alan Johnston 697c3c1421
Update main.c no sudo
2 years ago
Alan Johnston 1d5c4ca595
Update main.c added int battery_saver_check()
2 years ago
Alan Johnston c826869a53
Update main.c typo in HAB mode
2 years ago
Alan Johnston a8c760d85f
Update main.c (void) battery_saver
2 years ago
Alan Johnston 5f39728cb3
Update main.c typo file
2 years ago
Alan Johnston 76f300541f
Update main.c add battery_saver function
2 years ago
Alan Johnston 0fbbac2e5c
Update main.c added extra echo
2 years ago
Alan Johnston ecb01928c8
Update main.c disable program radio - do in rpitx.py instead
2 years ago
Alan Johnston 7ed88f9775
Update main.c swapped rx and tx
2 years ago
Alan Johnston b95b42c7ee
Update main.c move wiring pi setup
2 years ago
Alan Johnston b8d4f5ea49
Update main.c back to normal programradio
2 years ago
Alan Johnston cff2f123eb
Update main.c move program_radio back to start
2 years ago
Alan Johnston c52d0f9666
Update main.c basic program_radio
2 years ago
Alan Johnston 4fdda4c1c3
Update main.c move program_radio()
2 years ago
Alan Johnston 625d740308
Update main.c print tx and rx
2 years ago
Alan Johnston 19a0745b8a
Update main.c set FM to tx and rx
2 years ago
Alan Johnston 4921e95cba
Update main.c adding tx rx frequencies
2 years ago
Alan Johnston 0951067e29
Update main.c change back to 434.9
2 years ago
Alan Johnston 25582c8f7f
Update main.c added &
2 years ago
Alan Johnston 4b4dcb9edf
Update main.c handling telem_string error
2 years ago
Alan Johnston 840c1fd870
Update main.c config radio using squelch
2 years ago
Alan Johnston 6ba9235c9b
Update main.c typo
2 years ago
Alan Johnston a52308ab48
Update main.c added squelch to sim.cfg
2 years ago
Alan Johnston 0dbcc9175e
Update main.c fix typo for HAB mode
2 years ago
Alan Johnston 3bf637b20b
Update main.c change Pi Zero 2 test
2 years ago
Alan Johnston de938ef64a
Update main.c testing Pi Zero 2
2 years ago
Alan Johnston d38420d1a0
Update main.c add bat string to telem.txt
2 years ago
Alan Johnston abe4d9a917
Update main.c check Pi 2 detection
2 years ago
Alan Johnston 10cf3618d4
Merge pull request #280 from alanbjohnston/beta-v1.3.1-delay
2 years ago
Alan Johnston 1379ddd163
Update main.c don't delete ready or cwready
2 years ago
Alan Johnston 6cb977104f
Update main.c fix typo
2 years ago
Alan Johnston 077137e471
Update main.c just restart rpitx, don't stop
2 years ago
Alan Johnston 9798246004
Update main.c stop rpitx then start it again
2 years ago
Alan Johnston 067f0ce01f
Update main.c remove all serial writes to Pico
2 years ago
Alan Johnston 6e3e580cc3
Update main.c change freq back to 434.9
2 years ago
Alan Johnston f0a4263485
Update main.c change to 434.99
2 years ago
Alan Johnston 3ca2a02cae
Update main.c add back in restart rpitx
2 years ago
Alan Johnston 87340406ec
Update main.c change to BAT with current in sstv telem
2 years ago
Alan Johnston 43ec669276
Update main.c don't restart rpitx
2 years ago
Alan Johnston 50f7d587ea
Update main.c remove APRS_VHF
2 years ago
Alan Johnston 2ef51d3962
Update main.c added \n
2 years ago
Alan Johnston 3cd1316491
Update main.c moved wiringPisetup
2 years ago
Alan Johnston 5343890903
Update main.c integer sleep, close serial
2 years ago
Alan Johnston 30332940bd
Update main.c freq to standard 434.9 and 435
2 years ago
Alan Johnston 746f098795
Update main.c add program_radio at start
2 years ago
Alan Johnston e8c50e1afa
Update main.c changed to strings
2 years ago
Alan Johnston fd8b0ad67e
Update main.c changed to serialPrintf
2 years ago
Alan Johnston 5fec9b9597
Update main.c add program_radio
2 years ago
Alan Johnston 1956a15f01
Update main.c with HAB mode log entry
2 years ago
Alan Johnston 7c77642b02
Update main.c comment out HAB
2 years ago
Alan Johnston ea44f58851
Update main.c only do BAT if HAB
2 years ago
Alan Johnston 1bf294e618
Update main.c fixed battery current
2 years ago
Alan Johnston 30a059ce3c
Update main.c add BAT to APRS
2 years ago
Alan Johnston 4aaa0703b0
Update main.c don't shutdown if HAB mode
2 years ago
Alan Johnston 0c21444658
Update main.c fix low battery shutdown
2 years ago
Alan Johnston 2ee41d4ef4
Update main.c fixed V and I batt
2 years ago
Alan Johnston bbda07ef39
Update main.c fix V and mA
2 years ago
Alan Johnston 3c03fa8008
Update main.c APRS add battery voltage and current only
2 years ago
Alan Johnston f61f9556e7
Update main.c defined HAB
2 years ago
Alan Johnston 2a49666613
Update main.c to use leading zeros for latitude in aprs
2 years ago
Alan Johnston a7b5dda717
Update main.c re-enable sim_mode based on I2C bus 3 state
2 years ago
Alan Johnston 0f94db0965
Update main.c wait 80 seconds on shutdown to save log
2 years ago
Alan Johnston dd7ad534d8
Update main.c typo
2 years ago
Alan Johnston 8875bf83d7
Update main.c to add RX Antenna deployment
2 years ago
Alan Johnston 7e9239be85
make aprs icon satellite
2 years ago
Alan Johnston 7b7e332a40
add ifdef HAB for aprs icon
2 years ago
Alan Johnston 378676698e
change balloon aprs icon to satellite
2 years ago
Alan Johnston 634afe5b21
typos
2 years ago
Alan Johnston 2ea7397976
fixed atoi and printf
2 years ago
Alan Johnston 1d2fc13806
add command_count.txt read
2 years ago
Alan Johnston ee47b1eade
add log entry
2 years ago
Alan Johnston ea9e1535bb
missing ;
2 years ago
Alan Johnston 2a238fdf84
add write of Batt voltage string to telem_string.txt
2 years ago
Alan Johnston 868e47f549
include telem string in APRS again
2 years ago
Alan Johnston 369fc9297f
Update main.c to version v1.3b
2 years ago
Alan Johnston 53057955ee
only sim mode with setting not bus 3
2 years ago
alanbjohnston 5a16fb1ed9
remove Str so far, fix length printf
3 years ago
alanbjohnston 6732296de1
recopy buffer2 into sensor_payload
3 years ago
alanbjohnston b6b34978cc
revert one commit
3 years ago
alanbjohnston 61f019f4d3
copy buffer2 again into sensor_payload, don't test at start
3 years ago
alanbjohnston 5174a0d934
prints
3 years ago
alanbjohnston 8803ae5641
turn off debug
3 years ago
alanbjohnston 35357354e3
wrong }
3 years ago
alanbjohnston 1c8575511b
missed }
3 years ago
alanbjohnston 28a23c42d6
only read payload once, no debug
3 years ago
alanbjohnston ebc4924c5e
copy to payload
3 years ago
alanbjohnston 27e322a818
change print
3 years ago
alanbjohnston 2526cc77b7
fixed prints
3 years ago
alanbjohnston a791f1fe7f
more prints
3 years ago
alanbjohnston b4596fd521
fprintf
3 years ago
alanbjohnston 26c8f271a1
add prints and finish = true
3 years ago
alanbjohnston 3b0c2badf8
extra {
3 years ago
alanbjohnston d6a466050a
missing )
3 years ago
alanbjohnston b8b2b93ea4
run it
3 years ago
alanbjohnston 220bcb1f7d
Update main.c
3 years ago
alanbjohnston 04faffc179
Update main.c
3 years ago
alanbjohnston 8dd9e45163
remove byte
3 years ago
alanbjohnston ae33a750e7
remove more
3 years ago
alanbjohnston dd8a30ac72
bool to int, true to TRUE
3 years ago
alanbjohnston 3d445a2ce1
add get_payload_serial
3 years ago
alanbjohnston aaf620353e
print extra sleep in log
3 years ago
alanbjohnston 4571c4fab9
add 5 seconds of random sleep
3 years ago
alanbjohnston a6ac1993e1
back to .05
3 years ago
alanbjohnston 7e8c72a7c3
make sure gps lat lon is different
3 years ago
alanbjohnston f6c3267449
.02 / 100 instead
3 years ago
alanbjohnston dab337bd5c
divide by 1000
3 years ago
alanbjohnston ad69b44347
random 2 digit divide by 100
3 years ago
alanbjohnston ad74215404
print in aprs format
3 years ago
alanbjohnston d769bd15b5
try .005
3 years ago
alanbjohnston 5eaedc748f
lat lon random .0005
3 years ago
alanbjohnston 58b32d23fb
fix default and recalled lat lon
3 years ago
alanbjohnston 7a629c900c
convert to aprs at end, update random every minute
3 years ago
alanbjohnston e995d7ce42
Update main.c
3 years ago
alanbjohnston 80e53bb812
moved FILE
3 years ago
alanbjohnston 6da665d387
add telem file write
3 years ago
alanbjohnston 2c2411e6f9
typos
3 years ago
alanbjohnston 636d59fbd8
add random change to lat, lon if not updated
3 years ago
alanbjohnston a8f3556cab
don't update if lat lon is 0
3 years ago
alanbjohnston 156df62f98
don't query payload with ?
3 years ago
alanbjohnston fd1f3aa14d
check range of lat and lon
3 years ago
alanbjohnston 6dcfd9cd08
if sensor[XS1] and XS2 present, update lat, non
3 years ago
alanbjohnston a517a9e6ee
balloon icon for aprs
3 years ago
alanbjohnston 14678e628f
don't sent telem in APRS
3 years ago
alanbjohnston f3cc941ec8
sleep for 25 sec
3 years ago
alanbjohnston cfcdee833d
remove extra packet and sleep for 5 sec extra
3 years ago
alanbjohnston 087ab26a1f
remove pd and ptt control from main
3 years ago
alanbjohnston a9a2e7d737
revert last two commits
3 years ago
alanbjohnston 3c122ddb39
added sleep 25 for AFSK and CW mode
3 years ago
alanbjohnston ed9a13e57e
remove extra APRS packet
3 years ago
alanbjohnston ad2ac5f2fa
add PD and PTT settings for SR_FRS in SSTV mode
3 years ago
alanbjohnston 8955b1d27f
Rename main.c.bk to main.c
4 years ago
alanbjohnston e994d7afbb
Rename main.c to main.c.bk
4 years ago
alanbjohnston 24f05c7a7f
version 1.2
4 years ago
alanbjohnston f44a1a21e6
check for null in response for no Pi Zero 2
4 years ago
alanbjohnston 25beaa2d7b
added printf
4 years ago
alanbjohnston df86c76fdd
test first char
4 years ago
alanbjohnston 5c13f624d2
strlen
4 years ago
alanbjohnston 15c3ee8aa1
sizeof
4 years ago
alanbjohnston 149542a222
typo
4 years ago
alanbjohnston 88041efa1a
added conditional for sleep and change of threshold
4 years ago
alanbjohnston bde5043cd5
typo
4 years ago
alanbjohnston 9136ef93cd
added declarations
4 years ago
alanbjohnston aa78a0fdbb
added Pi Zero 2 test
4 years ago
alanbjohnston 19c9f45432
added sleep at start during boot to delay battery read
4 years ago
alanbjohnston a74f195e33
Merge pull request #139 from alanbjohnston/bullseye-stem
4 years ago
alanbjohnston 1526b17e0d
added v1.1 printf to log
4 years ago
alanbjohnston feeea11783
query STEM payload even in simulated telem mode
4 years ago
alanbjohnston c58543c7b6
delete ready and cwready at start in case there is a problem with these files
5 years ago
alanbjohnston 036bc3ba73
also delete the camera wav file
5 years ago
alanbjohnston 85bce8d042
fixed ssid typo
5 years ago
alanbjohnston 75fa9fcf57
added -11 for ax5043
5 years ago
alanbjohnston f3b72d9500
fixed bug with i2c_bus variable
5 years ago
alanbjohnston 352415cd70
added check for VHF BPF, with log that not supported yet so no transmit
5 years ago
alanbjohnston 0ccac768c2
removed extra sleep(2)
5 years ago
alanbjohnston 31995f0a08
add stop before rpitx restart
5 years ago
alanbjohnston f57fcb140f
try 2 second i2c bus test
5 years ago
alanbjohnston 1414d7b7da
moved I2C bus tests to the start, removed duplicate bus test
5 years ago
alanbjohnston 17bac9eb88
added SSID -11 for APRS
5 years ago
alanbjohnston 2b1d2c3e8f
fixed sim mode temp
5 years ago
alanbjohnston f3ed9bcce0
fixed sim_mode cpuTemp
5 years ago
alanbjohnston 55629b58df
restart rpitx at the start
5 years ago
alanbjohnston 874ae4830e
2 second wait to reopen socket
5 years ago
alanbjohnston 481a1fee94
try opening socket twice
5 years ago
alanbjohnston 2f6565fe5d
removed printfs
5 years ago
alanbjohnston 092a036992
print voltage and current
5 years ago
alanbjohnston f9ea248199
only test for ax5043 if AFSK mode
5 years ago
alanbjohnston df2f7558df
fixed ax5043 header
5 years ago
alanbjohnston 7b4064d47e
changes to improve sim_mode performance
5 years ago
alanbjohnston 48fb347b50
don't fill buffer if sim_mode
5 years ago
alanbjohnston 8bacbb9215
commented out last of TelemEncoding.h
5 years ago
alanbjohnston 23bf1b6dd7
code cleanup
5 years ago
alanbjohnston a2962c1483
changed to main.h
5 years ago
alanbjohnston 6f5ce7da96
quotes around cubesatsim.h
5 years ago
alanbjohnston 2786f99c67
moved to cubesatsim.h
5 years ago
alanbjohnston d9998aac0d
added int Encode_8b10b[][]
5 years ago
alanbjohnston 0f5332d5b9
remove TelemEncoding.h
5 years ago
alanbjohnston 8bdd7bfd61
added declarations of update_rs and write_little_endian
5 years ago
alanbjohnston 939f3c7075
commented out TelemEncoding.c code
5 years ago
alanbjohnston f92bacb1f1
changed afsk/TelemEncoding.h
5 years ago
alanbjohnston 08c0bb48f7
ax5043 for spi
5 years ago
alanbjohnston d991b5e786
added afsk for spi
5 years ago
Alan Johnston 61d0b44115 updated .h file paths
5 years ago
Alan Johnston 6c314b9efa moved afsk/main.c to main.c
5 years ago

Powered by TurnKey Linux.