5 L2CAP Logical Link Control Adaptation Protocol
6 MTU Maximum Transmission Unit
16 Control channel PSM=0x0011
17 Interrupt channel PSM=0x0013
25 Host requests report(DATA payload on Control channel) from Device
27 ------------------------------------------------------------------------------
28 HIDP-Hdr 1 7..4: HIDP Message TYpe(4: GET_REPORT)
29 3: Size(1:2-octed buffer size, 0:size of the report)
31 1..0: Report Type(1:input, 2:output, 3: feature)
33 BufferSize 2 Optional(specified when Size=1)
40 Input/Output Report: All DATA payloads flow on Interrupt channel.
41 Other: flows on Control channel.
43 ------------------------------------------------------------------------------
46 1..0 Report Type(0:Other, 1:Input, 2:Output, 3:Feature)
55 No report descriptor, fixed report descriptors defined.
58 ---------------------------------
66 Report ID is added to USB HID boot protocol descriptor.
67 Boot Protocol device doesn't need to supply descriptors. and can send extra data on end of boot report this data will be ignored unless host supports report descriptor.
69 Report Protocol devices can have specific descriptors. Using Boot protocol descriptor followed by extra data may be useful for compatibility to Boot protocol only supported host.
72 Bluegiga HID sample say report ID of mouse is 1 but 2?
73 Bluegiga HID sample say report ID of consumer page is 2 but 3?
74 ** mouse.desc and consumer.desc were fixed.
88 which type is supported in Boot Protocol Mode
93 1 1 Combo keyboard/pointing device
101 Class of Device/Service
102 =======================
103 http://phys.sci.hokudai.ac.jp/LABS/yts/pic/GB002/Bluetooth_assigned_numbers_baseband.pdf
105 0x0005C0 Keyboard and Pointing deivce(combo)
109 ---------------------------------
110 Service |Major |Minor |Format
117 Minor Device Class of Peripheral Major
122 1 1 Combo keyboard/pointing device
128 0 0 0 0 0 Miscellaneous
131 0 0 0 1 1 LAN /Network Access point
132 0 0 1 0 0 Audio/Video (headset,speaker,stereo, video display, vcr.....
133 0 0 1 0 1 *Peripheral (mouse, joystick, keyboards, ..... )
134 0 0 1 1 0 Imaging (printing, scanner, camera, display, ...)
135 1 1 1 1 1 Uncategorized, specific device code not specified
136 X X X X X All other values reserved
139 Major service classes
141 --------------------------------------
142 13 Limited Discoverable Mode [Ref #1]
145 16 Positioning (Location identification)
146 17 Networking (LAN, Ad hoc, ...)
147 18 Rendering (Printing, Speaker, ...)
148 19 Capturing (Scanner, Microphone, ...)
149 20 Object Transfer (v-Inbox, v-Folder, ...)
150 21 Audio (Speaker, Microphone, Headset service, ...)
151 22 Telephony (Cordless telephony, Modem, Headset service, ...)
152 23 Information (WEB-server, WAP-server, ...)
159 SET BT SSP 2 0 PASS KEY entering
160 SET BT SSP 3 0 NO PASS KEY entering
161 SET BT SSP <capabilities> <mitm>
162 <capabilities>: 0:display only 1:display+yes/no button 2:keyboard only 3:none
163 SET BT SSP 2 1 # 2:keyboard only 1:Man-in-the-middle protection is needed
164 SET BT SSP 2 0 # 2:keyboard only 0:Man-in-the-middle protection is not needed
168 bond only if MITM protection is supported by host
170 bond even if MITM protection is not supported by host
172 On Windows 'Add device' causes SSP PASSKEY event on iWRAP
173 SSP PASSKEY 78:dd:08:b7:e4:a2 ?
175 If device has display(0 or 1) this event occurs. User should be shown this code on the device.
176 SSP CONFIRM 78:dd:08:b7:e4:a2 517572
180 No input/output, No MITM protection.
181 Without procedure of authentication the divice is bond to host.
186 CALL 78:dd:08:b7:e4:a2 11 HID
191 Following settings need to be done before wiring into keyboard.
192 - UART speed: 38400bps(115200bps didn't work with software serial)
193 - No SSP procedure(without MITM protection)
196 # clear pairing record and set default
200 SET CONTROL INIT SET CONTROL MUX 0
201 SET CONTROL BAUD 38400,8n1
202 SET BT NAME TMK Blootooth WT12
206 SET CONTROL CONFIG 4800
207 SET PROFILE HID 0f c0 0100 00 en 0409 TMK Bluetooth keyboard(WT12)
211 SET BT SNIFF 100 20 1 8
215 # combo keyboard + mouse + consumer
216 HID SET d2 05010906a1010507850119e029e715002501750195088102950175088101950575010508850119012905910295017503910395067508150025650507190029658100c005010902a1010901a1008502050919012908150025017501950881020501093009311581257f750895028106093895018106050c0a380295018106c0c0050c0901a1018503050c1500250109e909ea09e209cd19b529b87501950881020a8a010a21020a2a021a23022a27027501950881020a83010a96010a92010a9e010a94010a060209b209b4750195088102c0
222 SET PROFILE HID 0d c0 100 0 en 0409 HHKB pro Bluetooth keyboard
235 composite device: keyboard and mouse
247 SET BT BDADDR 00:07:80:47:22:14
248 SET BT NAME TMK Blootooth WT12
251 SET BT IDENT BT:47 f000 5.0.1 Bluegiga iWRAP
253 SET BT PAGEMODE 4 2000 1
254 SET BT PAIR 78:dd:08:b7:e4:a2 9e3d85c91bcae73fef8cc10bec18b42f
257 SET BT SNIFF 0 20 1 8
260 SET CONTROL BAUD 38400,8n1
263 SET CONTROL ESCAPE 43 00 1
265 SET CONTROL INIT SET CONTROL MUX 0
266 SET CONTROL MSC DTE 00 00 00 00 00 00
268 SET CONTROL PIO 00 00
270 SET PROFILE HID 0f c0 0100 00 en 0409 TMK Bluetooth keyboard(WT12)
273 set control config list
274 SET CONTROL CONFIG 0000 0000 0000 4900 KLUDGE INTERACTIVE_PIN UART_LATENCY
278 WRAP THOR AI (5.0.1 build 620)
279 Copyright (c) 2003-2012 Bluegiga Technologies Inc.
280 Compiled on Oct 1 2012 10:56:21, running on WT12-A module, psr v31
281 BGIO FTP HFP HFP_AG HID HID_CONSUMER_PAGE HSP MAP MDP OTA PBAP PIO=0x00fc SSP SUBRATE TEST VOLUME
282 - BOCK4 version 620 (Oct 1 2012 10:56:03) (max acl/sco 7/1)
283 - Bluetooth version 3.0, Power class 2
284 - Loader 8615, firmware 8825 (56-bit encryption), native execution mode
285 - up 0 days, 01:50, 2 connections (pool 2)
286 - User configuration:
288 &0295 = 0000 0005 000b 0000 0003 0000 0000 0000 0000 0000 0000
291 &02a3 = 0030 0030 0030 0030
293 &02a5 = 0053 0045 0054 0020 0043 004f 004e 0054 0052 004f 004c 0020 004d 0055 0058 0020 0030
295 &02a8 = 0800 0000 0000 0000
296 &02aa = 0004 2000 0001 0033 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
297 &02ac = 0000 0000 002b 0000 0000 0000 0000 0000 0000 0000 0002 0000 0000 0000 0010 0000 0000 0000 0000 029b 0000 0000 0000 0000
298 &02ad = 4d54 204b 6c42 6f6f 6f74 746f 2068 5457 3231
299 &02b0 = fa65 b0aa 934a 077b a600 d1cc fe58 8dd5
300 &02b3 = 0004 0003 0003 0003 0003 0003 0003 0003 0003 0003 0003 0003 0003 0003 0003 0003 0005 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0005
301 &02b7 = 000f 00c0 0100 0000 0065 006e 0409 4d54 204b 6c42 6575 6f74 746f &02bb = 8000
308 After 5.0.1 Firmware update
309 Firmware: ai-5.0.1-620-25b.bc4.dfu
310 PSR: wt12-a.ai-5.0.1-620-25b.psrf
313 WRAP THOR AI (5.0.1 build 620)
314 Copyright (c) 2003-2012 Bluegiga Technologies Inc.
315 Compiled on Oct 1 2012 10:56:21, running on WT12-A module, psr v31
316 BGIO FTP HFP HFP_AG HID HID_CONSUMER_PAGE HSP MAP MDP OTA PBAP PIO=0x00fc SSP SUBRATE TEST VOLUME
317 - BOCK4 version 620 (Oct 1 2012 10:56:03) (max acl/sco 7/1)
318 - Bluetooth version 3.0, Power class 2
319 - Loader 8615, firmware 8825 (56-bit encryption), native execution mode
320 - up 0 days, 00:03, 0 connections (pool 1)
321 - User configuration:
322 &0295 = 0000 0005 000b 0000 0003 0000 0000 0000 0000 0000 0000
324 &02aa = 0004 2000 0001 0033 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
325 &02ac = 0000 0000 002b 0000 0000 0000 0000 0000 0000 0000 0002 0000 0000 0000 0010 0000 0000 0000 0000 029b 0000 0000 0000 0000
326 &02ad = 5457 3231 412d
327 &02b0 = fa65 b0aa 934a 077b a600 d1cc fe58 8dd5
331 SET BT BDADDR 00:07:80:47:22:14
334 SET BT IDENT BT:47 f000 5.0.1 Bluegiga iWRAP
336 SET BT PAGEMODE 4 2000 1
337 SET BT PAIR 78:dd:08:b7:e4:a2 af18f81faa107e6dd068762ef921f48b
340 SET BT SNIFF 0 20 1 8
343 SET CONTROL BAUD 115200,8n1
346 SET CONTROL ESCAPE 43 00 1
348 SET CONTROL MSC DTE 00 00 00 00 00 00
349 SET CONTROL PIO 00 00
351 SET PROFILE SPP Bluetooth Serial Port
354 set control config list
355 SET CONTROL CONFIG 0000 0000 0000 0100 KLUDGE