feat: Implemented UDP Outbound Adif message, freq to pstrotator

This commit is contained in:
2026-07-05 18:17:30 +02:00
parent a8b3269b1e
commit 4f32012930
16 changed files with 704 additions and 123 deletions
@@ -24,7 +24,7 @@ type UDPConfig = {
direction: 'inbound' | 'outbound';
name: string;
port: number;
service_type: 'wsjt' | 'adif' | 'n1mm' | 'remote_call' | 'db_updated';
service_type: 'wsjt' | 'adif' | 'n1mm' | 'remote_call' | 'db_updated' | 'pstrotator_freq' | 'n1mm_radioinfo';
multicast: boolean;
multicast_group: string;
destination_ip: string;
@@ -77,6 +77,20 @@ const SERVICE_TYPES: Array<{
hint: 'udpp.svcDbHint',
defaults: { port: 2333, destination_ip: '127.0.0.1' },
},
{
id: 'pstrotator_freq',
direction: 'outbound',
label: 'udpp.svcPstLabel',
hint: 'udpp.svcPstHint',
defaults: { port: 12040, destination_ip: '127.0.0.1' },
},
{
id: 'n1mm_radioinfo',
direction: 'outbound',
label: 'udpp.svcN1mmRadioLabel',
hint: 'udpp.svcN1mmRadioHint',
defaults: { port: 12060, destination_ip: '127.0.0.1' },
},
];
type Props = { onError: (msg: string) => void };