Archive for the ‘D-STAR’ Category

Is AMBE/D-STAR the only way?

Friday, September 2nd, 2011

Every few months, the various D-STAR forums have someone come on and say that AMBE was a bad choice for D-STAR and that it should be replaced by CODEC2 or some other open source CODEC.  Side note: AMBE is not a codec, its a vocoder.

Here is my latest response.

I don’t think anyone is saying that AMBE/D-STAR is the only way to do digital voice on Amateur Radio.

I think what people that do the work, understand the system, and have been at this for awhile get tired of are just a few key points:
  1. Beating up D-STAR over the use of AMBE
    • It’s just a part, like a microprocessor, DSP, etc.
    • It is the best commercially available, off the shelf, component to provide digital human voice over the radio
    • It’s price is reasonable (how it is packaged by some vendors for sale is pretty high for their BOM)
    • It is used in other Amateur Radio products (AOR ARD  digital voice, Alinco digital voice, NXDN, MotoTRBO, next generation P25) without the same vitriol.
  2. People saying we can just modify D-STAR to use Codec-2 or some other Codec
    • Those of us who work with interoperability and implementation standards understand the issues with making non-standard changes to a protocol.
    • Standards are controlled through a process (that the JARL doesn’t execute well), which is where changes should be vetted, voted, and documented.
    • We shouldn’t confuse consumers of a protocol by implementing something different and give it the same (or very similar) name.
    • Introduction of incompatible systems into a working and established network or protocol framework creates unneeded issues.
  3. People taking a narrow view of what the protocol means
    • If you only look at Digital Voice you are leaving out much of the D-STAR protocol
    • Not considering side effects
    • Not understanding how one interconnects incompatible protocols  (through the use of bridges, protocol gateways, etc.)
  4. Market, social, investment, and cultural aspects
    • Acknowledging that most operators want a self-contained radio whether a handheld, mobile, or base.
      • Interconnect issues to external devices creating more points of failure
      • Aesthetics – lost on the experimenter, but for the larger community there is value in an attractive package.
      • They want to buy something off the shelf that is ready to use. (USTrust registration is problematic for this)
    • People who have made investments in infrastructure (repeaters, gateways, etc.) don’t want them “broken” by non-compliant systems
    • Some people like the clarity of AMBEs vocoder and don’t want it mixed with analog or even other systems that don’t fit the same profile.
I, and I venture many others, look forward to additional digital voice and data options.  Maybe something will come of Codec-2, maybe not.  If it proves to be a better technical (not religious) solution and a manufacturer picks it up to create the self-contained radios to build out an entire network like D-STAR, great, the market will decide.  I believe digital is the future and it will evolve, but basically I think the plea is basically, bluntly, “put up or shut up” — in other words, do the work to build something and put it out, in the meantime use what is available without this continued babble about how evil AMBE/D-STAR is and if “somebody” would just make “this change” it would be so much …
Let’s use the D-STAR and related forums and groups to work on D-STAR.  If one wants to do something different create your own community/forum/group and have at it.

A video for ircDDBGateway (pre-STARnet)

Friday, April 22nd, 2011

By VK5ZEA

STARnet Digital Branding and Terms

Tuesday, April 19th, 2011

 

 

The name of the application is “STARnet Digital” (not StarNet, StarNet Digital, or other variations)

Tools, webpages, etc. should follow this branding.  When shortened it is STARnet.

Client stations are STARnet Subscribers or STARnet Users.
Servers are STARnet Digital Group Servers or when shortened they are called a STARnet Server
A network of STARnet Subscribers are called a STARnet Group
A station subscribes to a group, they do not “link”
If a STARnet Group is connected to a DEXTRA (or other) reflector, it is called a STARnet Group Bridge (or bridging)

We should talk in these terms to avoid confusion with “linking” systems like DPLUS or DEXTRA.  It will help the user community start to differentiate between the technologies.  We do not want STARnet Digital to be seen as a linking technology, it is a callsign routed system where each transmission is individually routed with individual clients able to subscribe to multiple groups and individual repeaters able to multiplex multiple groups for different users.

CommAcademy 2011 Talk

Monday, April 18th, 2011

I was a presenter at the CommAcademy in Seattle yesterday.  Here are the slides for my talk.

