• Effective immediately we will be deleting, without notice, any negative threads or posts that deal with the use of encryption and streaming of scanner audio.

    We've noticed a huge increase in rants and negative posts that revolve around agencies going to encryption due to the broadcasting of scanner audio on the internet. It's now worn out and continues to be the same recycled rants. These rants hijack the threads and derail the conversation. They no longer have a place anywhere on this forum other than in the designated threads in the Rants forum in the Tavern.

    If you violate these guidelines your post will be deleted without notice and an infraction will be issued. We are not against discussion of this issue. You just need to do it in the right place. For example:
    https://forums.radioreference.com/rants/224104-official-thread-live-audio-feeds-scanners-wait-encryption.html

mem or usd file format ???

Status
Not open for further replies.

slicerwizard

Member
Joined
Sep 19, 2002
Messages
5,393
Location
Toronto, Ontario
You planning on writing a conversion utility? :)

I took a look at an ARC246 file a while back and it was fairly straightforward;
a 396 file would be similar (with a few more fields added):


SYSDATA#, sysname, hotkey, syslockout(0=unlocked, 1=lockout),
systemholdsec, channeldelaysec, attenuator(0=off, 1=on),
dataskip(0=noskip, 1=skipdata), alert(0=off, 1=on), ???,
systype(0=conv, 1=type1 std, 2=type1 splinter, 3=800 type2 std,
4=800 type2 splinter, 5=900, 6=VHF, 7=UHF, 8=EDACS narrow,
9=EDACS wide, 10=SCAT, 11=LTR), type(1=conv, 2=trunked), ???, ???,
GroupQKeyPresets, ??? x 6


TRSDATA#, mode(0=ID scan, 1=ID search), statusbit(0=off, 1=on),
endcode(0=ignore, 1=yes/detect), format(0=decimal, 1=AFS),
Icall(0=off, 1=on, 2=only), CConly(0=no, 1=yes),
preset fleetmap(1-16, 17=custom, 0=none), custom fleetmap(8 hex digits),
basefreq, step, offsetch(x 3 ranges), ??? x 3


Group lines (up to 20 lines):

GROUPDATA#, groupname, ???(always blank), groupquickkey(blank, 0-9),
lockout(0 or blank=group not locked out, 1=group locked out),
active(0 or blank=inactive group, 1=active group [exists] )


Channel/talkgroup control lines:

First character is 'C' for conventional systems, 'T' for trunked systems.
First control line defines number of channels/talkgroups in each of the 20 groups.
Second control line defines number of CHN lines used by each of the 20 groups.

e.g.

C,"20","20","20", ...
C,"1","5","10", ...

means system is conventional, each group has 20 channels allocated,
but group 1 only has one channel defined (other 19 are blank), group 2 has 5 defined, etc.
16 CHN lines will follow for these three groups.


Individual channel/talkgroup lines:

for trunk talkgroups:
CHN, TG, name, L/O(blank, On, Off), alert(blank, On, Off), comment

for conventional channels:
CHN, freq, name, L/O, CTCSS/DPL, toneL/O, attenuator, step, mode, pri, comment


TRKFR#n, trunkfreq, comment, LCN or blank



Someone else put together this UASD info:


// BCD396T UASD Ver. 1.2.2.2 9/13/2005 11:07:51 AM
SystemCT,M82S,"01 PBSO",1,2,UNLOCKED,OFF,2,OFF,2,0,AUTO,8
SystemT,SCAN,Enabled,Enabled,DECIMAL,ON,ON,AUTO,DEFAULT
FGroup,"System Frequency"
LCN,,08673750,UNLOCKED
TGroup,1-SO-Districts,1,UNLOCKED
TGID,"D-01 Disp",26768,UNLOCKED,OFF,AUTO,OFF
----------------------------------------------
The above 7 lines are excerpted from an actual ".usd" file in my BCD-396T.
The info below is what I believe all the various fields from the above lines represent.
In each case, I have listed (by line) what I believe to be each field's purpose and the acceptable selections that
one can make for each of those fields.


Line 1
// BCD396T UASD Ver. 1.2.2.2 9/13/2005 11:07:51 AM
The // probably tells the radio to ignore the line, like a semicolon used to in other programming protocols.
The remainder of this line indicates which program was used to make the file and the date and time created or last edited.
Note: files created with the RRDB extraction utility will have "RRDB Reader" instead of "BCD396T UASD Ver. 1.2.2.2".


