| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
<chapter xml:id="reverseEngineering" |
| 4 |
xmlns="http://docbook.org/ns/docbook" |
| 5 |
xmlns:xlink="http://www.w3.org/1999/xlink" |
| 6 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 7 |
|
| 8 |
<info> |
| 9 |
<title>Reverse engineering</title> |
| 10 |
</info> |
| 11 |
|
| 12 |
<para> |
| 13 |
The majority of the development time needed for <application>qdmr</application>, consists of |
| 14 |
reverse engineering the code plug and communication protocols of the radios. Fortunately, many |
| 15 |
radios share the same communication protocol, in particular those from the same manufacturer. |
| 16 |
Sometimes these protocols are even used by other manufacturers. Even if the protocol is |
| 17 |
already implemented in <application>qdmr</application>, you may need to reverse engineer the |
| 18 |
code plug format. This step has to be performed always, even if an already implemented code plug |
| 19 |
is reused, you will need to verify that format. Any mistake here, may brick your device. |
| 20 |
</para> |
| 21 |
<note> |
| 22 |
<para> |
| 23 |
Before you attempt to reverse engineer anything, consider to invest some significant time in |
| 24 |
research. Reverse engineering is an cumbersome and frequently frustrating task, there is no |
| 25 |
need to waste your valuable time on something, that someone else has already done. Also, |
| 26 |
consider documenting and publishing your results, so others can find it, even if it is |
| 27 |
incomplete. Someone else might pickup your work and complete it. |
| 28 |
</para> |
| 29 |
</note> |
| 30 |
<para> |
| 31 |
In the following sections, I attempt to describe, how I approach reverse engineering the |
| 32 |
communication protocols and code plugs. To this end, I hope it might help you in your reverse |
| 33 |
engineering work. And if you like, you may contribute your work to qdmr. |
| 34 |
</para> |
| 35 |
|
| 36 |
<xi:include href="protocol.xml"/> |
| 37 |
<xi:include href="codeplug.xml"/> |
| 38 |
|
| 39 |
</chapter> |