K7VE-CommAcademy-2011-Presentation

STARnet Digital News

Saturday, April 16th, 2011

Some general groups can be found here.

There is a new Internet Only version of STARnet Digital Server which can be run on an Internet connected computer without any repeaters attached.  This is ideal to place groups in hardened locations like a data center.  The executable and source can be found in the ircDDBGateway packages.

A recently added feature allows a STARnet Digital Group to mirror to and from a DEXTRA reflector (e.g. XRF001 C) to help expose more users to STARnet Digital.

STARnet Digital

Sunday, April 3rd, 2011

Press Release: 3 April 2011
Contact: k7ve@arrl.net

STARnet Digital is a new application for use with D-STAR (Digital Smart Technology for Amateur Radio) that builds upon Smart Technology for Amateur Radio, creating dynamic networks of D-STAR radio stations through the worldwide network of D-STAR gateways and repeaters.

The fundamental building block of a STARnet Digital network is the Group. Each Group is accessed by a Group Callsign. User radios subscribe to a Group by putting the Group Callsign in the destination (UR) address of the D-STAR radio header and keying their transmitter. Once subscribed, any transmissions directed to the Group will be automatically relayed to the repeater where the subscribing station was last heard. The subscribing station can move from repeater to repeater and upon a transmission from the subscribing station to the repeater, the Group will automatically redirect Group transmissions to the subscribing station’s new repeater.

D-STAR was designed to use addressable communications where the originating station selected the destination station by placing the callsign of the remote station in the destination (UR) field of the D-STAR radio. The D-STAR gateway network is responsible for keeping track of individual stations and routing communications based on the destination callsign. This is a one-to-one relationship and creates complications if more than two stations wish to communicate over a variety of gateways and repeaters.

Early D-STAR gateway software was and continues to be closed source with no Application Program Interface (API). To facilitate wide area communications, including a large network of stations, industrious developers created “bolt on” linking technology that “sniffs” network traffic and relays it “out of band” between gateways delivering it to other repeaters for retransmission. We applaud this work and believe that it will continue to provide needed functionality for certain types of network activity.

STARnet Digital takes the native, callsign routed, approach to creating a nework of subscribing stations. The STARnet Digital server looks like a D-STAR repeater to a gateway. The STARnet Digital “repeater” advertises itself to the network, and individual Groups report through that repeater as if they were just another user station with a Group Callsign. Existing D-STAR gateways do not have to add any special software or hardware for its users to subscribe to STARnet Digital Groups, the subscribing stations simply set the destination (UR) address in their radio to the Group Callsign of the Group they wish to communicate with; no linking, no unlinking, no exclusivity of Groups which the repeater can relay.

To setup a STARnet Digital server is easy:

  1. Obtain a non-user (e.g. club) callsign for your gateway and register it at http://regsrv.ircddb.net/index.htm
  2. Wait for the username and password to be returned
  3. Register a user terminal for your Group on USROOT (This can be any callsign that is registered at USROOT) through your local USROOT connected gateway. This is necessary since Icom G2 and G4ULF gateways check USROOT database to authorize transmissions.
  4. Get the latest ircDDBgateway at Yahoo! ircDDBGateway Forum
  5. Install the Microsoft Windows binary or compile and install from the source in the zip file on a Linux box (edit the makefile for your CPU type).
  6. Start the ircddbgateway in GUI mode.
  7. Goto the Edit -> Preferences -> Gateway tab and setup your gateway callsign and longitude/latitude
  8. Goto the ircDDB tab and insert your Gateway’s ircDDB Username/Password
  9. Goto the STARnet 1 tab and select Band (A, B, C, D) to create the virtual repeater on the gateway, put the user terminal callsign in the space provided
  10. Select “OK”, stop and restart the ircddbgateway — once it registers with ircDDB you are ready to test.

The callsign from step 9 above is the Group Callsign. All users that want to talk to the Group will put this callsign in the destination (UR) address field of their radio. For example, if station KQ1ZZZ wanted to participate on a Group with the Group Callsign EX4MPLE, the settings on their radio would be:

MY: KQ1ZZZ

UR: EX4MPLE (from step 9)

RPT1: <Local Repeater Callsign> (Whatever nearby repeater they want to use on the D-STAR network)

RPT2: <Local Repeater Gateway Callsign>