Line 2
SystemCT,M82S,"01 PBSO",1,2,UNLOCKED,OFF,2,OFF,2,0,AUTO,8
I believe the fields are as follows:
Line Header, System Type, System Label, Sys QuickKey#, Sys Temp Hold Time, Sys L/O, Sys Attenuation,
Sys Delay, Data Skip, Emerg Alert Tone#, Emerg Alert Level, P25 Modulation, P25 Level

Legit values for these are:
Line Header "SystemCT", is the start of every file's 2nd line, don't know if it means System Config or what...

System Type, "M82S" is for Motorola Type-2 Standard
All Legit codes are:
CNV Conventional
MP25 APCO P25 Standard
M82S Moto Type-2 Standard
M82P Moto Type-2 Splinter
M81S Moto Type-1 Standard
M82P Moto Type-2 Splinter
M92 Moto 900 Type-2
MU2 Moto UHF
MV2 Moto VHF
LTR LTR Standard
EDW EDACS - Wide (Standard or Networked)
EDN EDACS - Narrow
EDS EDACS - SCAT

System Label "01 PBSO" is the text label the user provides for that system. Length is 16 char. max.
If there are any spaces within the text label, the UASD encloses the label in "quotations"
otherwise no quotes around the label name.

System Quick Key # is "1" in this case. Legit values are [.] for none or [0-99]

Sys Temp Hold Time "2" which is the default value...this determines how long the system temporarily holds [in seconds]
when you hit the FUNC button, legit values [0-255] seconds.

Sys Lockout "UNLOCKED" or [LOCKED]

Sys Attenuation "OFF" or [ON]

Sys Delay "5", legit values are [0-5]

Data Skip (I think) and value is either "OFF" (default when a trunked system is programmed) or [ON]

Emergency Alert Tone "2" and legit values are [OFF, 1-9]

Emergency Alert Level "0" and legit values are [AUTO, 1-9]

P25 Mode "AUTO" and legit values are [AUTO, MAN, DFLT]

P25 Level "8" by default, and legit values are 0-20 but only when above P25 MODE = MAN.


Line 3
SystemT,SCAN,Enabled,Enabled,DECIMAL,ON,ON,AUTO,DEFAULT
I believe the fields are as follows:
Line Header, TG Search/Scan Mode, Ignore Status Bit, Ignore End Code, TalkGroup ID Type, I-Call, CC-Only, Modulation, ??unknown

Line Header "SystemT" = is probably data for trunked systems only as this line doesn't show up in conventional .usd files.

TG Search/Scan Mode = "SCAN" or [SEARCH] with regard to TalkGroup ID's

Ignore Status Bit = "Enabled" or [Disabled] (note Upper/Lower case on this field)

Ignore End Code = "Enabled" or [Disabled] (note Upper/Lower case on this field)

TG ID Type = "DECIMAL" or [AFS] for other types of trunked systems.

I-Call = "ON" or [OFF, ONLY]

Control-Channel Only = "ON" or [OFF]

Modulation = "AUTO" or [FM, NFM]

"DEFAULT" is an unknown field, I have no idea what this parameter is for.


Line 4
FGroup,"System Frequency"
is the section header for trunked system frequencies


