Using MDC1200 as Telemetry?

Hello,

I've got a repeater up and running with a URIx/Asterisk/App_Rpt/ACID combination... I'm getting into features that I wanted to run the setup for now, but I'm new to all the code in Asterisk.

I'm wondering if I can do this:

Upon receipt of an MDC1200 packet, namely the Unit ID, copy the Unit ID to a variable... Next, as the receiver should be receiving a valid signal and providing the COR signal to the URIx to accept the packet in the first place, and a transmission should be occurring, wait for the transmission to end, and when the COR drops from the receiving radio, encode an MDC1200 packet with the variable of the Unit ID originally set when the system received an MDC1200 packet.

I'd like to use this as a type of telemetry, where the repeater will send out the MDC1200 Unit ID of the radio which keyed it on the last transmission upon unkey.

I was also wondering if you would be able to keep the system in a non-repeating state, until it received a valid MDC1200 packet. I've gotten the [mdcmacro] clause to issue a COP 2 and take it out of the COP 3 system disabled state... However the system remains enabled and I don't know how to disable it again upon unkey. I've also noticed the MDC Macro will only run the first time a packet is received... Afterwards it simply ignores the MDC Macro whenever it receives a matching packet.

Thanks for any help anyone can provide.

Hi Pyrodox,

MDC Access mode (squelch) is possible, as well as Macro switching and MDC Status usage, to made detection over the air harder. This will keep the RX quiet until a listed code is received *every time*, including commands! So you can't sneak DTMF stuff in under the covers.

In /etc/asterisk/rpt.conf:
dtmfkey = yes

[mdcmacro]
; Access List when in MDC mode
I0001 = K5678 ; MDC ID 0001 will equate to 5678 DTMF code, works with dtmfkey above
;
; MDC ID's used for Macro switching (example macro commands)
;
IA001 = *851 ; Macro 1 - Normal Mode, Link Off, Long Tail, PL Access
IA002 = *852 ; Macro 2 - System Disable
IA003 = *853 ; Macro 3 - Remote Base up monitor only, PL Access, Short Tail
IA004 = *854 ; Macro 4 - Remote Base up transceive, MDC Access, Short Tail
IA005 = *855 ; Macro 5 - Remote Base up transceive, PL Access, Short Tail - Net only
;
; MDC Status
;
S0001-1 = *851;
S0001-2 = *852;
S0001-3 = *853;
S0001-4 = *854;
S0001-5 = *855;

[dtmfkeys] ; listing of MDC1200 ID's in /tmp/mdc.log file
5678=KT9AC

Hope this helps!
Tony

···

On 9/13/2012 8:51 AM, Pyrodox Lion wrote:

Hello,

I've got a repeater up and running with a URIx/Asterisk/App_Rpt/ACID combination... I'm getting into features that I wanted to run the setup for now, but I'm new to all the code in Asterisk.

I'm wondering if I can do this:

Upon receipt of an MDC1200 packet, namely the Unit ID, copy the Unit ID to a variable... Next, as the receiver should be receiving a valid signal and providing the COR signal to the URIx to accept the packet in the first place, and a transmission should be occurring, wait for the transmission to end, and when the COR drops from the receiving radio, encode an MDC1200 packet with the variable of the Unit ID originally set when the system received an MDC1200 packet.

I'd like to use this as a type of telemetry, where the repeater will send out the MDC1200 Unit ID of the radio which keyed it on the last transmission upon unkey.

I was also wondering if you would be able to keep the system in a non-repeating state, until it received a valid MDC1200 packet. I've gotten the [mdcmacro] clause to issue a COP 2 and take it out of the COP 3 system disabled state... However the system remains enabled and I don't know how to disable it again upon unkey. I've also noticed the MDC Macro will only run the first time a packet is received... Afterwards it simply ignores the MDC Macro whenever it receives a matching packet.

Thanks for any help anyone can provide.
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
ohnosec.org

1 Like