The local gateway must be setup to report into ircDDB, whether the gateway is an Icom G2, G4ULF, etc., or using the native ircDDBgateway. The local gateway needs no additional software installed. You can see if your local gateway is on the ircDDB network by visiting http://www.ircddb.net/ – Select your country and look for the callsign of your local gateway.

When the user transmits for the first time, they will be automatically registered with the Group and any transmissions directed to the Group will be relayed back to the user. If the user moves to another repeater on a gateway that supports ircDDB, and transmits, the Group will follow them and send traffic for the Group to the new repeater. (It will stop sending to the previous repeater if the user was the last subscribing station on that repeater.)

If the station switches repeaters, the UR callsign will automatically switch to CQCQCQ on their radio, and the user will have to re-enter the UR callsign (or use callsign capture, usually the CS/RX button on their radio) to transmit into the group, but receive is automatic. Common Group Callsings are great candidates for the UR memories on the D-STAR radio.

The user can unsubscribe from the Group by setting the UR to the Group Callsign, and put “LOGOFF” in the TX Message/Comment on their radio.  We recommend putting this command in one of the TX message memory slots on the radio for easy access.

The Group may be configured to logoff a user after a period of inactivity or to logoff all users after a set period of inactivity on the Group.

There is one other command that can be placed in the TX Message/Comment field, “INFO” which will return a short description of the Group associated with the Group Callsign.

A user can subscribe to more than one Group at a time, but must set the destination (UR) call to each group individually with which the user wishes to send traffic.

Gateway operators may wish to use ircDDBgateway as their primary gateway software. It is Free Open Source Software (FOSS) under the GNU license. It can be configured to operate with the Icom RP2C controller, GMSK node adapters, or use soundcard GMSK modem software. It has connectivity for DExtra, DPlus (client only), D-RATS (login), D-PRS (GPS A only), and STARnet Digital. A single ircDDBgateway can manage repeaters and Groups at the same time. It uses ircDDB for all callsign routing and updates and does not use Trust Servers for any purpose.  Support is through the ircDDBGateway Yahoo! Forum.

Whereas the STARnet Digital software is FOSS, we invite others to contribute to its development and inclusion in other gateways or similar projects.

DVDongles, DVAPs, and DVAR Hotspots will not be able to use STARnet Digital since they do not currently support native D-STAR callsign routing, which is the transport technology for STARnet Digital. These devices use DPLUS linking rather than native D-STAR callsign routing. The STARnet Digital team would like to see software developed where these devices authenticate using strong authentication to a proxy server that would allow callsign routing to and from these “stations”. (Those individuals who currently run HotSpots, are advised that both G4ULF and ircDDBGateway software can operate on simplex radios and provide full callsign routing functionality.)

STARnet Digital was conceived and functionally designed by John Hays, K7VE, with code design, engineering, and implementation by Jonathan Naylor, G4KLX. It builds on the work of many others, including the JARL which developed the D-STAR protocol, and the ircDDB network team, for which we are grateful.

This is the first public beta of the software, additional features such as a visualization layer, and additional gateway operator tools, are currently under design and consideration. Currently group callsigns must be regular Trust Server registered terminals and we ask that “tactical” callsigns not be used until the USROOT Trust Server team has an opportunity to study if using “tactical” callsigns, such “NYARES A” will create any issues with their systems. Also, if the ircDDBgateway is not supporting RF modules, it may be possible to use tactical names for these as well, but again, let the USROOT and ircDDB teams have time to consider any unintended consequences of such a move.

See: http://k7ve.org/blog/2011/04/starnet-digital/ for further information.

D-STAR is a protocol developed by the JARL (Japan Amateur Radio League). It is also a registered trademark of Icom Corporation in the United States and certain other countries.

NW7DR – A quick update

Wednesday, September 29th, 2010

Last week a few changes and improvements were made to NW7DR B, my Kenwood TKR-820 modified for compatibility with D-STAR.

  1. With the assistance of my son, James – KC7OSO, the antenna was moved from the deck of my house, to a pole on the roof.
  2. With the assistance of David Lake, G4ULF, I upgraded the gateway software to NI-STAR and moved the system over to the USROOT Trust Server. Included in this install are DPLUS (linking) and D-PRS (GPS reporting) support.
  3. I integrated ircDDB support.
  4. Here is the new coverage plot for the repeater as computed by SPLAT! (Coverage is primarily in the yellow and red/orange area — due to low power of the repeater):