Line 5
LCN,,08673750,UNLOCKED
I believe the fields are as follows:
LCN,(LCN#),Frequency,Freq L/O
Frequencies always depicted as 8 digits (with leading/trailing zeroes to pad the value typed in by the user)


Line 6
TGroup,1-SO-Districts,1,UNLOCKED
I believe the fields are as follows:
Line Header, Group Label, Group Quick Key#, Group L/O
Line Header = "TGroup" indicates Talk Group Line
Group Label = "1-SO-Districts" is alpha-numeric label for a group of TG's
Group QK# = "1" where legit values are [.] for NONE or [0-9]
Group L/O = "UNLOCKED" or [LOCKED]


Line 7
TGID,"D-01 Disp",26768,UNLOCKED,OFF,AUTO,OFF
I believe the fields are as follows:
Line Header, Talk Group ID Label, Talk Group ID#, TG L/O, TG Alert Tone #, TG Alert Level, Priority

Line Header = "TGID" indicates Talk Group ID Line
Talk Group ID Label = "D-01 Disp" is 16 space alphanumeric label.
Talk Group ID # ="26768" is 1-6 digits for talk group's id number
TG L/O = "UNLOCKED" or [LOCKED]
TG Alert Tone # = "OFF" or [1-9]
TG Alert Level = "AUTO" or [1-15]
Priority = "OFF", the default for trunked systems as priority feature not active.

===========================================

In .usd files for conventional systems, the setup might look like this:

// BCD396T UASD Ver. 1.2.2.2 9/3/2005 11:43:40 PM
SystemCT,CNV,City-GA,.,2,UNLOCKED,OFF,2,OFF,0,0,AUTO,8
CGroup,Greenacres,.,UNLOCKED
Channel,"GA Police",08562625,,AUTO,NONE,OFF,UNLOCKED,OFF,OFF,OFF,AUTO


Line 1
// BCD396T UASD Ver. 1.2.2.2 9/3/2005 11:43:40 PM
The // probably tells the radio to ignore the line, like a semicolon used to in other programming protocols.
The remainder of this line indicates which program was used to make the file and the date and time created or last edited.


Line 2
SystemCT,CNV,City-GA,.,2,UNLOCKED,OFF,2,OFF,0,0,AUTO,8
Line Header, System Type, System Label, Sys QuickKey#, Sys Temp Hold Time, Sys L/O,
Sys Attenuation, Sys Delay, Data Skip, Emerg Alert Tone#, Emerg Alert Level, P25 Modulation, P25 Level
(same line codes as used in Motorola Trunked .use files)


Line 3
CGroup,Greenacres,.,UNLOCKED
Line Header, Group Label, Group QK#, Group L/O
(all pretty standard stuff by now)


Line 4
Channel,"GA Police",08562625,,AUTO,NONE,OFF,UNLOCKED,OFF,OFF,OFF,AUTO
Line Header, Channel Label, Channel Freq, unkn, Modulation, DCS/CTCSS, Tone L/O,
Channel L/O, Priority, Attenuation, Alert Tone #, Alert Level

Pretty standard stuff here, except:
1) there appears to be a blank field (2 commas) between Channel Frequency and Modulation.
No idea what this spot may or may not be used for.
2) CTCSS/DCS tones expressed as [NONE, Cnnnn, Dnnn] where nnn = 3 (or 4) digits, i.e. C670 = CTCSS 67.0 Hz.
Legit values for CTCSS [670 - 2541] Hz and for DCS [023 - 754] Octal.
 

bigcheez69

Member
Joined
May 30, 2005
Messages
27
Location
Waukesha, WI
You Rock !!!

Could any of this be omitted? i.e. Within an ARCxxx mem file's 'groupline' could I get away with only the GROUPDATA# & groupname fields?
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
5,393
Location
Toronto, Ontario
Although writing a full-on program has crossed my mind, it is a little beyond my scope.

Writing a script to be used with Parse-O-Matic is much more practical and attainable.
I took a look at the docs; not sure if it would do everything I want to do.

I've already written ARC.mem <---> ReadableText.txt converters, so no scripts for me. I did it because I wanted an easy way to move channels/talkgroups between groups or to change channel/talkgroup order within a group. With ARC, it's a whole lot of clicking; with my text editor, it's single keys to move lines or groups of lines up or down. There are so many things that can be done more efficiently with a text editor rather than a GUI, and this lets me do them.

Here's an example conversion.


