Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
[[Category:How to]]
 
[[Category:How to]]
 +
[[Category:Node Configuration]]
 
= MDC-1200 =
 
= MDC-1200 =
   
[https://en.wikipedia.org/wiki/MDC-1200 MDC-1200] support has been avialble as a compile time option since app_rpt 0.225 and is now enabled by default.
 
[https://en.wikipedia.org/wiki/MDC-1200 MDC-1200] support has been avialble as a compile time option since app_rpt 0.225 and is now enabled by default.
    
== MDC-1200 decoding display ==
 
== MDC-1200 decoding display ==
   
On the CLI when MDC-1200 is received the following will be displayed:
 
On the CLI when MDC-1200 is received the following will be displayed:
   Line 65: Line 64:  
Put an [mdcmacro] clause in rpt.conf
 
Put an [mdcmacro] clause in rpt.conf
   −
<pre>
+
<syntaxhighlight lang="ini">
 
IXXXX=*something        ; will match PTTID XXXX
 
IXXXX=*something        ; will match PTTID XXXX
   Line 73: Line 72:     
CXXXX-YYYY=*something  ; will match unit XXXX calling unit YYYY
 
CXXXX-YYYY=*something  ; will match unit XXXX calling unit YYYY
</pre>
+
</syntaxhighlight>
    
The character '%' may be used to match any single character and '*' may be used to match any number of characters.  
 
The character '%' may be used to match any single character and '*' may be used to match any number of characters.  
    
For example:
 
For example:
<pre>
+
<syntaxhighlight lang="ini">
 
E*=*something  ; would match ANY ID with an emergency
 
E*=*something  ; would match ANY ID with an emergency
</pre>Note that if you have a macro setup to do something based on ID it will execute once if it hears the ID multiple times in a row (ie during testing).  If you are testing a macro based on unit ID such as:
+
</syntaxhighlight>Note that if you have a macro setup to do something based on ID it will execute once if it hears the ID multiple times in a row (ie during testing).  If you are testing a macro based on unit ID such as:
[mdcmacro]
+
<syntaxhighlight lang="ini">[mdcmacro]
I1701=*81#
+
I1701=*81#</syntaxhighlight>
 
This will announce the time only once if there are no other MDC ID's received between hearing ID 1701.
 
This will announce the time only once if there are no other MDC ID's received between hearing ID 1701.
   Line 88: Line 87:     
MDC-1200 bursts maybe sent from macros or the commpand line via cop,60:
 
MDC-1200 bursts maybe sent from macros or the commpand line via cop,60:
<pre>
+
<syntaxhighlight lang="ini">
 
function_code=cop,60,type,UnitID[,DestID,SubCode]
 
function_code=cop,60,type,UnitID[,DestID,SubCode]
</pre>
+
</syntaxhighlight>
    
  Type is 'I' for PttID, 'E' for Emergency, and 'C' for Call
 
  Type is 'I' for PttID, 'E' for Emergency, and 'C' for Call
Line 108: Line 107:     
For example in a macro:
 
For example in a macro:
<pre>
+
<syntaxhighlight lang="ini">8765=cop,60,I,1234                    ; send MDC PTTID 1234
8765=cop,60,I,1234                    ; send MDC PTTID 1234
+
8766=cop,60,C,1600,1701,8015          ; Send MDC1200 call burst using unitID 1600, DestID 1701, and Maxtrac Selective call Subcode</syntaxhighlight>
8766=cop,60,C,1600,1701,8015          ; Send MDC1200 call burst using unitID 1600, DestID 1701, and Maxtrac Selective call Subcode
  −
</pre>
      
From the command line sending a unit call to a CDM1550 unit 1701 from unit 1600:
 
From the command line sending a unit call to a CDM1550 unit 1701 from unit 1600:
<pre>
+
<syntaxhighlight lang="sh">rpt cmd 41618 cop 60 C,1600,1701,8205</syntaxhighlight>
rpt cmd 41618 cop 60 C,1600,1701,8205
  −
</pre>
 

Navigation menu