Project

General

Profile

AVM BlueFRITZ! » History » Version 1

roox, 03/15/2022 10:14 PM

1 1 roox
h1. AVM BlueFRITZ!
2
3
{{toc}}
4
5
In the early 2000s (before WIFI was ubiquitous) "AVM":https://avm.de had a product line called BlueFRITZ!
6
Via Bluetooth one could access their supported ISDN- and DSL-routers without any cabling.
7
8
h2. Supported hardware
9
10
|_.Product|_.Description|_.Misc|
11
|_*USB Adapter*_||
12
|BlueFRITZ! USB      | USB Bluetooth Adapter | VID/PID 057c:2200 |
13
|BlueFRITZ! USB 2.0  | USB Bluetooth Adapter | VID/PID 057c:3800 |
14
|_*ISDN Product*_||
15
|BlueFRITZ! AP-X|Bluetooth enabled ISDN router||
16
|BlueFRITZ! AP-ISDN|ISDN-"Access Point" - small and powered via the ISDN bus||
17
|BlueFRITZ! AP-DSL|DSL-/ISDN-router with Bluetooth||
18
|_*OEM variants*_||
19
|T-Com Eumex C 200|ariant of the BlueFRITZ! AP-X for the german Telekom||
20
|Teledat C 120X|Another variant of the BlueFRITZ! AP-X for the german Telekom||
21
|Teledat C 120data|USB Bluetooth adapter sold for the Teledat C 120X||
22
|_*Product bundles*_||
23
|BlueFRITZ! Startpaket v2.0|BlueFRITZ! USB v2.0 + BlueFRITZ! AP-X||
24
|BlueFRITZ! ISDN Set v2.0|BlueFRITZ! USB v2.0 + BlueFRITZ! AP-ISDN||
25
|BlueFRITZ! DSL Set v2.0|BlueFRITZ! USB v2.0 + BlueFRITZ! AP-DSL||
26
27
These devices expose a CAPI 2.0 interface that can be used on Windows and Linux.
28
29
The _Common ISDN Bluetooth Access Profile_ (CIP) offers a uniform way to access the ISDN services of other devices via Bluetooth. This means that all features are made available in the B and D channels. CIP does not define a new ISDN interface, but uses the established Common ISDN API (CAPI 2.0). The CAPI Message Transport Protocol (CMTP) is used to enable CAPI Bluetooth. This protocol defines the uniform transport of CAPI messages over a Bluetooth L2CAP channel.
30
31
h2. Linux Support
32
33
Linux mainline support (CMTP/Kernel CAPI) and proper tooling for Bluez exists since 2003.
34
https://ftp.avm.de/archive/cardware/bluefritz.usb/linux/info.txt
35
https://web.archive.org/web/20080208063930/http://www.holtmann.org/linux/bluetooth/isdn.html (german only)
36
37
CMTP (CAPI Message Transport Protocol) is a transport layer for CAPI messages.
38
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools/parser/cmtp.c
39
40
ciptool (used to set up, maintain, and inspect the CIP configuration)
41
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools/ciptool.c
42
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools/ciptool.rst
43
44
h2. BlueFRITZ! AP-ISDN
45
46
Small and lightweight (35g) ISDN Access Point.
47
16-digit hardcoded Bluetooth PIN is printed on the back of the case.
48
49
h3. Configuration example 
50
51
* Kernel 4.12.14
52
* BlueFRITZ! AP-ISDN (PIN: 1500750033515501)
53
* BlueFRITZ! USB 2.0
54
55
lsusb
56
<pre>
57
Bus 001 Device 002: ID 057c:3800 AVM GmbH BlueFRITZ! Bluetooth Stick
58
</pre>
59
60
hciconfig/hcitool
61
<pre>
62
# hciconfig -a
63
hci0:   Type: Primary  Bus: USB
64
        BD Address: 00:04:0E:8B:7A:95  ACL MTU: 120:20  SCO MTU: 24:5
65
        DOWN·
66
        RX bytes:5101 acl:32 sco:0 events:172 errors:0