More later…

DCC Presentation

Friday, September 24th, 2010

Here is a pdf file of the slides I used for the development presentation at DCC on Friday: D-STAR for the Technically Curious

Several of the open source packages mentioned in the presentation seem to have been moved from the locations listed, you can find many of them here: KB9MWR qsl.net VOIP/DSTAR

Here is a pdf file of the slides I used for the introduction presentation at DCC on Saturday: DCC D-STAR Introduction

Converting the Kenwood TKR-820 to use with D-STAR

Monday, June 28th, 2010

Converting the Kenwood TKR-820 for use with D-STAR is almost trivial. Here is what you need to do this project.

First you need a TKR-820 (or 720 for VHF) complete with duplexer, antenna, etc., tuned to your repeater pair.  These are currently available on E-Bay (repeater and optionally a duplexer) for around $250-500 as pulled from commercial service. This is a nice little repeater which can run 5W for 100% duty cycle up to around 25W at a decreasing duty cycle. (I’m running around 10 Watts.)

Image of NQMHS with DE-9 plugged In

NQMHS w/DE-9 Plugged-In

Next you need to purchase a node adapter.  I use the “Not Quite So Mini Hot Spot” (NQSMHS) board from ENIcommunications. It comes either as a kit for $80 or pre-built for $110.  I chose the prebuilt version and this post is based on using this version of node adapter.  There are others in the marketplace, but I cannot say if additional work will be required to use them with the TKR-820.

The next order of business is building the cable to go from the NQSMHS to the TKR-820.  The NQSMHS uses a DE-9 plug and the TKR-820 has a great accessory jack which is a Molex 1625-15.  I had a DE-9 socket in the junk box, and purchased the 1625-15PRT, socket and plug, from the local Fry’s Electronics.

DE-9 Image

DE-9 Example

The pinout for the DE-9 is as follows:

1 – Audio to Repeater (Modulator)
2 – Carrier Operated Squelch from Radio (Not actually used with the PA4YBR firmware, but I wire it anyway)
3 – Audio from Repeater (Discriminator Audio)
4 – Key Repeater Transmitter (PTT)
5 – Ground
9 – +12VDC (To power the node adapter, use this instead of USB power for better reliability)

Molex plug image

Molex 1625-15P Example

The Molex 1625-15P (plug) pinout:

Jumper pin 1 to pin 11.  This tells the Repeater it is being controlled by an external controller via the accessory plug (green wire in photo).  Note: if your repeater happens to have an ID-8 module, you will get a CW-ID periodically.  You want to remove or disable it.

Pin 2 is used for ground to the NQSMHS board.
Pin 3 is the modulator input (audio from the NQSMHS)
Pin 4 is the discriminator output (audio to the NQSMHS)
Pin 7 is a +12 VDC source (1 AMP – verify fusing when sourcing)
Pin 8 is the external PTT line
Pin 13 is the carrier operated squelch (COS) also documented as RUS by Kenwood.

Check all of your wiring.

Signal NQSMHS
DE-9 Pin
Molex
1625-15P Pin
My
Wire Color
Modulator In 1 3 White/Orange
COS/RUS 2 13 Orange
Discriminator Out 3 4 White/Green
PTT 4 8 Blue
Ground 5 2 White/Blue
+12V Power 9 7 Brown
Jumper - 1 to 11 Green

Please verify these pinouts against documentation for each device. These work for my configuration, but your repeater may be different. No warranty is expressed or implied. Perform at your own risk.

You will note that no conditioning of lines, such as bypass capacitors, resistors, etc. are included in these instructions. My repeater and board just play together nicely.

This should complete your cable.  If you haven’t guessed I used a piece of CAT-5 cable between the connectors. (Shielded/Stranded cable would be better – I also add some clamp on ferrite cores to this and especially the USB cable.)

Plug the DE-9 into the NQSMHS (as above), and the Molex 1625-15P into the repeater.

Image of TKR-820 with cable plugged In

Molex 1625-15P Plugged into TKR-820

