# Example of DMR receiver

**URL:** <https://www.ruby-forum.com/t/example-of-dmr-receiver/233963>\
**Category:** GNU Radio\
**Created:** [January 26, 2015, 4:38pm UTC](https://www.ruby-forum.com/t/example-of-dmr-receiver/233963 "2015-01-26T16:38:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 26, 2015, 4:38pm UTC](https://www.ruby-forum.com/t/example-of-dmr-receiver/233963/1 "2015-01-26T16:38:43Z")

</div>

Hello,

My first touch to the Gnu Radio happened this weekend. I managed to  
listen  
a local FM repeater but building a DMR receiver was too tough.

Please, could someone send me a simple working DMR receiver file (\*.grc)  
which has a DSD block.

Thanks advanced

73 de Veijo OH3NFC

---

<div class="post-metadata">

**Author:** ![Veijo\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c89c15/32.png) [@Veijo\_A](https://www.ruby-forum.com/u/Veijo_A)\
**Post date:** [January 26, 2015, 7:04pm UTC](https://www.ruby-forum.com/t/example-of-dmr-receiver/233963/2 "2015-01-26T19:04:54Z")

</div>

Veijo,

> **[GitHub - argilo/gr-dsd: GNU Radio block for Digital Speech Decoder](https://github.com/argilo/gr-dsd)**
>
> GNU Radio block for Digital Speech Decoder

Be advised that mbelib may not be legal to use, hence the anonymity of  
the  
authors.

This ambiguity could be eliminated if someone created a block to use an  
AMBE-3000 device.

One source of AMBE devices is  
[http://nwdigitalradio.com/thumbdv-and-dv3000-resource-page](http://nwdigitalradio.com/thumbdv-and-dv3000-resource-page) (I am  
affiliated  
with this company).

Talking to the AMBE-3000 devices listed is pretty straightforward,  
should  
someone be inclined.

Open the device as a serial port at 230.4 kbps.

It’s a simple packet interface and every packet has a reply.

Send a reset packet hex _61 00 01 00 33_ at program startup

Then query for model number packet with hex _61 00 01 00 30_ and look  
for  
AMBE3000 in reply

Set D-STAR mode with _61 00 0c 00 0a 01 30 07 63 40 00 00 00 00 00 00  
48_  
Set Yaesu, P25 , DMR, etc. HR mode with \*61 00 0c 00 0a 04 31 07 54 24  
00  
00 00 00 00 6F 48 \*  
(See page 83 of AMBE-3000 manual – link below)

From there, you send in audio 16-bit linear PCM data sampled at 8 kHz  
in  
packets and it sends out AMBE in packets. (You can also use 8-bit  
ulaw/alaw  
but the PCM is better quality)

Audio header is _61 01 42 02 00 A0_

Or send in AMBE packets and receive audio packets.

AMBE header is _61 00 0B 01 01 48_

Pretty much it, just need to frame packet data based on the packet  
protocol.

The manual is at [http://www.dvsinc.com/manuals/AMBE-3000\_manual.pdf](http://www.dvsinc.com/manuals/AMBE-3000_manual.pdf) –  
see  
Chapter 6. Current software uses the non-parity field version, but you  
are  
free to use either.

On Mon, Jan 26, 2015 at 7:37 AM, Veijo A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 73 de Veijo OH3NFC
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–

---

<div class="post-metadata">

**Author:** ![Veijo\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c89c15/32.png) [@Veijo\_A](https://www.ruby-forum.com/u/Veijo_A)\
**Post date:** [January 27, 2015, 10:39am UTC](https://www.ruby-forum.com/t/example-of-dmr-receiver/233963/3 "2015-01-27T10:39:42Z")

</div>

Yep, gr-dsd works great, I can monitor my DMR repeater with it just  
fine. I just wonder why they left out TETRA, the infrastructure (by  
means of SW) should be already there…

Ralph.

From: discuss-gnuradio-bounces+ralph=removed\_email\_address@domain.invalid  
[[mailto:discuss-gnuradio-bounces+ralph=removed\_email\_address@domain.invalid](mailto:discuss-gnuradio-bounces+ralph=removed_email_address@domain.invalid)] On Behalf Of  
John D. Hays  
Sent: Monday, January 26, 2015 7:03 PM  
To: Veijo A.  
Cc: removed\_email\_address@domain.invalid  
Subject: Re: [Discuss-gnuradio] Example of DMR receiver

Veijo,

> **[GitHub - argilo/gr-dsd: GNU Radio block for Digital Speech Decoder](https://github.com/argilo/gr-dsd)**
>
> GNU Radio block for Digital Speech Decoder. Contribute to argilo/gr-dsd development by creating an account on GitHub.

Be advised that mbelib may not be legal to use, hence the anonymity of  
the authors.

This ambiguity could be eliminated if someone created a block to use an  
AMBE-3000 device.

One source of AMBE devices is  
[http://nwdigitalradio.com/thumbdv-and-dv3000-resource-page](http://nwdigitalradio.com/thumbdv-and-dv3000-resource-page) (I am  
affiliated with this company).

Talking to the AMBE-3000 devices listed is pretty straightforward,  
should someone be inclined.

Open the device as a serial port at 230.4 kbps.

It’s a simple packet interface and every packet has a reply.

Send a reset packet hex 61 00 01 00 33 at program startup

Then query for model number packet with hex 61 00 01 00 30 and look for  
AMBE3000 in reply

Set D-STAR mode with 61 00 0c 00 0a 01 30 07 63 40 00 00 00 00 00 00 48

Set Yaesu, P25 , DMR, etc. HR mode with 61 00 0c 00 0a 04 31 07 54 24 00  
00 00 00 00 6F 48

(See page 83 of AMBE-3000 manual – link below)

From there, you send in audio 16-bit linear PCM data sampled at 8 kHz  
in packets and it sends out AMBE in packets. (You can also use 8-bit  
ulaw/alaw but the PCM is better quality)

Audio header is 61 01 42 02 00 A0

Or send in AMBE packets and receive audio packets.

AMBE header is 61 00 0B 01 01 48

Pretty much it, just need to frame packet data based on the packet  
protocol.

The manual is at [http://www.dvsinc.com/manuals/AMBE-3000\_manual.pdf](http://www.dvsinc.com/manuals/AMBE-3000_manual.pdf) –  
see Chapter 6. Current software uses the non-parity field version, but  
you are free to use either.

On Mon, Jan 26, 2015 at 7:37 AM, Veijo A. \<removed\_email\_address@domain.invalid  
[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) \> wrote:

Hello,

My first touch to the Gnu Radio happened this weekend. I managed to  
listen a local FM repeater but building a DMR receiver was too tough.

Please, could someone send me a simple working DMR receiver file (\*.grc)  
which has a DSD block.

Thanks advanced

73 de Veijo OH3NFC

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid [mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–

* * *

John D. Hays  
K7VE

PO Box 1223, Edmonds, WA 98020-1223

[http://k7ve.org/blog](http://k7ve.org/blog)[http://twitter.com/#!/john\_hays](http://twitter.com/#!/john_hays)  
[http://www.facebook.com/john.d.hays](http://www.facebook.com/john.d.hays)
