WIP: NMT docs
This commit is contained in:
parent
a5db02775e
commit
0aa749d27b
1
README
1
README
|
@ -5,6 +5,7 @@ and from mobile phone. Currently supported networks:
|
|||
|
||||
* A-Netz base station
|
||||
* B-Netz (ATF-1) base station
|
||||
* NMT (Nordic Mobile Telephone)
|
||||
|
||||
|
||||
USE AT YOUR OWN RISK!
|
||||
|
|
|
@ -23,6 +23,7 @@ A base station emulator for classic mobile networks. All these networks use anal
|
|||
<li><a href="headset.html">Connecting headset</a></li>
|
||||
<li><a href="a-netz.html">Using A-Netz phone</a></li>
|
||||
<li><a href="b-netz.html">Using B-Netz phone</a></li>
|
||||
<li><a href="nmt.html">Using NMT phone</a></li>
|
||||
</ul>
|
||||
</center>
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@ int dsp_init_sender(nmt_t *nmt)
|
|||
int16_t *spl;
|
||||
int i;
|
||||
|
||||
/* attack (3ms) and recovery time (13.5ms) according to NMT specs */
|
||||
init_compander(&nmt->cstate, 8000, 3.0, 13.5);
|
||||
|
||||
if ((nmt->sender.samplerate % (BIT_RATE * STEPS_PER_BIT))) {
|
||||
|
|
|
@ -441,7 +441,7 @@ static int match_area(nmt_t *nmt, frame_t *frame)
|
|||
|
||||
traffic_area = ((frame->area_info & 0x3) << 4) | frame->traffic_area;
|
||||
if (nmt->sysinfo.traffic_area != 0 && (nmt->sysinfo.traffic_area & 0x3f) != traffic_area) {
|
||||
PDEBUG(DNMT, DEBUG_NOTICE, "Received traffic 6 bits of traffic area (0x%02x) does not match the 6 bits of base station's traffic area (0x%02x), ignoring.\n", nmt->sysinfo.traffic_area & 0x3f, traffic_area);
|
||||
PDEBUG(DNMT, DEBUG_NOTICE, "Received 6 bits of traffic area (0x%02x) does not match the 6 bits of base station's traffic area (0x%02x), ignoring.\n", nmt->sysinfo.traffic_area & 0x3f, traffic_area);
|
||||
return 0;
|
||||
}
|
||||
skip_area:
|
||||
|
|
Loading…
Reference in New Issue