From 7b68c867fc132b52ed7c1764c06b8e147ec04ef7 Mon Sep 17 00:00:00 2001 From: Serge Vakulenko Date: Fri, 21 Sep 2018 00:36:26 -0700 Subject: [PATCH] RD-5R: fix underscores in text fields. Update configuration for south bay area. --- examples/rd5r-south-bay-area.conf | 363 ++++++++++++++++++ examples/south-bay-area-rd5r.conf | 338 ---------------- ...ay-area.conf => uv380-south-bay-area.conf} | 1 + rd5r.c | 23 +- util.c | 1 + 5 files changed, 374 insertions(+), 352 deletions(-) create mode 100644 examples/rd5r-south-bay-area.conf delete mode 100644 examples/south-bay-area-rd5r.conf rename examples/{south-bay-area.conf => uv380-south-bay-area.conf} (99%) diff --git a/examples/rd5r-south-bay-area.conf b/examples/rd5r-south-bay-area.conf new file mode 100644 index 0000000..ebe0f27 --- /dev/null +++ b/examples/rd5r-south-bay-area.conf @@ -0,0 +1,363 @@ +# +# Generic DMR configuration for South Bay Area. +# +# Schedules (PDT): +# Monday 8-10 pm: PAPA DMR Roundtable, California (3106/TS1) +# Tuesday 8-9 pm: SNARS DMR Net (31328/TS1) +# Wednesday 5:30-6:30 pm: Texas Statewide Net (3148/TS1) +# Thursday 7-7:30 pm: NorCal DMR Net (31068/TS2) +# Thursday 8-10 pm: PAPA Tech Roundtable, XRF012A, analog&D-STAR (31078/TS1) +# Saturday 9-11 am: Worldwide Net (91/TS1) +# +Radio: Baofeng RD-5R + +# Table of digital channels. +# 1) Channel number: 1-1000 +# 2) Name: up to 16 characters, use '_' instead of space +# 3) Receive frequency in MHz +# 4) Transmit frequency or +/- offset in MHz +# 5) Transmit power: High, Low +# 6) Scan list: - or index in Scanlist table +# 7) Autoscan flag: -, + +# 8) Transmit timeout timer in seconds: 0, 15, 30, 45... 555 +# 9) Receive only: -, + +# 10) Admit criteria: -, Free, Color +# 11) Color code: 1, 2, 3... 15 +# 12) Time slot: 1 or 2 +# 13) In call criteria: -, Admit, TXInt +# 14) Receive group list: - or index in Grouplist table +# 15) Contact for transmit: - or index in Contacts table +# +Digital Name Receive Transmit Power Scan TOT RO Admit Color Slot RxGL TxContact + +# (1) W6TCP, Milpitas, NorCal + 1 Mi_California 440.125 +5 High - 180 - Free 3 1 3 6 # 3106 California Static + 2 Mi_TAC_310 440.125 +5 High - 180 - Free 3 1 3 5 # 310 TAC 310 Dynamic + 3 Mi_Bay-Net 440.125 +5 High - 180 - Free 3 1 3 13 # 31075 Bay-Net Dynamic + 4 Mi_World 440.125 +5 High - 180 - Free 3 1 3 3 # 91 Worldwide Dynamic + 5 Mi_NorCal 440.125 +5 High - 180 - Free 3 2 3 11 # 31068 NorCal Static + 6 Mi_Anarchy 440.125 +5 High - 180 - Free 3 2 3 18 # 31666 DMR of Anarchy Static + 7 Mi_NC_5150 440.125 +5 High - 180 - Free 3 2 3 19 # 95150 NorCal 5150 Static + 8 Mi_Parrot 440.125 +5 High - 180 - Free 3 2 3 24 # 9990 Parrot Private + +# (2) N6AMG, San Bruno, Baycom + 11 Br_North_America 440.500 +5 High - 180 - Free 1 1 3 4 # 93 North America Static + 12 Br_California 440.500 +5 High - 180 - Free 1 1 3 6 # 3106 California Static + 13 Br_NC_AllStr 440.500 +5 High - 180 - Free 1 1 3 10 # 31065 NorCal AllStar Static + 14 Br_Bay-Net 440.500 +5 High - 180 - Free 1 1 3 13 # 31075 Bay-Net Static + 15 Br_USA_Area6 440.500 +5 High - 180 - Free 1 1 3 15 # 31096 USA Area 6 Static + 16 Br_TAC_310 440.500 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 17 Br_World 440.500 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 18 Br_Baycom 440.500 +5 High - 180 - Free 1 2 3 20 # 97150 Baycom Static + 19 Br_NorCal 440.500 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Dynamic + 20 Br_Anarchy 440.500 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 21 Br_NC_5150 440.500 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 22 Br_Parrot 440.500 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (3) WB6ECE, Boulder Creek, Baycom + 31 Bo_North_America 440.5875 +5 High - 180 - Free 2 1 3 4 # 93 North America Static + 32 Bo_California 440.5875 +5 High - 180 - Free 2 1 3 6 # 3106 California Static + 33 Bo_Santa_Clara 440.5875 +5 High - 180 - Free 2 1 3 9 # 31064 Santa Clara County Static + 34 Bo_NC_AllStr 440.5875 +5 High - 180 - Free 2 1 3 10 # 31065 NorCal AllStar Static + 35 Bo_Bay-Net 440.5875 +5 High - 180 - Free 2 1 3 13 # 31075 Bay-Net Static + 36 Bo_USA_Area6 440.5875 +5 High - 180 - Free 2 1 3 15 # 31096 USA Area 6 Static + 37 Bo_TAC_310 440.5875 +5 High - 180 - Free 2 1 3 5 # 310 TAC 310 Dynamic + 38 Bo_World 440.5875 +5 High - 180 - Free 2 1 3 3 # 91 Worldwide Dynamic + 39 Bo_Baycom 440.5875 +5 High - 180 - Free 2 2 3 20 # 97150 Baycom Static + 40 Bo_NorCal 440.5875 +5 High - 180 - Free 2 2 3 11 # 31068 NorCal Dynamic + 41 Bo_Anarchy 440.5875 +5 High - 180 - Free 2 2 3 18 # 31666 DMR of Anarchy Dynamic + 42 Bo_NC_5150 440.5875 +5 High - 180 - Free 2 2 3 19 # 95150 NorCal 5150 Dynamic + 43 Bo_Parrot 440.5875 +5 High - 180 - Free 2 2 3 24 # 9990 Parrot Private + +# (4) K6OTR, Palo Alto, Baycom + 51 PA_North_America 441.850 +5 High - 180 - Free 1 1 3 4 # 93 North America Static + 52 PA_California 441.850 +5 High - 180 - Free 1 1 3 6 # 3106 California Static + 53 PA_NC_AllStr 441.850 +5 High - 180 - Free 1 1 3 10 # 31065 NorCal AllStar Static + 54 PA_Bay-Net 441.850 +5 High - 180 - Free 1 1 3 13 # 31075 Bay-Net Static + 55 PA_USA_Area6 441.850 +5 High - 180 - Free 1 1 3 15 # 31096 USA - Area 6 4646 Static + 56 PA_TAC_310 441.850 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 57 PA_World 441.850 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 58 PA_Baycom 441.850 +5 High - 180 - Free 1 2 3 20 # 97150 Baycom Static + 59 PA_NorCal 441.850 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Dynamic + 60 PA_Anarchy 441.850 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 61 PA_NC_5150 441.850 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 62 PA_Parrot 441.850 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (5) KK6USZ, Saratoga + 71 Sa_Nebraska 441.950 +5 High - 180 - Free 1 1 3 7 # 3131 Nebraska Static + 72 Sa_World 441.950 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 73 Sa_California 441.950 +5 High - 180 - Free 1 1 3 6 # 3106 California Dynamic + 74 Sa_Texas 441.950 +5 High - 180 - Free 1 1 3 8 # 3148 Texas Dynamic + 75 Sa_PAPA 441.950 +5 High - 180 - Free 1 1 3 14 # 31078 XLX013D PAPA Dynamic + 76 Sa_TAC_310 441.950 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 77 Sa_Santa_Clara 441.950 +5 High - 180 - Free 1 2 3 9 # 31064 Santa Clara County Static + 78 Sa_NorCal 441.950 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Static + 79 Sa_Bay-Net 441.950 +5 High - 180 - Free 1 2 3 13 # 31075 Bay-Net Static + 80 Sa_Baycom 441.950 +5 High - 180 - Free 1 2 3 20 # 97150 Baycom Static + 81 Sa_Clst_KK6USZ 441.950 +5 High - 180 - Free 1 2 3 21 # 110670 Cluster KK6USZ Static + 82 Sa_Anarchy 441.950 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 83 Sa_NC_5150 441.950 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 84 Sa_Parrot 441.950 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (6) WA6YCZ, Mt Umunhum, Baycom + 91 Um_North_America 442.5375 +5 High - 180 - Free 1 1 3 4 # 93 North America Static + 92 Um_California 442.5375 +5 High - 180 - Free 1 1 3 6 # 3106 California Static + 93 Um_Santa_Clara 442.5375 +5 High - 180 - Free 1 1 3 9 # 31064 Santa Clara County Static + 94 Um_NC_AllStr 442.5375 +5 High - 180 - Free 1 1 3 10 # 31065 NorCal AllStar Static + 95 Um_Bay-Net 442.5375 +5 High - 180 - Free 1 1 3 13 # 31075 Bay-Net Static + 96 Um_USA_Area6 442.5375 +5 High - 180 - Free 1 1 3 15 # 31096 USA Area 6 Static + 97 Um_TAC_310 442.5375 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 98 Um_World 442.5375 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 99 Um_Baycom 442.5375 +5 High - 180 - Free 1 2 3 20 # 97150 Baycom Static + 100 Um_NorCal 442.5375 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Dynamic + 101 Um_Anarchy 442.5375 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 102 Um_NC_5150 442.5375 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 103 Um_Parrot 442.5375 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (7) K6LNK, Berkeley, NorCal, Carla + 101 Be_California 443.500 +5 High - 180 - Free 1 1 3 6 # 3106 California Static + 102 Be_KPARN 443.500 +5 High - 180 - Free 1 1 3 12 # 31072 KPARN Static + 103 Be_SNARS 443.500 +5 High - 180 - Free 1 1 3 16 # 31328 SNARS (Reno/Tahoe) Static + 104 Be_SNARS_2 443.500 +5 High - 180 - Free 1 1 3 17 # 31329 SNARS 2 Static + 105 Be_Clst_K6LNK 443.500 +5 High - 180 - Free 1 1 3 2 # 23 Cluster K6LNK Static + 106 Be_TAC_310 443.500 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 107 Be_Bay-Net 443.500 +5 High - 180 - Free 1 1 3 13 # 31075 Bay-Net Dynamic + 108 Be_World 443.500 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 109 Be_NorCal 443.500 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Static + 110 Be_CARLA 443.500 +5 High - 180 - Free 1 2 3 22 # 310604 CARLA Static + 111 Be_Tri-LERT 443.500 +5 High - 180 - Free 1 2 3 23 # 310703 Tri-LERT Static + 112 Be_Clst_CARLA 443.500 +5 High - 180 - Free 1 2 3 1 # 21 Cluster CARLA Static + 113 Be_Anarchy 443.500 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 114 Be_NC_5150 443.500 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 115 Be_Parrot 443.500 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (8) K6HLE, Loma Prieta, NorCal, AREA + 121 Lo_North_America 444.025 +5 High - 180 - Free 1 1 3 4 # 93 North America Static + 122 Lo_California 444.025 +5 High - 180 - Free 1 1 3 6 # 3106 California Static + 123 Lo_USA_Area_6 444.025 +5 High - 180 - Free 1 1 3 15 # 31096 USA - Area 6 4646 Static + 124 Lo_TAC_310 444.025 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 125 Lo_Bay-Net 444.025 +5 High - 180 - Free 1 1 3 13 # 31075 Bay-Net Dynamic + 126 Lo_World 444.025 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 127 Lo_NorCal 444.025 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Static + 128 Lo_Anarchy 444.025 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 129 Lo_NC_5150 444.025 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 130 Lo_Parrot 444.025 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (9) WW6BAY, Palo Alto, Bay-Net + 141 Bay_Santa_Clara 444.350 +5 High - 180 - Free 1 1 3 9 # 31064 Santa Clara County Static + 142 Bay_TAC_310 444.350 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 143 Bay_World 444.350 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 144 Bay_Bay-Net 444.350 +5 High - 180 - Free 1 2 3 13 # 31075 Bay-Net Static + 145 Bay_NorCal 444.350 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Dynamic + 146 Bay_Anarchy 444.350 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 147 Bay_NC_5150 444.350 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 148 Bay_Parrot 444.350 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# (10) W6OTX, Alum Rock, NorCal, PAARA + 151 Al_California 444.475 +5 High - 180 - Free 1 1 3 6 # 3106 California Static + 152 Al_TAC_310 444.475 +5 High - 180 - Free 1 1 3 5 # 310 TAC 310 Dynamic + 153 Al_Bay-Net 444.475 +5 High - 180 - Free 1 1 3 13 # 31075 Bay-Net Dynamic + 154 Al_World 444.475 +5 High - 180 - Free 1 1 3 3 # 91 Worldwide Dynamic + 155 Al_NorCal 444.475 +5 High - 180 - Free 1 2 3 11 # 31068 NorCal Static + 156 Al_Anarchy 444.475 +5 High - 180 - Free 1 2 3 18 # 31666 DMR of Anarchy Dynamic + 157 Al_NC_5150 444.475 +5 High - 180 - Free 1 2 3 19 # 95150 NorCal 5150 Dynamic + 158 Al_Parrot 444.475 +5 High - 180 - Free 1 2 3 24 # 9990 Parrot Private + +# Table of analog channels. +# 1) Channel number: 1-1024 +# 2) Name: up to 16 characters, use '_' instead of space +# 3) Receive frequency in MHz +# 4) Transmit frequency or +/- offset in MHz +# 5) Transmit power: High, Low +# 6) Scan list: - or index +# 7) Transmit timeout timer in seconds: 0, 15, 30, 45... 555 +# 8) Receive only: -, + +# 9) Admit criteria: -, Free, Tone +# 10) Squelch level: Normal, Tight +# 11) Guard tone for receive, or '-' to disable +# 12) Guard tone for transmit, or '-' to disable +# 13) Bandwidth in kHz: 12.5, 20, 25 +# +Analog Name Receive Transmit Power Scan TOT RO Admit Squelch RxTone TxTone Width + +# VHF Band 144-148 + 201 Palo_Alto_N6NFI 145.230 -0.6 High 1 180 - Free 1 - 100.0 25 + 202 Milpitas_W6MLP 145.430 -0.6 High 1 180 - Free 1 - 85.4 25 + 203 Saratoga_K6SA 146.655 -0.6 High 1 180 - Free 1 - 114.8 25 + 204 Newark_N6MM 146.670 -0.6 High 1 180 - Free 1 - 110.9 25 + 205 Mill_Vally_K6GWE 146.700 -0.6 High 1 180 - Free 1 - 179.9 25 + 206 San_Jose_K6INC 146.820 -0.6 High 1 180 - Free 1 - 123.0 25 + 207 Orinda_K6LNK 146.850 -0.6 High 1 180 - Free 1 - 103.5 25 + 208 Pleasanton_W6SRR 147.045 +0.6 High 1 180 - Free 1 - 94.8 25 + 209 Concord_W6CX 147.060 +0.6 High 1 180 - Free 1 - 100.0 25 + 210 Napa_W6CO 147.180 +0.6 High 1 180 - Free 1 - 91.5 25 + 211 Morgan_Hil_K7DAA 147.330 +0.6 High 1 180 - Free 1 - 103.5 25 + 212 Los_Gatos_AB6LI 147.945 -0.6 High 1 180 - Free 1 - 156.7 25 + +# UHF Band 440-446 + 301 San_Jose_W6YOP 440.275 +5 High 1 180 - Free 1 - 127.3 25 + 302 Woodside_N6ZX 440.450 +5 High 1 180 - Free 1 - 107.2 25 + 303 Campbell_NO1PC 441.025 +5 High 1 180 - Free 1 - 110.9 25 + 304 Los_Gatos_K6UB 441.700 +5 High 1 180 - Free 1 - 127.3 25 + 305 San_Jose_WB6ZVW 442.500 +5 High 1 180 - Free 1 - 100.0 25 + 306 San_Jose_WR6ABD 442.900 +5 High 1 180 - Free 1 - 162.2 25 + 307 Morgan_Hil_K7DAA 442.975 +5 High 1 180 - Free 1 - 100.0 25 + 308 Orinda_N6QOP 443.050 +5 High 1 180 - Free 1 - 114.8 25 + 309 San_Jose_K6LNK 443.075 +5 High 1 180 - Free 1 - 123.0 25 + 310 Palo_Alto_WW6BAY 443.225 +5 High 1 180 - Free 1 - 100.0 25 + 311 San_Jose_KE6STH 443.575 +5 High 1 180 - Free 1 - 110.9 25 + 312 Oakland_WW6BAY 443.975 +5 High 1 180 - Free 1 - 100.0 25 + 313 San_Jose_K6GOD 444.725 +5 High 1 180 - Free 1 - 162.2 25 + 314 Los_Gatos_WB6KHP 444.975 +5 High 1 180 - Free 1 - 127.3 25 + +# Simplex frequencies + 401 S_446.0 446.000 +0 High 2 180 - Free 1 - - 25 + 402 S_446.5 446.500 +0 High 2 180 - Free 1 - - 25 + 403 S_441.0 441.000 +0 High 2 180 - Free 1 - - 25 + 404 S_146.52 146.520 +0 High 2 180 - Free 1 - - 25 + 405 S_146.46 146.460 +0 High 2 180 - Free 1 - - 25 + 406 S_147.42 147.420 +0 High 2 180 - Free 1 - - 25 + 407 WX_1 162.450 +0 Low - 180 + Free 1 - - 25 + 408 WX_5 162.550 +0 Low - 180 + Free 1 - - 25 + +# FRS/GMRS Band + 501 GMRS-1 462.5625 +0 High 3 300 - Free 1 - - 25 + 502 GMRS-2 462.5875 +0 High 3 300 - Free 1 - - 25 + 503 GMRS-3 462.6125 +0 High 3 300 - Free 1 - - 25 + 504 GMRS-4 462.6375 +0 High 3 300 - Free 1 - - 25 + 505 GMRS-5 462.6625 +0 High 3 300 - Free 1 - - 25 + 506 GMRS-6 462.6875 +0 High 3 300 - Free 1 - - 25 + 507 GMRS-7 462.7125 +0 High 3 300 - Free 1 - - 25 + 508 FRS-8 467.5625 +0 Low 3 300 - Free 1 - - 25 + 509 FRS-9 467.5875 +0 Low 3 300 - Free 1 - - 25 + 510 FRS-10 467.6125 +0 Low 3 300 - Free 1 - - 25 + 511 FRS-11 467.6375 +0 Low 3 300 - Free 1 - - 25 + 512 FRS-12 467.6625 +0 Low 3 300 - Free 1 - - 25 + 513 FRS-13 467.6875 +0 Low 3 300 - Free 1 - - 25 + 514 FRS-14 467.7125 +0 Low 3 300 - Free 1 - - 25 + +# +# Table of channel zones. +# 1) Zone number: 1-250 +# 2) Name: up to 16 characters, use '_' instead of space +# 3) List of channels: numbers and ranges (N-M) separated by comma +# +Zone Name Channels + 1 Milpitas 1-8 # 440.125 W6TCP + 2 San_Bruno 11-22 # 440.500 N6AMG + 3 Boulder_Creek 31-43 # 440.5875 WB6ECE + 4 Palo_Alto 51-62 # 441.850 K6OTR + 5 Saratoga 71-84 # 441.950 KK6USZ + 6 Mt_Umunhum 91-103 # 442.5375 WA6YCZ + 7 Berkeley 101-115 # 443.500 K6LNK + 8 Loma_Prieta 121-130 # 444.025 K6HLE + 9 Baynet_Palo_Alto 141-148 # 444.350 WW6BAY + 10 Alum_Rock 151-158 # 444.475 W6OTX + 11 VHF 201-212 # 144-148 VHF Band + 12 UHF 301-314 # 440-446 UHF Band + 13 Simplex 401-408 # Simplex VHF, UHF + 14 GMRS 501-514 # 462-467 GMRS + +# +# Table of scan lists. +# 1) Scan list number: 1-250 +# 2) Name: up to 16 characters, use '_' instead of space +# 3) Priority channel 1 (50% of scans): -, Sel or index +# 4) Priority channel 2 (25% of scans): -, Sel or index +# 5) Designated transmit channel: Last, Sel or index +# 6) List of channels: numbers and ranges (N-M) separated by comma +# +Scanlist Name PCh1 PCh2 TxCh Channels + 1 Analog - - Last 201-212,301-314 + 2 Simplex - - Last 401-406 + 3 GMRS - - Last 501-514 + +# +# Table of group lists. +# 1) Group list number: 1-250 +# 2) Name: up to 16 characters, use '_' instead of space +# 3) List of contacts: numbers and ranges (N-M) separated by comma +# +Grouplist Name Contacts + + 1 Timeslot_1 2 # 23 Cluster K6LNK + 1 Timeslot_1 3 # 91 Worldwide + 1 Timeslot_1 4 # 93 North America + 1 Timeslot_1 5 # 310 TAC 310 + 1 Timeslot_1 6 # 3106 California + 1 Timeslot_1 7 # 3131 Nebraska + 1 Timeslot_1 8 # 3148 Texas + 1 Timeslot_1 9 # 31064 Santa Clara County + 1 Timeslot_1 10 # 31065 NorCal AllStar + 1 Timeslot_1 12 # 31072 KPARN + 1 Timeslot_1 13 # 31075 Bay-Net + 1 Timeslot_1 14 # 31078 XLX013D PAPA + 1 Timeslot_1 15 # 31096 USA - Area 6 4646 + 1 Timeslot_1 16 # 31328 SNARS (Reno/Tahoe) + 1 Timeslot_1 17 # 31329 SNARS 2 + + 2 Timeslot_2 1 # 21 Cluster CARLA + 2 Timeslot_2 22 # 310604 CARLA + 2 Timeslot_2 21 # 110670 Cluster KK6USZ + 2 Timeslot_2 23 # 310703 Tri-LERT + 2 Timeslot_2 9 # 31064 Santa Clara County + 2 Timeslot_2 11 # 31068 NorCal + 2 Timeslot_2 13 # 31075 Bay-Net + 2 Timeslot_2 18 # 31666 DMR of Anarchy + 2 Timeslot_2 19 # 95150 NorCal 5150 + 2 Timeslot_2 20 # 97150 Baycom + + 3 Both 3 # 91 Worldwide + 3 Both 4 # 93 North America + 3 Both 5 # 310 TAC 310 + 3 Both 6 # 3106 California + 3 Both 7 # 3131 Nebraska + 3 Both 8 # 3148 Texas + 3 Both 9 # 31064 Santa Clara County + 3 Both 10 # 31065 NorCal AllStar + 3 Both 11 # 31068 NorCal + 3 Both 13 # 31075 Bay-Net + 3 Both 14 # 31078 XLX013D PAPA + 3 Both 15 # 31096 USA - Area 6 4646 + 3 Both 18 # 31666 DMR of Anarchy + 3 Both 19 # 95150 NorCal 5150 + 3 Both 20 # 97150 Baycom + 3 Both 22 # 310604 CARLA + +# +# Table of contacts. +# 1) Contact number: 1-10000 +# 2) Name: up to 16 characters, use '_' instead of space +# 3) Call type: Group, Private, All +# 4) Call ID: 1...16777215 +# 5) Call receive tone: -, + +# +Contact Name Type ID RxTone + +# From all Bay Area repeaters + 1 Cluster_CARLA Group 21 - + 2 Cluster_K6LNK Group 23 - + 3 Worldwide Group 91 - + 4 North_America Group 93 - + 5 TAC_310 Group 310 - + 6 California Group 3106 - + 7 Nebraska Group 3131 - + 8 Texas Group 3148 - + 9 Santa_Clara_Cnty Group 31064 - + 10 NorCal_AllStar Group 31065 - + 11 NorCal Group 31068 - + 12 KPARN Group 31072 - + 13 Bay-Net Group 31075 - + 14 XLX013D_PAPA Group 31078 - + 15 USA_Area_6 Group 31096 - + 16 SNARS Group 31328 - + 17 SNARS_2 Group 31329 - + 18 DMR_of_Anarchy Group 31666 - + 19 NorCal_5150 Group 95150 - + 20 Baycom Group 97150 - + 21 Cluster_KK6USZ Group 110670 - + 22 CARLA Group 310604 - + 23 Tri-LERT Group 310703 - + +# Private + 24 Parrot Private 9990 - diff --git a/examples/south-bay-area-rd5r.conf b/examples/south-bay-area-rd5r.conf deleted file mode 100644 index fec07c7..0000000 --- a/examples/south-bay-area-rd5r.conf +++ /dev/null @@ -1,338 +0,0 @@ -# -# Generic DMR configuration for South Bay Area. -# -# Schedules (PDT): -# Monday 8-10 pm: PAPA DMR Roundtable, California (3106/TS1) -# Tuesday 8-9 pm: SNARS DMR Net (31328/TS1) -# Wednesday 5:30-6:30 pm: Texas Statewide Net (3148/TS1) -# Thursday 7-7:30 pm: NorCal DMR Net (31068/TS2) -# Thursday 8-10 pm: PAPA Tech Roundtable, XRF012A, analog&D-STAR (31078/TS1) -# Saturday 9-11 am: Worldwide Net (91/TS1) -# - -# Table of digital channels. -# 1) Channel number: 1-1000 -# 2) Name: up to 16 characters, use '_' instead of space -# 3) Receive frequency in MHz -# 4) Transmit frequency or +/- offset in MHz -# 5) Transmit power: High, Low -# 6) Scan list: - or index in Scanlist table -# 7) Autoscan flag: -, + -# 8) Transmit timeout timer in seconds: 0, 15, 30, 45... 555 -# 9) Receive only: -, + -# 10) Admit criteria: -, Free, Color -# 11) Color code: 1, 2, 3... 15 -# 12) Time slot: 1 or 2 -# 13) In call criteria: -, Admit, TXInt -# 14) Receive group list: - or index in Grouplist table -# 15) Contact for transmit: - or index in Contacts table -# -Digital Name Receive Transmit Power Scan TOT RO Admit Color Slot RxGL TxContact - -# (1) W6TCP, Milpitas, NorCal - 1 California 440.125 +5 High - 180 - Color 3 1 1 6 # 3106 California Static - 2 TAC_310 440.125 +5 High - 180 - Color 3 1 1 5 # 310 TAC 310 Dynamic - 3 Bay-Net 440.125 +5 High - 180 - Color 3 1 1 13 # 31075 Bay-Net Dynamic - 4 World 440.125 +5 High - 180 - Color 3 1 1 3 # 91 Worldwide Dynamic - 5 NorCal 440.125 +5 High - 180 - Color 3 2 2 11 # 31068 NorCal Static - 6 Anarchy 440.125 +5 High - 180 - Color 3 2 2 18 # 31666 DMR of Anarchy Static - 7 NC_5150 440.125 +5 High - 180 - Color 3 2 2 19 # 95150 NorCal 5150 Static - 8 Parrot 440.125 +5 High - 180 - Color 3 2 2 24 # 9990 Parrot Private - 9 ... 440.125 +5 High - 180 - Color 3 2 2 24 - 10 ... 440.125 +5 High - 180 - Color 3 2 2 24 - -# (2) N6AMG, San Bruno, Baycom - 11 North_America 440.500 +5 High - 180 - Color 1 1 1 4 # 93 North America Static - 12 California 440.500 +5 High - 180 - Color 1 1 1 6 # 3106 California Static - 13 NC_AllStr 440.500 +5 High - 180 - Color 1 1 1 10 # 31065 NorCal AllStar Static - 14 Bay-Net 440.500 +5 High - 180 - Color 1 1 1 13 # 31075 Bay-Net Static - 15 USA_Area6 440.500 +5 High - 180 - Color 1 1 1 15 # 31096 USA Area 6 Static - 16 TAC_310 440.500 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 17 World 440.500 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 18 Baycom 440.500 +5 High - 180 - Color 1 2 2 20 # 97150 Baycom Static - 19 NorCal 440.500 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Dynamic - 20 Anarchy 440.500 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 21 NC_5150 440.500 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 22 Parrot 440.500 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 23 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 24 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 25 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 26 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 27 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 28 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 29 ... 440.500 +5 High - 180 - Color 1 2 2 24 - 30 ... 440.500 +5 High - 180 - Color 1 2 2 24 - -# (3) WB6ECE, Boulder Creek, Baycom - 31 North_America 440.5875 +5 High - 180 - Color 2 1 1 4 # 93 North America Static - 32 California 440.5875 +5 High - 180 - Color 2 1 1 6 # 3106 California Static - 33 Santa_Clara 440.5875 +5 High - 180 - Color 2 1 1 9 # 31064 Santa Clara County Static - 34 NC_AllStr 440.5875 +5 High - 180 - Color 2 1 1 10 # 31065 NorCal AllStar Static - 35 Bay-Net 440.5875 +5 High - 180 - Color 2 1 1 13 # 31075 Bay-Net Static - 36 USA_Area6 440.5875 +5 High - 180 - Color 2 1 1 15 # 31096 USA Area 6 Static - 37 TAC_310 440.5875 +5 High - 180 - Color 2 1 1 5 # 310 TAC 310 Dynamic - 38 World 440.5875 +5 High - 180 - Color 2 1 1 3 # 91 Worldwide Dynamic - 39 Baycom 440.5875 +5 High - 180 - Color 2 2 2 20 # 97150 Baycom Static - 40 NorCal 440.5875 +5 High - 180 - Color 2 2 2 11 # 31068 NorCal Dynamic - 41 Anarchy 440.5875 +5 High - 180 - Color 2 2 2 18 # 31666 DMR of Anarchy Dynamic - 42 NC_5150 440.5875 +5 High - 180 - Color 2 2 2 19 # 95150 NorCal 5150 Dynamic - 43 Parrot 440.5875 +5 High - 180 - Color 2 2 2 24 # 9990 Parrot Private - 44 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - 45 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - 46 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - 47 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - 48 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - 49 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - 50 ... 440.5875 +5 High - 180 - Color 2 2 2 24 - -# (4) K6OTR, Palo Alto, Baycom - 51 North_America 441.850 +5 High - 180 - Color 1 1 1 4 # 93 North America Static - 52 California 441.850 +5 High - 180 - Color 1 1 1 6 # 3106 California Static - 53 NC_AllStr 441.850 +5 High - 180 - Color 1 1 1 10 # 31065 NorCal AllStar Static - 54 Bay-Net 441.850 +5 High - 180 - Color 1 1 1 13 # 31075 Bay-Net Static - 55 USA_Area6 441.850 +5 High - 180 - Color 1 1 1 15 # 31096 USA - Area 6 4646 Static - 56 TAC_310 441.850 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 57 World 441.850 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 58 Baycom 441.850 +5 High - 180 - Color 1 2 2 20 # 97150 Baycom Static - 59 NorCal 441.850 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Dynamic - 60 Anarchy 441.850 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 61 NC_5150 441.850 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 62 Parrot 441.850 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 63 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 64 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 65 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 66 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 67 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 68 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 69 ... 441.850 +5 High - 180 - Color 1 2 2 24 - 70 ... 441.850 +5 High - 180 - Color 1 2 2 24 - -# (5) KK6USZ, Saratoga - 71 Nebraska 441.950 +5 High - 180 - Color 1 1 1 7 # 3131 Nebraska Static - 72 World 441.950 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 73 California 441.950 +5 High - 180 - Color 1 1 1 6 # 3106 California Dynamic - 74 Texas 441.950 +5 High - 180 - Color 1 1 1 8 # 3148 Texas Dynamic - 75 PAPA 441.950 +5 High - 180 - Color 1 1 1 14 # 31078 XLX013D PAPA Dynamic - 76 TAC_310 441.950 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 77 Santa_Clara 441.950 +5 High - 180 - Color 1 2 2 9 # 31064 Santa Clara County Static - 78 NorCal 441.950 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Static - 79 Bay-Net 441.950 +5 High - 180 - Color 1 2 2 13 # 31075 Bay-Net Static - 80 Baycom 441.950 +5 High - 180 - Color 1 2 2 20 # 97150 Baycom Static - 81 Clst_KK6USZ 441.950 +5 High - 180 - Color 1 2 2 21 # 110670 Cluster KK6USZ Static - 82 Anarchy 441.950 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 83 NC_5150 441.950 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 84 Parrot 441.950 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 85 ... 441.950 +5 High - 180 - Color 1 2 2 24 - 86 ... 441.950 +5 High - 180 - Color 1 2 2 24 - 87 ... 441.950 +5 High - 180 - Color 1 2 2 24 - 88 ... 441.950 +5 High - 180 - Color 1 2 2 24 - 89 ... 441.950 +5 High - 180 - Color 1 2 2 24 - 90 ... 441.950 +5 High - 180 - Color 1 2 2 24 - -# (6) WA6YCZ, Mt Umunhum, Baycom - 91 North_America 442.5375 +5 High - 180 - Color 1 1 1 4 # 93 North America Static - 92 California 442.5375 +5 High - 180 - Color 1 1 1 6 # 3106 California Static - 93 Santa_Clara 442.5375 +5 High - 180 - Color 1 1 1 9 # 31064 Santa Clara County Static - 94 NC_AllStr 442.5375 +5 High - 180 - Color 1 1 1 10 # 31065 NorCal AllStar Static - 95 Bay-Net 442.5375 +5 High - 180 - Color 1 1 1 13 # 31075 Bay-Net Static - 96 USA_Area6 442.5375 +5 High - 180 - Color 1 1 1 15 # 31096 USA Area 6 Static - 97 TAC_310 442.5375 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 98 World 442.5375 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 99 Baycom 442.5375 +5 High - 180 - Color 1 2 2 20 # 97150 Baycom Static - 100 NorCal 442.5375 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Dynamic - 101 Anarchy 442.5375 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 102 NC_5150 442.5375 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 103 Parrot 442.5375 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 104 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - 105 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - 106 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - 107 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - 108 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - 109 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - 110 ... 442.5375 +5 High - 180 - Color 1 2 2 24 - -# (7) K6LNK, Berkeley, NorCal, Carla - 101 California 443.500 +5 High - 180 - Color 1 1 1 6 # 3106 California Static - 102 KPARN 443.500 +5 High - 180 - Color 1 1 1 12 # 31072 KPARN Static - 103 SNARS 443.500 +5 High - 180 - Color 1 1 1 16 # 31328 SNARS (Reno/Tahoe) Static - 104 SNARS_2 443.500 +5 High - 180 - Color 1 1 1 17 # 31329 SNARS 2 Static - 105 Clst_K6LNK 443.500 +5 High - 180 - Color 1 1 1 2 # 23 Cluster K6LNK Static - 106 TAC_310 443.500 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 107 Bay-Net 443.500 +5 High - 180 - Color 1 1 1 13 # 31075 Bay-Net Dynamic - 108 World 443.500 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 109 NorCal 443.500 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Static - 110 CARLA 443.500 +5 High - 180 - Color 1 2 2 22 # 310604 CARLA Static - 111 Tri-LERT 443.500 +5 High - 180 - Color 1 2 2 23 # 310703 Tri-LERT Static - 112 Clst_CARLA 443.500 +5 High - 180 - Color 1 2 2 1 # 21 Cluster CARLA Static - 113 Anarchy 443.500 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 114 NC_5150 443.500 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 115 Parrot 443.500 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 116 ... 443.500 +5 High - 180 - Color 1 2 2 24 - 117 ... 443.500 +5 High - 180 - Color 1 2 2 24 - 118 ... 443.500 +5 High - 180 - Color 1 2 2 24 - 119 ... 443.500 +5 High - 180 - Color 1 2 2 24 - 120 ... 443.500 +5 High - 180 - Color 1 2 2 24 - -# (8) K6HLE, Loma Prieta, NorCal, AREA - 121 North_America 444.025 +5 High - 180 - Color 1 1 1 4 # 93 North America Static - 122 California 444.025 +5 High - 180 - Color 1 1 1 6 # 3106 California Static - 123 USA_Area_6 444.025 +5 High - 180 - Color 1 1 1 15 # 31096 USA - Area 6 4646 Static - 124 TAC_310 444.025 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 125 Bay-Net 444.025 +5 High - 180 - Color 1 1 1 13 # 31075 Bay-Net Dynamic - 126 World 444.025 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 127 NorCal 444.025 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Static - 128 Anarchy 444.025 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 129 NC_5150 444.025 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 130 Parrot 444.025 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 131 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 132 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 133 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 134 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 135 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 136 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 137 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 138 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 139 ... 444.025 +5 High - 180 - Color 1 2 2 24 - 140 ... 444.025 +5 High - 180 - Color 1 2 2 24 - -# (9) WW6BAY, Palo Alto, Bay-Net - 141 Santa_Clara 444.350 +5 High - 180 - Color 1 1 1 9 # 31064 Santa Clara County Static - 142 TAC_310 444.350 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 143 World 444.350 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 144 Bay-Net 444.350 +5 High - 180 - Color 1 2 2 13 # 31075 Bay-Net Static - 145 NorCal 444.350 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Dynamic - 146 Anarchy 444.350 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 147 NC_5150 444.350 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 148 Parrot 444.350 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - 149 ... 444.350 +5 High - 180 - Color 1 2 2 24 - 150 ... 444.350 +5 High - 180 - Color 1 2 2 24 - -# (10) W6OTX, Alum Rock, NorCal, PAARA - 151 California 444.475 +5 High - 180 - Color 1 1 1 6 # 3106 California Static - 152 TAC_310 444.475 +5 High - 180 - Color 1 1 1 5 # 310 TAC 310 Dynamic - 153 Bay-Net 444.475 +5 High - 180 - Color 1 1 1 13 # 31075 Bay-Net Dynamic - 154 World 444.475 +5 High - 180 - Color 1 1 1 3 # 91 Worldwide Dynamic - 155 NorCal 444.475 +5 High - 180 - Color 1 2 2 11 # 31068 NorCal Static - 156 Anarchy 444.475 +5 High - 180 - Color 1 2 2 18 # 31666 DMR of Anarchy Dynamic - 157 NC_5150 444.475 +5 High - 180 - Color 1 2 2 19 # 95150 NorCal 5150 Dynamic - 158 Parrot 444.475 +5 High - 180 - Color 1 2 2 24 # 9990 Parrot Private - -# -# Table of channel zones. -# 1) Zone number: 1-250 -# 2) Name: up to 16 characters, use '_' instead of space -# 3) List of channels: numbers and ranges (N-M) separated by comma -# -Zone Name Channels - 1 Milpitas 1-8 # 440.125 W6TCP - 2 San_Bruno 11-22 # 440.500 N6AMG - 3 Boulder_Creek 31-43 # 440.5875 WB6ECE - 4 Palo_Alto 51-62 # 441.850 K6OTR - 5 Saratoga 71-84 # 441.950 KK6USZ - 6 Mt_Umunhum 91-103 # 442.5375 WA6YCZ - 7 Berkeley 101-115 # 443.500 K6LNK - 8 Loma_Prieta 121-130 # 444.025 K6HLE - 9 Baynet_Palo_Alto 141-148 # 444.350 WW6BAY - 10 Alum_Rock 151-158 # 444.475 W6OTX - -# -# Table of scan lists. -# 1) Scan list number: 1-250 -# 2) Name: up to 16 characters, use '_' instead of space -# 3) Priority channel 1 (50% of scans): -, Sel or index -# 4) Priority channel 2 (25% of scans): -, Sel or index -# 5) Designated transmit channel: Last, Sel or index -# 6) List of channels: numbers and ranges (N-M) separated by comma -# -Scanlist Name PCh1 PCh2 TxCh Channels - 1 Santa_Clara - - Last 1 - -# -# Table of group lists. -# 1) Group list number: 1-250 -# 2) Name: up to 16 characters, use '_' instead of space -# 3) List of contacts: numbers and ranges (N-M) separated by comma -# -Grouplist Name Contacts - - 1 Timeslot_1 2 # 23 Cluster K6LNK - 1 Timeslot_1 3 # 91 Worldwide - 1 Timeslot_1 4 # 93 North America - 1 Timeslot_1 5 # 310 TAC 310 - 1 Timeslot_1 6 # 3106 California - 1 Timeslot_1 7 # 3131 Nebraska - 1 Timeslot_1 8 # 3148 Texas - 1 Timeslot_1 9 # 31064 Santa Clara County - 1 Timeslot_1 10 # 31065 NorCal AllStar - 1 Timeslot_1 12 # 31072 KPARN - 1 Timeslot_1 13 # 31075 Bay-Net - 1 Timeslot_1 14 # 31078 XLX013D PAPA - 1 Timeslot_1 15 # 31096 USA - Area 6 4646 - 1 Timeslot_1 16 # 31328 SNARS (Reno/Tahoe) - 1 Timeslot_1 17 # 31329 SNARS 2 - - 2 Timeslot_2 1 # 21 Cluster CARLA - 2 Timeslot_2 22 # 310604 CARLA - 2 Timeslot_2 21 # 110670 Cluster KK6USZ - 2 Timeslot_2 23 # 310703 Tri-LERT - 2 Timeslot_2 9 # 31064 Santa Clara County - 2 Timeslot_2 11 # 31068 NorCal - 2 Timeslot_2 13 # 31075 Bay-Net - 2 Timeslot_2 18 # 31666 DMR of Anarchy - 2 Timeslot_2 19 # 95150 NorCal 5150 - 2 Timeslot_2 20 # 97150 Baycom - - 3 Both 3 # 91 Worldwide - 3 Both 4 # 93 North America - 3 Both 5 # 310 TAC 310 - 3 Both 6 # 3106 California - 3 Both 7 # 3131 Nebraska - 3 Both 8 # 3148 Texas - 3 Both 9 # 31064 Santa Clara County - 3 Both 10 # 31065 NorCal AllStar - 3 Both 11 # 31068 NorCal - 3 Both 13 # 31075 Bay-Net - 3 Both 14 # 31078 XLX013D PAPA - 3 Both 15 # 31096 USA - Area 6 4646 - 3 Both 18 # 31666 DMR of Anarchy - 3 Both 19 # 95150 NorCal 5150 - 3 Both 20 # 97150 Baycom - 3 Both 22 # 310604 CARLA - -# -# Table of contacts. -# 1) Contact number: 1-10000 -# 2) Name: up to 16 characters, use '_' instead of space -# 3) Call type: Group, Private, All -# 4) Call ID: 1...16777215 -# 5) Call receive tone: -, + -# -Contact Name Type ID RxTone - -# From all Bay Area repeaters - 1 Cluster_CARLA Group 21 - - 2 Cluster_K6LNK Group 23 - - 3 Worldwide Group 91 - - 4 North_America Group 93 - - 5 TAC_310 Group 310 - - 6 California Group 3106 - - 7 Nebraska Group 3131 - - 8 Texas Group 3148 - - 9 Santa_Clara_Cnty Group 31064 - - 10 NorCal_AllStar Group 31065 - - 11 NorCal Group 31068 - - 12 KPARN Group 31072 - - 13 Bay-Net Group 31075 - - 14 XLX013D_PAPA Group 31078 - - 15 USA_Area_6 Group 31096 - - 16 SNARS Group 31328 - - 17 SNARS_2 Group 31329 - - 18 DMR_of_Anarchy Group 31666 - - 19 NorCal_5150 Group 95150 - - 20 Baycom Group 97150 - - 21 Cluster_KK6USZ Group 110670 - - 22 CARLA Group 310604 - - 23 Tri-LERT Group 310703 - - -# Private - 24 Parrot Private 9990 - diff --git a/examples/south-bay-area.conf b/examples/uv380-south-bay-area.conf similarity index 99% rename from examples/south-bay-area.conf rename to examples/uv380-south-bay-area.conf index 497e89b..f2d9943 100644 --- a/examples/south-bay-area.conf +++ b/examples/uv380-south-bay-area.conf @@ -9,6 +9,7 @@ # Thursday 8-10 pm: PAPA Tech Roundtable, XRF012A, analog&D-STAR (31078/TS1) # Saturday 9-11 am: Worldwide Net (91/TS1) # +Radio: TYT MD-UV380 # Table of digital channels. # 1) Channel number: 1-1000 diff --git a/rd5r.c b/rd5r.c index 1c71d4e..0715c25 100644 --- a/rd5r.c +++ b/rd5r.c @@ -441,10 +441,8 @@ static void setup_zone(int index, const char *name) { zonetab_t *zt = GET_ZONETAB(); zone_t *z = &zt->zone[index]; - int len = strlen(name); - memset(z->name, 0xff, sizeof(z->name)); - memcpy(z->name, name, (len < sizeof(z->name)) ? len : sizeof(z->name)); + ascii_decode(z->name, name, sizeof(z->name)); memset(z->member, 0, sizeof(z->member)); // Set valid bit. @@ -506,11 +504,9 @@ static void setup_scanlist(int index, const char *name, { scantab_t *st = GET_SCANTAB(); scanlist_t *sl = &st->scanlist[index]; - int len = strlen(name); memset(sl, 0, 88); - memset(sl->name, 0xff, sizeof(sl->name)); - memcpy(sl->name, name, len < sizeof(sl->name) ? len : sizeof(sl->name)); + ascii_decode(sl->name, name, sizeof(sl->name)); sl->priority_ch1 = prio1; sl->priority_ch2 = prio2; @@ -587,7 +583,6 @@ static void erase_contact(int index) static void setup_contact(int index, const char *name, int type, int id, int rxtone) { contact_t *ct = GET_CONTACT(index); - int len = strlen(name); ct->id[0] = ((id / 10000000) << 4) | ((id / 1000000) % 10); ct->id[1] = ((id / 100000 % 10) << 4) | ((id / 10000) % 10); @@ -599,7 +594,7 @@ static void setup_contact(int index, const char *name, int type, int id, int rxt ct->ring_style = 0; // TODO ct->_unused = (type < CALL_ALL) ? 0 : 0xff; - memcpy(ct->name, name, len < 16 ? len : 16); + ascii_decode(ct->name, name, 16); } // @@ -620,10 +615,8 @@ static void setup_grouplist(int index, const char *name) { grouptab_t *gt = GET_GROUPTAB(); grouplist_t *gl = >->grouplist[index]; - int len = strlen(name); - memset(gl->name, 0xff, sizeof(gl->name)); - memcpy(gl->name, name, (len < sizeof(gl->name)) ? len : sizeof(gl->name)); + ascii_decode(gl->name, name, sizeof(gl->name)); // Enable grouplist. gt->nitems1[index] = 1; @@ -742,8 +735,7 @@ static void setup_channel(int i, int mode, char *name, double rx_mhz, double tx_ ch->ctcss_dcs_receive = rxtone; ch->ctcss_dcs_transmit = txtone; - int len = strlen(name); - memcpy(ch->name, name, (len < sizeof(ch->name)) ? len : sizeof(ch->name)); + ascii_decode(ch->name, name, sizeof(ch->name)); // Set valid bit. b->bitmap[i % 128 / 8] |= 1 << (i & 7); @@ -962,7 +954,10 @@ static void print_chan_base(FILE *out, channel_t *ch, int cnum) fprintf(out, "%c ", "-+"[ch->rx_only]); - fprintf(out, "%-6s ", ADMIT_NAME[ch->admit_criteria & 3]); + if (ch->channel_mode == MODE_DIGITAL) + fprintf(out, "%-6s ", ADMIT_NAME[ch->admit_criteria & 3]); + else + fprintf(out, "%-6s ", ADMIT_NAME[ch->admit_criteria != 0]); } #ifdef PRINT_RARE_PARAMS diff --git a/util.c b/util.c index 81b004c..27816ea 100644 --- a/util.c +++ b/util.c @@ -332,6 +332,7 @@ void utf8_decode(unsigned short *dst, const char *src, unsigned nsym) // // Copy ASCII string, at most nsym characters. // Replace underscore by space. +// Fill the rest with 0xff. // void ascii_decode(unsigned char *dst, const char *src, unsigned nsym) {