Attach the antenna (or service monitor) and power, adjust the NQSMHS and the modulator for approximately 1.2 Khz deviation.  Adjust power for your use.

Using the firmware tools, insure that transmission is of the proper format (inverted/not inverted) and adjust the NQSMHS for proper detection of data coming from the repeater.

DVAR-Hot-Spot

Screen of DVAR Hotspot in operation

You can now fire up DVAR Hot Spot, with proper configuration.  With a properly registered callsign and configuration you should now be able to link to repeaters, reflectors, and other HotSpots. Note: I tried a netbook to run DVAR with this NQSMHS and it would not key PTT, I think it was a USB drive level. switching to a full size computer solved the problem.

Here is the final product for the NW7DR repeater:

Image of TKR-820 and NQMHS

This is the NW7DR Repeater in operation

My repeater is literally a classic “garage repeater.” The TKR-820 should perform in traditional repeater settings, though for such high RF installations better cabling and packaging of the NQSMHS (shielded) is probably warranted.  The NQSMHS could be mounted internally to the case, pushing the Molex socket inside and running the USB cable out the opening to the controlling computer.

My plan is to move this repeater over to G4ULF’s G2 compatible gateway software after release.  I have a lovely 1U Linux server just waiting to replace the surplus Windows/XP tower currently attached to the NQSMHS.

[UPDATE]

I am currently running Jonathan Naylor’s ircDDBGateway, to support STARNet Digital, along with the GMSK repeater in pcrepeatercontroller.

You can see the Dashboard at NW7DR

[/UPDATE]

Good luck with your conversion!

Authentication on RF D-STAR Protocol

Wednesday, June 23rd, 2010

The question was asked by a Russian ham:

Do we have a procedure to implement this feature (air interface authentication) in D-Star?
For radio digital protocol it should not be difficult technically.

There is nothing in the protocol to support authentication, it only provides identification.  Current generation radios implement the standard and that standard has no mechanism for authentication.  Authentication would have to be an add on application and for current radios, that would mean some form of external device to handle the authentication mechanism.  Any true authentication would have to have an irrefutable token, probably some public/private key mechanism with distribution of keys to licensees off the air (e.g. via secure Internet transfer).  In some countries it may be problematic to use such an authentication system since it might include an encrypted token between radios and some countries forbid encryption on RF, though this might be considered a control signal.  Such a system also would be fairly impractical because of database size and updates for mobile stations.

You can’t depend on a network based authentication service as such an extension would, by definition, have to support simplex transmissions off the network.

For most of us, there is no need for such a system as this is amateur radio, a hobby, and largely self policed.  There are regulations that can support prosecution of those who choose to abuse the hobby.  For example, in the US it would be very easy to say that anything other than the operator’s station callsign in the “MYCALL” field of a D-STAR signal would be a false identification, which is expressly forbidden in the US Regulations  97.113a(4) “…messages encoded for the purpose of obscuring their meaning, except as otherwise provided herein; obscene or indecent words or language; or false or deceptive messages, signals or identification;” …  There will always be callsign pirates and those who do not identify at all, and weak authentication just will encourage increased anti-social behavior.

At the repeater/gateway level, it would be fairly easy to filter out calls that don’t have recognized callsigns.  This should probably be implemented.  I have written a regex (Regular Expression) filter that is pretty effective in finding patterns that look like amateur callsigns or one could implement a filter that checks a database of callsigns (such as the G1/G2 registration system), but none of these prevent pirates.  One hazard of such a filter is bit loss in the address fields creating an unrecognizable callsign, which would be rejected for an otherwise legitimate transmission, with no feedback to the transmitting operator who may speak for an extended period.

The Callsign Regex

^[A-Z0-9]{1}[A-Z0-9]{0,1}[0-9]{1}[A-Z ]{4,8}[A-Z 0-9]{0,1}$

I support a no pre-registration approach. A new user should be able to buy a radio, program MYCALL, and get on the network from RF (network connected devices are another story).  This means either the filter has rules of what a MYCALL should look like, or have automatic lookup of any and all callsigns issued — pretty easy to do in countries like the US where the license database is a public record and freely distributed (with daily updates) but may be nearly impossible in countries where such data is not freely and regularly available.

So “technically” solutions could be derived, but from a regulatory, D-STAR standard extension, and pragmatic point of view, this may be very difficult.