DMRplus IPSC Protocol For HB Repeater
DMRplus IPSC Protocol For HB Repeater
Revision History:
The repeater connects to the master by issuing the seven byte RPTL command below:
'R' 'P' 'T' 'L' followed by the repeater id as a four byte binary integer.
Example: RPTL00040178
The master replies with either MSTNAK if the repeater id is not recognized or some other reason not
to allow the repeater to log in, or a MSTACK if authentication can begin, these are detailed below:
'M' 'S' 'T' 'N' 'A' 'K' followed by the repeater id as a four byte binary integer.
Example: MSTNAK00040178
'M' 'S' 'T' 'A' 'C' 'K' followed by the repeater id as a four byte binary integer
and a random 32-bit integer.
Example: MSTACK000401780A7ED498
This 32-bit integer is prepended to a secret pass phrase issued by the person running the master and
is in effect the password for system entry for this repeater. The 32-bit integer should be interpreted
as a 32-bit pattern and not as an integer and used as-is.
This new passphrase is then subject to SHA-256 and the reply sent to the master:
'R' 'P' 'T' 'K' followed by the repeater id as a four byte binary integer
and by the SHA-256 output.
Example: (with a passphrase “DL5DI” and the random number from the example above the SHA-256 is built
from “0A7ED498DL5DI”)
RPTK00040178cbf0e29abbd11c6573825d36a664e3064441f91fc815ac5dc5ca570d4c4a5f85
If all is well then the master will reply with MSTACK if the login was successful or an MSTNAK is the
login was rejected.
'M' 'S' 'T' 'A’ 'C' 'K' followed by the repeater id as a four byte binary integer.
Example: MSTACK00040178
'M' 'S' 'T' 'N' 'A' 'K' followed by the repeater id as a four byte binary integer.
Example: MSTNAK00040178
Every minute a ping message will be sent by the repeater to the master and it will expect a reply
from the master.
If no reply is received from the master within a certain period, the repeater will try another ping and
await a pong. This will occur a number of times spaced one minute apart.
If no ping is received the master will mark the link as dead. Any later packets from the repeater are
met with MSTNAK replies and the repeater should log into the master again.
These are:
'M' 'S' 'T' 'P' 'I' 'N' 'G' followed by the repeater id as a four byte binary integer.
Example: MSTPING00040178
'R' 'P' 'T' 'P' 'O' 'N' 'G' followed by the repeater id as a four byte binary integer.
Example: RPTPONG00040178
If the master is closing down then it should send a MSTCL to all of the attached repeaters and if a
repeater is closing down it should send an RPTCL to the master.
These are:
'M' 'S' 'T' 'C' 'L' followed by the repeater id as a four byte binary integer.
Example: MSTCL00040178
'R' 'P' 'T' 'C' 'L' followed by the repeater id as a four byte binary integer.
Example: RPTCL00040178
After logging in, the repeater will send a packet detailing it's configuration to the master.
All fields have a fix length, all 16/32bit hex values have the order like on air (ETSI spec).
The packet format is:
'M' 'S' 'T' 'A’ 'C' 'K' followed by the repeater id as a four byte binary integer.
Example: MSTACK00040178
All data passing packets have the same format and are 53 bytes in length.
The content is:
Additional Information:
Name Comment
RptrId 3 Bytes registered DMR-ID for public repeaters, 4 Bytes for private repeaters.
This is the User-ID of the owner with a 1 Byte prefix or suffix.
Details will follow after coordination with DMR admin team.
901xxx worldwide system IDs for dongle, hotspot and other add on networks
(coordinated by DMRplus network team, not registered individually, example: 901004 for DV4
dongle network).
Location, In all free-text fields the author of the application software has to make sure that the
Description, content is free of URLs, HTML tags, special characters and local language characters.
Software-ID