Project

General

Profile

T-DisplayTel » History » Version 7

laforge, 07/25/2022 08:08 AM
gitea

1 2 laforge
h1. T-DisplayTel
2 1 laforge
3
This is probably the only ISDN Phone with built-in [[BTX]] Terminal that was ever made.
4
5
h2. Pictures
6
7
FIXME
8 2 laforge
9
h2. Making the BTX / Datex-J terminal work
10
11
@laforge has been attempting to find out what needs to be done to get the BTX/terminal part of T-DisplayTel to work.
12
13
On the D-channel signaling side, it is establshing a normal _UDI (unrestricted digital information)_, no specific HLC/LLC.
14
15 4 laforge
The more interesting question is what it speaks on the B-channel.
16 2 laforge
17
h3. Accepting the call, dumping raw B channel
18
19
When accepting a call (from the simulated BTX server side), the T-DisplayTel unexpectedly doesn't send HDLC but some 0xff-padding based signaling:
20
21
<pre>
22
00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
23
*
24
00000040  ff ff ff ff ff ff ff ff  ff ff ff ff fb 05 7c 59  |..............|Y|
25
00000050  df ed f7 ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
26
00000060  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
27
*
28
00001f20  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff fb  |................|
29
00001f30  05 7c 59 df ed f7 ff ff  ff ff ff ff ff ff ff ff  |.|Y.............|
30
00001f40  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
31
*
32
00007ce0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff fb  |................|
33
00007cf0  05 7c 59 df ed f7 ff ff  ff ff ff ff ff ff ff ff  |.|Y.............|
34
00007d00  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
35
*
36
0000daa0  ff ff ff ff ff ff ff ff  ff ff ff ff fb 05 7c 59  |..............|Y|
37
0000dab0  df ed f7 ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
38
0000dac0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
39
*
40
00013860  ff ff ff ff ff ff ff ff  7e 01 5f d6 77 fb fd ff  |........~._.w...|
41
00013870  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
42
*
43
00019620  ff ff ff ff ff ff fb 05  7c 59 df ed f7 ff ff ff  |........|Y......|
44
00019630  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
45
*
46
0001f3e0  ff ff ff ff 7e 01 5f d6  77 fb fd ff ff ff ff ff  |....~._.w.......|
47
0001f3f0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
48
*
49
000251a0  ff fb 05 7c 59 df ed f7  ff ff ff ff ff ff ff ff  |...|Y...........|
50
000251b0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
51
*
52
0002b310  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ab ab  |................|
53
0002b320  ab ab ab ab ab ab ab ab  ab ab ab ab ab ab ab ab  |................|
54
</pre>
55
56
So we see two messages, with a lot of 'ff' padding in between:
57
<pre>
58
fb 05 7c 59 df ed f7
59
7e 01 5f d6 77 fb fd
60
</pre>
61 1 laforge
62 7 laforge
If we re-order the bits of each byte and then HDLC decode (e.g. with https://gitea.osmocom.org/cellular-infrastructure/osmo-e1-recorder/src/branch/master/src/hdlc-test.c) we get
63 4 laforge
<pre>
64
fffb057c59dfedf7ff => F 01 3f eb df F
65
ff7e015fd677fbfdff => F 01 3f eb df F
66
</pre>
67
68
so it's actually a repeat transmission of the same frame.
69 2 laforge
70
h3. establishing a call against an ISDN TA
71
72
Establishing call towards ISDN TA ([[US_Robotics_Sportster_ISDN_TA_Ext]]) and playing with the B-channel protocol on the TA, I can get a "proper" connection established when putting the TA into *T.70-NL* mode (@ATB22@).  No success with HDLC, X.75 or V.120.
73
74
When the T.70-NL call is established, the DisplayTel cleaars its screen, and any characters sent by the TA are displayed on the screen. Great.
75
76
However, no characters are transmitted from the DisplayTel in the opposite direction.  In fact, it doesn't even ever leave the 'ff' mode, i.e. no HDLC flag octets are sent by it.  No keypress on the DisplayTel generates any non-ff data to be transmitted on the B-channel.
77
78
I'm attaching raw B-channel traces for both directions (attachment:displaytel-32-rx.raw and attachment:displaytel-32-tx.raw)
79 3 laforge
80
Interstingly, in this situation, the uplink from the Displaytel only contains a single, non-ff message:
81
82
<pre>
83
df a0 3e 9a fb b7 ef
84
</pre>
85 5 laforge
86
Decoded (bit order inversal + HDLC decode):
87
<pre>
88
F 01 3f eb df F 
89
</pre>
90 6 laforge
91
The same behavior can be observed when replacing the hardware ISDN TA with a software implementation: isdn4linux/ttyI0 in BTX mode (AT&X1) on Fritz!Card PCI.
Add picture from clipboard (Maximum size: 48.8 MB)