File: "TPS Inputs.mem"
Code:
ARC246 MEM V1.01 - IMPORTANT: ARC246 MEM file format is proprietary information of BuTel Software The Netherlands (c) 2005
SYSDATA#,"TPS Inputs","8","0","0","0","0","0","0","0","0","1","","10","1111111110","","","","","",""
TRSDATA#,"0","0","1","1","0","0","","","","","","","","","","","","","",""
GROUPDATA#,"South Zone","","1","0","1"
GROUPDATA#,"East Zone","","2","0","1"
GROUPDATA#,"North Zone","","3","0","1"
GROUPDATA#,"West Zone","","4","0","1"
GROUPDATA#,"HQ","","5","0","1"
GROUPDATA#,"Simplex","","6","0","1"
GROUPDATA#,"ETF","","7","0","1"
GROUPDATA#,"Choppers","","8","0","1"
GROUPDATA#,"ITAC","","9","0","1"
GROUPDATA#," ","","0","0","0"
GROUPDATA#,"Tab 10","","0","0","0"
GROUPDATA#,"Tab 11","","0","0","0"
GROUPDATA#,"Tab 12","","0","0","0"
GROUPDATA#,"Tab 13","","0","0","0"
GROUPDATA#,"Tab 14","","0","0","0"
GROUPDATA#,"Tab 15","","0","0","0"
GROUPDATA#,"Tab 16","","0","0","0"
GROUPDATA#,"Tab 17","","0","0","0"
GROUPDATA#,"Tab 18","","0","0","0"
GROUPDATA#,"Tab 19","","0","0","0"
C,"20","9","10","9","5","7","2","5","5","20","20","20","20","20","20","20","20","20","20","20"
C,"20","9","10","9","5","7","2","5","5","0","0","0","0","0","0","0","0","0","0","0"
CHN,"812.16250","","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"812.41250","","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"815.96250","","Off","","Off","Off","Off","Auto","Auto","",""
(some lines snipped to fit posting limits)
CHN,"822.76250","","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"822.98750","","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"861.68750","1 District HQ","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"861.48750","2 District HQ","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"861.93750","3 District HQ","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"861.66250","4 District HQ","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"861.43750","5 District HQ","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"857.48750","1 District","Off","110.9","Off","Off","Off","12.5","Auto","",""
CHN,"857.18750","2 District","Off","67.0","Off","Off","Off","25.0","Auto","",""
CHN,"857.23750","3 District","Off","143","Off","Off","Off","Auto","Auto","PRI",""
CHN,"857.43750","4 District","Off","110.9","On","Off","Off","Auto","FM","",""
CHN,"859.41250","5 District","Off","110.9","Off","Off","Off","Auto","NFM","",""
CHN,"857.43750","Court Simplex","Off","107.2","Off","On","On","Auto","AM","","Comment text"
CHN,"861.18750","Lifeguards","On","110.9","Off","Off","Off","Auto","Auto","","another comment"
CHN,"857.21250","ETF 1","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"857.46250","ETF 2","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"859.91250","Durham Chopper","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"866.86250","York Chopper","Off","123.0","Off","Off","Off","Auto","Auto","",""
CHN,"867.86250","TPS Chopper 1","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"862.93750","TPS Chopper 2","Off","110.9","Off","Off","Off","Auto","Auto","",""
CHN,"861.00000","Peel Chopper","Off","67.0","Off","Off","Off","Auto","Auto","",""
CHN,"866.01250","ICALL","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"866.51250","ITAC 1","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"867.01250","ITAC 2","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"867.51250","ITAC 3","Off","","Off","Off","Off","Auto","Auto","",""
CHN,"868.01250","ITAC 4","Off","","Off","Off","Off","Auto","Auto","",""
TRKFR#1,"","",""
TRKFR#2,"","",""
TRKFR#3,"","",""
TRKFR#4,"","",""
TRKFR#5,"","",""
TRKFR#6,"","",""
TRKFR#7,"","",""
TRKFR#8,"","",""
TRKFR#9,"","",""
TRKFR#10,"","",""
TRKFR#11,"","",""
TRKFR#12,"","",""
TRKFR#13,"","",""
TRKFR#14,"","",""
TRKFR#15,"","",""
TRKFR#16,"","",""
TRKFR#17,"","",""
TRKFR#18,"","",""
TRKFR#19,"","",""
TRKFR#20,"","",""
TRKFR#21,"","",""
TRKFR#22,"","",""
TRKFR#23,"","",""
TRKFR#24,"","",""
TRKFR#25,"","",""
TRKFR#26,"","",""
TRKFR#27,"","",""
TRKFR#28,"","",""
TRKFR#29,"","",""
TRKFR#30,"","",""
TRKFR#31,"","",""
TRKFR#32,"","",""
TRKFR#33,"","",""
TRKFR#34,"","",""
TRKFR#35,"","",""
TRKFR#36,"","",""
TRKFR#37,"","",""
TRKFR#38,"","",""
TRKFR#39,"","",""
TRKFR#40,"","",""
TRKFR#41,"","",""
TRKFR#42,"","",""
TRKFR#43,"","",""
TRKFR#44,"","",""
TRKFR#45,"","",""
TRKFR#46,"","",""
TRKFR#47,"","",""
TRKFR#48,"","",""
TRKFR#49,"","",""
TRKFR#50,"","",""
File: "TPS Inputs.txt"
Code:
[System]

  ; 9 groups; 72 channels; 1 locked channel

  Name            = TPS Inputs
  Type            = Conventional
  QuickKey        = 8
  SystemLockout   = Off
  SystemHoldSec   = 0
  ChannelDelaySec = 0
  Attenuator      = Off
  DataSkip        = Off
  Alert           = Off
  Group Presets   = 1 2 3 4 5 6 7 8 9 -