67
        TX bytes:1602 acl:32 sco:0 commands:90 errors:0
68
        Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
69
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3·
70
        Link policy:·
71
        Link mode: SLAVE ACCEPT
72
73
# hcitool dev
74
Devices:
75
        hci0    00:04:0E:8B:7A:95
76
77
# hcitool -i hci0 scan
78
Scanning ...
79
        00:04:0E:8B:7E:8D       Bluetooth ISDN Access Point
80
</pre>
81
82
83
bluetoothctl (pairing)
84
<pre>
85
[NEW] Controller 00:04:0E:8B:7A:95 leap151 [default]
86
Agent registered
87
[bluetooth]# scan on
88
Discovery started
89
[CHG] Controller 00:04:0E:8B:7A:95 Discovering: yes
90
[NEW] Device 00:04:0E:8B:7E:8D 00-04-0E-8B-7E-8D
91
[CHG] Device 00:04:0E:8B:7E:8D LegacyPairing: no
92
[CHG] Device 00:04:0E:8B:7E:8D Name: Bluetooth ISDN Access Point
93
[CHG] Device 00:04:0E:8B:7E:8D Alias: Bluetooth ISDN Access Point
94
[CHG] Device 00:04:0E:8B:7E:8D LegacyPairing: yes
95
...
96
[bluetooth]# trust 00:04:0E:8B:7E:8D
97
[CHG] Device 00:04:0E:8B:7E:8D Trusted: yes
98
Changing 00:04:0E:8B:7E:8D trust succeeded
99
...
100
[bluetooth]# pair 00:04:0E:8B:7E:8D
101
Attempting to pair with 00:04:0E:8B:7E:8D
102
[CHG] Device 00:04:0E:8B:7E:8D Connected: yes
103
Request PIN code
104
[Blue1m[agent] Enter PIN code: 1500750033515501
105
[CHG] Device 00:04:0E:8B:7E:8D UUIDs: 00001101-0000-1000-8000-00805f9b34fb
106
[CHG] Device 00:04:0E:8B:7E:8D UUIDs: 00001103-0000-1000-8000-00805f9b34fb
107
[CHG] Device 00:04:0E:8B:7E:8D UUIDs: 00001109-0000-1000-8000-00805f9b34fb
108
[CHG] Device 00:04:0E:8B:7E:8D UUIDs: 00001116-0000-1000-8000-00805f9b34fb
109
[CHG] Device 00:04:0E:8B:7E:8D UUIDs: 00001128-0000-1000-8000-00805f9b34fb
110
[CHG] Device 00:04:0E:8B:7E:8D ServicesResolved: yes
111
[CHG] Device 00:04:0E:8B:7E:8D Paired: yes
112
Pairing successful
113
[CHG] Device 00:04:0E:8B:7E:8D ServicesResolved: no
114
[CHG] Device 00:04:0E:8B:7E:8D Connected: no
115
...
116
[bluetooth]# connect 00:04:0E:8B:7E:8D
117
Attempting to connect to 00:04:0E:8B:7E:8D
118
[CHG] Device 00:04:0E:8B:7E:8D Connected: yes
119
[CHG] Device 00:04:0E:8B:7E:8D ServicesResolved: yes
120
[Bluetooth ISDN Access Point]#
121
...
122
[Bluetooth ISDN Access Point]# info 00:04:0E:8B:7E:8D
123
Device 00:04:0E:8B:7E:8D (public)
124
        Name: Bluetooth ISDN Access Point
125
        Alias: Bluetooth ISDN Access Point
126
        Class: 0x00420214
127
        Icon: phone
128
        Paired: yes
129
        Trusted: yes
130
        Blocked: no
131
        Connected: yes
132
        LegacyPairing: yes
133
        UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
134
        UUID: Dialup Networking         (00001103-0000-1000-8000-00805f9b34fb)
135
        UUID: Cordless Telephony        (00001109-0000-1000-8000-00805f9b34fb)
136
        UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
137
        UUID: Common ISDN Access        (00001128-0000-1000-8000-00805f9b34fb)
138
        RSSI: -20
139
</pre>
140
141
142
ciptool
143
<pre>
144
# ciptool search
145
Searching ...
146
        Checking service for 00:04:0E:8B:7E:8D
147
        Connecting to device 00:04:0E:8B:7E:8D
148
Local device is not accepting role switch
149
150
# ciptool connect
151
# ciptool show
152
1 00:04:0E:8B:7E:8D connected
153
</pre>
154
155
capiinfo
156
<pre>
157
# capiinfo 
158
            capi20.c: 164              CapiDebug():[capi20_isinstalled]: standard loop - module: standard
159
            capi20.c: 164              CapiDebug():[capi20_isinstalled]: capi_fd: 4
160
Number of Controllers : 1
161
Controller 1:
162
Manufacturer: AVM Berlin
163
CAPI Version: 2.0
164
Manufacturer Version: 3.11-04  (49.20)
165
Serial Number: 0753293
166
BChannels: 2
167
Global Options: 0x00000031
168
   internal controller supported
169
   Supplementary Services supported
170
   channel allocation supported (leased lines)
171
B1 protocols support: 0xc000000f
172
   64 kbit/s with HDLC framing
173
   64 kbit/s bit-transparent operation
174
   V.110 asynconous operation with start/stop byte framing
175
   V.110 synconous operation with HDLC framing
176
B2 protocols support: 0x00000b0b
177
   ISO 7776 (X.75 SLP)
178
   Transparent
179
   LAPD with Q.921 for D channel X.25 (SAPI 16)
180
   ISO 7776 (X.75 SLP) with V.42bis compression
181
   V.120 asyncronous mode
182
   V.120 bit-transparent mode
183
B3 protocols support: 0x8000000f
184
   Transparent
185
   T.90NL, T.70NL, T.90
186
   ISO 8208 (X.25 DTE-DTE)
187
   X.25 DCE
188
189
  0100
190
  0200
191
  31000000
192
  0f0000c0
193
  0b0b0000
194
  0f000080
195
  00000000 00000000 00000000 00000000 00000000 00000000
196
  01000001 00020000 00000000 00000000 00000000
197
198
Supplementary services support: 0x000003ff
199
   Hold / Retrieve
200
   Terminal Portability
201
   ECT
202
   3PTY
203
   Call Forwarding
204
   Call Deflection
205
   MCID
206
   CCBS
207
</pre>
208
209
210
dmesg
211
<pre>
212
usb 1-1: New USB device found, idVendor=057c, idProduct=3800
213
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
214
usb 1-1: Product: Bluetooth Device
215
usb 1-1: Manufacturer: Bluetooth Device
216
usb 1-1: SerialNumber: 957A8B0E0400
217
...
218
Bluetooth: Core ver 2.22
219
NET: Registered protocol family 31
220
Bluetooth: HCI device and connection manager initialized
221
Bluetooth: HCI socket layer initialized
222
Bluetooth: L2CAP socket layer initialized
223
Bluetooth: SCO socket layer initialized
224
usbcore: registered new interface driver btusb
225
...
226
... // paired bluetooth
227
...
228
Bluetooth: CMTP (CAPI Emulation) ver 1.0
229
Bluetooth: CMTP socket layer initialized
230
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
231
Bluetooth: BNEP filters: protocol multicast
232
Bluetooth: BNEP socket layer initialized
233
...
234
... // ciptool connect
235
...
236
Bluetooth: Found 1 CAPI controller(s) on device 00:04:0e:8b:7e:8d
237
kcapi: controller [001]: 00:04:0e:8b:7e:8d attached
238
kcapi: controller [001] "00:04:0e:8b:7e:8d" ready.
239
...
240
... // CAPI initialized (capiinit)
241
...
242
CAPI 2.0 started up with major 68 (middleware)
243
...
244
... // ciptool release
245
...
246
kcapi: controller [001]: 00:04:0e:8b:7e:8d unregistered
247
</pre>
Add picture from clipboard (Maximum size: 48.8 MB)