mikaelnousiainen / RS41ng

Custom firmware for Vaisala RS41 and Graw DFM-17 radiosondes with support for amateur radio use. Ideal for tracking high-altitude balloons. Supported modes include APRS, Horus 4FSK mode, CATS, morse code (CW) and additional digital modes like WSPR and FT8 via Si5351.
GNU General Public License v2.0
109 stars 28 forks source link

HORUS and APRS with custom time schedule #52

Closed 9A4AM closed 10 months ago

9A4AM commented 10 months ago

Hi! I trying setup for two modes. HORUS and APRS with custom time schedule. APRS 300 seconds (5 minute) and HORUS 60 seconds (1 minute). I use APRS_TIME_SYNC_SECONDS 300 and HORUS_V2_TIME_SYNC_SECONDS 60 in Config.h, but APRS send packet every 300 seconds and HORUS send packet 60 seconds after APRS packet. If it possible set time for APRS send every 300 seconds and HORUS every 60 second, if yes, how?? Thanks in advance. Mario.

mikaelnousiainen commented 10 months ago

@9A4AM The time sync features are very primitive so the way you're configuring time sync leads to the behavior you describe -- it's all expected.

The way you can achieve what you want is to set BOTH APRS and HORUS_V2 time sync to 60 (seconds). This way all transmissions happen at the start of a minute. To repeat Horus 4 times (so every 5th will be APRS), you should set RADIO_SI4032_TX_HORUS_V2_COUNT to 4 and RADIO_SI4032_TX_APRS_COUNT to 1.

mikaelnousiainen commented 10 months ago

Closing, as this is not really an issue. Please indicate if this works for you @9A4AM

9A4AM commented 10 months ago

It's works, thanks.