[ConventionalGroup]

  ; group 1;  20 frequencies

  Name     = South Zone
  QuickKey = 1
  Lockout  = Off

  ----  812.1625                     -----  ---  ----
  ----  812.4125                     -----  ---  ----
  ----  815.9625                     -----  ---  ----
(some lines snipped to fit posting limits)


[ConventionalGroup]

  ; group 3;  10 frequencies

  Name     = North Zone
  QuickKey = 3
  Lockout  = Off

  ----  814.5375                     -----  ---  ----
  ----  814.8875                     -----  ---  ----
  ----  816.9125                     -----  ---  ----
  ----  817.4125                     -----  ---  ----
  ----  817.6625                     -----  ---  ----
  ----  817.9125                     -----  ---  ----
  ----  818.1625                     -----  ---  ----
  ----  821.2375                     -----  ---  ----
  ----  821.7375                     -----  ---  ----
  ----  822.2375                     -----  ---  ----


[ConventionalGroup]

  ; group 4;  9 frequencies

  Name     = West Zone
  QuickKey = 4
  Lockout  = Off

  ----  814.7125                     -----  ---  ----
  ----  817.1875                     -----  ---  ----
  ----  817.4375                     -----  ---  ----
  ----  818.1875                     -----  ---  ----
  ----  821.2625                     -----  ---  ----
  ----  821.7625                     -----  ---  ----
  ----  822.2625                     -----  ---  ----
  ----  822.7625                     -----  ---  ----
  ----  822.9875                     -----  ---  ----


[ConventionalGroup]

  ; group 5

  Name     = HQ
  QuickKey = 5
  Lockout  = Off

  ----  861.6875  1 District HQ      110.9  ---  ----
  ----  861.4875  2 District HQ      110.9  ---  ----
  ----  861.9375  3 District HQ      110.9  ---  ----
  ----  861.6625  4 District HQ      110.9  ---  ----
  ----  861.4375  5 District HQ      110.9  ---  ----


[ConventionalGroup]

  ; group 6;  7 frequencies

  Name     = Simplex
  QuickKey = 6
  Lockout  = Off

  ----  857.4875  1 District         110.9  ---  12.5
  ----  857.1875  2 District          67.0  ---    25
  -P--  857.2375  3 District         143    ---  ----
  ----  857.4375  4 District        L110.9  FM   ----
  ----  859.4125  5 District         110.9  NFM  ----
  --GA  857.4375  Court Simplex      107.2  AM   ----  ; Comment text
  L---  861.1875  Lifeguards         110.9  ---  ----  ; another comment


[ConventionalGroup]

  ; group 7

  Name     = ETF
  QuickKey = 7
  Lockout  = Off

  ----  857.2125  ETF 1              110.9  ---  ----
  ----  857.4625  ETF 2              110.9  ---  ----


[ConventionalGroup]

  ; group 8

  Name     = Choppers
  QuickKey = 8
  Lockout  = Off

  ----  859.9125  Durham Chopper     -----  ---  ----
  ----  866.8625  York Chopper       123.0  ---  ----
  ----  867.8625  TPS Chopper 1      110.9  ---  ----
  ----  862.9375  TPS Chopper 2      110.9  ---  ----
  ----  861.0     Peel Chopper        67.0  ---  ----


[ConventionalGroup]

  ; group 9

  Name     = ITAC
  QuickKey = 9
  Lockout  = Off

  ----  866.0125  ICALL              -----  ---  ----
  ----  866.5125  ITAC 1             -----  ---  ----
  ----  867.0125  ITAC 2             -----  ---  ----
  ----  867.5125  ITAC 3             -----  ---  ----
  ----  868.0125  ITAC 4             -----  ---  ----
 
Status
Not open for further replies.
Top