[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [bluetooth-dev] HCI commands when connecting through a phone



This is a complete HCI message and HCI data protocol from pairing an
ericsson R520m phone with an infineon bluemoon I board. Hope this helps.
Look through the messages and you will find the connection request, pin
exchange, link key generation...

Christian Kranz

------------------------------------------------

init bt-higher layer stack
HCI: hci_read_buffer_size

send_cmd_queue,  (4)
   0x01 0x05 0x10 0x00 

hci_receive_data, neu (8)
   0x04 0x0e 0x0b 0x01 0x05 0x10 0x00 0x53 

hci_receive_data, neu (6)
   0x01 0x78 0x05 0x00 0x06 0x00 

process_event (11)
   0x01 0x05 0x10 0x00 0x53 0x01 0x78 0x05 0x00 0x06 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, READ_BUFFER_SIZE

HW module contains...
5 ACL buffers at 339 bytes
6 SCO buffers at 120 bytes

... ready with buffer size
HCI: hci_read_firmware_rev_info

send_cmd_queue,  (4)
   0x01 0x05 0xfc 0x00 

hci_receive_data, neu (14)
   0x04 0x0e 0x0b 0x01 0x05 0xfc 0x00 0xfa 0x03 0xc0 0x00 0x00 0x00 0x00 

process_event (11)
   0x01 0x05 0xfc 0x00 0xfa 0x03 0xc0 0x00 0x00 0x00 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
HCI: process_vendor_return_param Infineon software version
Infineon LM-FW version is: 3.fa
Infineon BB-FW version is: 00c0
HCI: hci_read_local_bd

send_cmd_queue,  (4)
   0x01 0x09 0x10 0x00 

hci_receive_data, neu (13)
   0x04 0x0e 0x0a 0x01 0x09 0x10 0x00 0x59 0x53 0x26 0x59 0x41 0x31 

process_event (10)
   0x01 0x09 0x10 0x00 0x59 0x53 0x26 0x59 0x41 0x31 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, READ_BD_ADDR

process_return_param, READ_BD_ADDR :  (6)
   0x59 0x53 0x26 0x59 0x41 0x31 
HCI: l2cap_sec_man_init:
HCI: rfcomm_sec_man_init:
HCI: hci_set_bd_addr.

send_cmd_queue,  (6)
   0x01 0x11 0xfc 0x02 0x01 0x01 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x11 0xfc 0x00 

process_event (4)
   0x01 0x11 0xfc 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
HCI: process_vendor_return_param Infineon manufactor mode
Infineon manufactor mode command succeeded

send_cmd_queue,  (4)
   0x01 0x16 0xfc 0x00 

hci_receive_data, neu (67)
   0x04 0x0e 0x40 0x01 0x16 0xfc 0x00 0x59 0x53 0x26 0x59 0x41 0x31 0x0e
0x80 0x60 
   0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x1b 0x01 0x0f
0x00 0x70 
   0x00 0x10 0x20 0x30 0x40 0x00 0x19 0x2b 0x01 0x02 0x03 0x04 0x05 0x06
0x07 0x08 
   0x09 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x47 0xfa 0x05 0x00 0x00 0x00
0x00 0x00 
   0x01 0x06 0x71 

process_event (64)
   0x01 0x16 0xfc 0x00 0x59 0x53 0x26 0x59 0x41 0x31 0x0e 0x80 0x60 0x60
0x60 0x60 
   0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x1b 0x01 0x0f 0x00 0x70 0x00
0x10 0x20 
   0x30 0x40 0x00 0x19 0x2b 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09
0x10 0x11 
   0x12 0x13 0x14 0x15 0x16 0x47 0xfa 0x05 0x00 0x00 0x00 0x00 0x00 0x01
0x06 0x71 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
---len=61
HCI: process_vendor_return_param Infineon read bd data

send_cmd_queue,  (64)
   0x01 0x15 0xfc 0x3c 0x59 0x53 0x26 0x59 0x41 0x31 0x0e 0x80 0x60 0x60
0x60 0x60 
   0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x1b 0x01 0x0f 0x00 0x70 0x00
0x10 0x20 
   0x30 0x40 0x00 0x19 0x2b 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09
0x10 0x11 
   0x12 0x13 0x14 0x15 0x16 0x47 0xfa 0x05 0x00 0x00 0x00 0x00 0x00 0x01
0x06 0x71 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x15 0xfc 0x00 

process_event (4)
   0x01 0x15 0xfc 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
BT SYS: ERROR :process_vendor_return_param Manufacturer specific : Invalid
reply (0x15)

send_cmd_queue,  (6)
   0x01 0x11 0xfc 0x02 0x00 0x00 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x11 0xfc 0x00 

process_event (4)
   0x01 0x11 0xfc 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
HCI: process_vendor_return_param Infineon manufactor mode
Infineon manufactor mode command succeeded
HCI: hci_write_class_of_deviceService class 0x100, major:0x4, minor:0x1
HCI: hci_write_class_of_device20:4:4

send_cmd_queue,  (7)
   0x01 0x24 0x0c 0x03 0x04 0x04 0x20 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x24 0x0c 0x00 

process_event (4)
   0x01 0x24 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_CLASS_OF_DEVICE
HCI: hci_delete_stored_link_key

send_cmd_queue,  (11)
   0x01 0x12 0x0c 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x01 

hci_receive_data, neu (9)
   0x04 0x0e 0x06 0x01 0x12 0x0c 0x00 0x00 0x00 

process_event (6)
   0x01 0x12 0x0c 0x00 0x00 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, DELETE_STORED_LINK_KEY
HCI: process_return_param, DELETE_STORED_LINK_KEY Success
HCI: process_return_param, Number of Linkkeys deleted: 0
HCI: hci_read_local_bd

send_cmd_queue,  (4)
   0x01 0x09 0x10 0x00 

hci_receive_data, neu (13)
   0x04 0x0e 0x0a 0x01 0x09 0x10 0x00 0x59 0x53 0x26 0x59 0x41 0x31 

process_event (10)
   0x01 0x09 0x10 0x00 0x59 0x53 0x26 0x59 0x41 0x31 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, READ_BD_ADDR

process_return_param, READ_BD_ADDR :  (6)
   0x59 0x53 0x26 0x59 0x41 0x31 
HCI: hci_change_local_name, New name: IFX-HEADSET

send_cmd_queue,  (252)
   0x01 0x13 0x0c 0xf8 0x49 0x46 0x58 0x2d 0x48 0x45 0x41 0x44 0x53 0x45
0x54 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 
   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x13 0x0c 0x00 

process_event (4)
   0x01 0x13 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, CHANGE_LOCAL_NAME
HCI: hci_write_pin_type

send_cmd_queue,  (5)
   0x01 0x0a 0x0c 0x01 0x00 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x0a 0x0c 0x00 

process_event (4)
   0x01 0x0a 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, HCI_HC, ocf 10 not recognised!

hci_write_encryption_mode (5)
   0x01 0x22 0x0c 0x01 0x01 

send_cmd_queue,  (5)
   0x01 0x22 0x0c 0x01 0x01 
HCI: hci_ifx_write_pcm_mode

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x22 0x0c 0x00 

process_event (4)
   0x01 0x22 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_AUTHENTICATION_ENABLE

send_cmd_queue,  (5)
   0x01 0x04 0xfc 0x01 0x01 
HCI: hci_ifx_write_sco_interface

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x04 0xfc 0x00 

process_event (4)
   0x01 0x04 0xfc 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
HCI: process_vendor_return_param write PCM mode
Infineon write PCM command succeeded

send_cmd_queue,  (5)
   0x01 0x02 0xfc 0x01 0x00 
HCI: hci_write_sco_flow_control_enable, enable:0x01

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x02 0xfc 0x00 

process_event (4)
   0x01 0x02 0xfc 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, MANUFACTURER_SPEC
HCI: process_vendor_return_param write SCO interface
Infineon write SCO interface command succeeded

send_cmd_queue,  (5)
   0x01 0x2f 0x0c 0x01 0x01 
HCI: hci_write_voice_setting: 0x0240

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x2f 0x0c 0x00 

process_event (4)
   0x01 0x2f 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_SCO_FLOW_CONTROL_ENABLE

send_cmd_queue,  (6)
   0x01 0x26 0x0c 0x02 0x40 0x02 

hci_write_authentication_enable (5)
   0x01 0x20 0x0c 0x01 0x01 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x26 0x0c 0x00 

process_event (4)
   0x01 0x26 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_VOICE_SETTING

send_cmd_queue,  (5)
   0x01 0x20 0x0c 0x01 0x01 
HCI: sec_man_init bd_addr read:

sec_man_init,  BT-Addr: (6)
   0x00 0x80 0x37 0x1a 0x71 0x8f 
HCI: sec_man_init link key read:

sec_man_init,  Link-Key: (16)
   0x33 0x72 0x8a 0xe1 0xe5 0xa0 0x5f 0x90 0xec 0xf4 0x0e 0xc3 0x61 0x41
0x2f 0xa3 
HCI: sec_man_init  Link-Key-Type 0
stored link key and bluetooth address can be used.
hci_write_scan_enable, enable 2

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x20 0x0c 0x00 

process_event (4)
   0x01 0x20 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_AUTHENTICATION_ENABLE

send_cmd_queue,  (5)
   0x01 0x1a 0x0c 0x01 0x02 

Bluetooth headset, (c) Christian Kranz, using AXIS open bt-stack
Featuring Infineon BlueMoon Chipset!
current state: PAGE_SCAN
available commands:
(p) start pairing,      (c) wait for connection
(n) on hook,            (f) off hook
(m) mic. gain,          (s) speaker gain,         (w) play wav file
(q) quit                (d) debug mode

bt_receive_lower_stack : (7)
   0x04 0x0e 0x04 0x01 0x1a 0x0c 0x00 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x1a 0x0c 0x00 

process_event (4)
   0x01 0x1a 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_SCAN_ENABLE
entering inquiry and page scan mode.
hci_write_scan_enable, enable 3

send_cmd_queue,  (5)
   0x01 0x1a 0x0c 0x01 0x03 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x1a 0x0c 0x00 

process_event (4)
   0x01 0x1a 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_SCAN_ENABLE

Bluetooth headset, (c) Christian Kranz, using AXIS open bt-stack
Featuring Infineon BlueMoon Chipset!
current state: PAIRING
available commands:
(p) start pairing,      (c) wait for connection
(n) on hook,            (f) off hook
(m) mic. gain,          (s) speaker gain,         (w) play wav file
(q) quit                (d) debug mode

bt_receive_lower_stack : (13)
   0x04 0x04 0x0a 0x8f 0x71 0x1a 0x37 0x80 0x00 0x04 0x02 0x52 0x01 

hci_receive_data, neu (13)
   0x04 0x04 0x0a 0x8f 0x71 0x1a 0x37 0x80 0x00 0x04 0x02 0x52 0x01 

process_event (10)
   0x8f 0x71 0x1a 0x37 0x80 0x00 0x04 0x02 0x52 0x01 
HCI: process_event, CONNECTION_REQUEST
HCI: lp_connect_rspStatus:1
HCI: accept_connection_request, bd_addr 8f 71 1a 37 80 0

send_cmd_queue,  (11)
   0x01 0x09 0x04 0x07 0x8f 0x71 0x1a 0x37 0x80 0x00 0x01 

bt_receive_lower_stack : (7)
   0x04 0x0f 0x04 0x00 0x01 0x09 0x04 

hci_receive_data, neu (7)
   0x04 0x0f 0x04 0x00 0x01 0x09 0x04 

process_event (4)
   0x00 0x01 0x09 0x04 
HCI: process_event, COMMAND_STATUS

bt_receive_lower_stack : (9)
   0x04 0x17 0x06 0x8f 0x71 0x1a 0x37 0x80 0x00 

hci_receive_data, neu (9)
   0x04 0x17 0x06 0x8f 0x71 0x1a 0x37 0x80 0x00 

process_event (6)
   0x8f 0x71 0x1a 0x37 0x80 0x00 
HCI: process_event, LINK_KEY_REQUEST
HCI: sec_man_event, LINK_KEY_REQUEST sec_man_event

hci_link_key_request_negative_reply,  BD_addr (6)
   0x8f 0x71 0x1a 0x37 0x80 0x00 
hci_link_key_request_negative_reply returned from send_secblock

bt_receive_lower_stack : (22)
   0x04 0x0e 0x0a 0x01 0x0c 0x04 0x00 0x8f 0x71 0x1a 0x37 0x80 0x00 0x04
0x16 0x06 
   0x8f 0x71 0x1a 0x37 0x80 0x00 

hci_receive_data, neu (22)
   0x04 0x0e 0x0a 0x01 0x0c 0x04 0x00 0x8f 0x71 0x1a 0x37 0x80 0x00 0x04
0x16 0x06 
   0x8f 0x71 0x1a 0x37 0x80 0x00 

process_event (10)
   0x01 0x0c 0x04 0x00 0x8f 0x71 0x1a 0x37 0x80 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, LINK_KEY_REQUEST_NEGATIVE_REPLY
HCI: process_return_param, LINK_KEY_REQUEST_NEGATIVE_REPLY Success

process_event (6)
   0x8f 0x71 0x1a 0x37 0x80 0x00 
HCI: process_event, PIN_CODE_REQUEST 
HCI: process_event, forwarding event to security manager
HCI: sec_man_event, PIN_CODE_REQUEST sec_man_event

hci_pin_code_request_reply, New pin is
 (4)
   0x30 0x30 0x30 0x30 

hci_pin_code_request_reply,  BD_addr (6)
   0x8f 0x71 0x1a 0x37 0x80 0x00 

bt_receive_lower_stack : (13)
   0x04 0x0e 0x0a 0x01 0x0d 0x04 0x00 0x8f 0x71 0x1a 0x37 0x80 0x00 

hci_receive_data, neu (13)
   0x04 0x0e 0x0a 0x01 0x0d 0x04 0x00 0x8f 0x71 0x1a 0x37 0x80 0x00 

process_event (10)
   0x01 0x0d 0x04 0x00 0x8f 0x71 0x1a 0x37 0x80 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, PIN_CODE_REQUEST_REPLY
HCI: process_return_param, PIN_CODE_REQUEST_REPLY  Success

bt_receive_lower_stack : (16)
   0x04 0x18 0x17 0x8f 0x71 0x1a 0x37 0x80 0x00 0xa3 0xdc 0xf4 0xf3 0x59
0x75 0xd3 

hci_receive_data, neu (16)
   0x04 0x18 0x17 0x8f 0x71 0x1a 0x37 0x80 0x00 0xa3 0xdc 0xf4 0xf3 0x59
0x75 0xd3 

bt_receive_lower_stack : (10)
   0x6a 0xf2 0x8e 0xe1 0xe6 0x7e 0x02 0x23 0xbc 0x00 

hci_receive_data, neu (10)
   0x6a 0xf2 0x8e 0xe1 0xe6 0x7e 0x02 0x23 0xbc 0x00 

process_event (23)
   0x8f 0x71 0x1a 0x37 0x80 0x00 0xa3 0xdc 0xf4 0xf3 0x59 0x75 0xd3 0x6a
0xf2 0x8e 
   0xe1 0xe6 0x7e 0x02 0x23 0xbc 0x00 
HCI: process_event, LINK_KEY_NOTIFICATION forwarding event to security
manager
HCI: sec_man_event, LINK_KEY_NOTIFICATION_REQUEST sec_man_event

bt_receive_lower_stack : (14)
   0x04 0x03 0x0b 0x00 0x00 0x01 0x8f 0x71 0x1a 0x37 0x80 0x00 0x01 0x01 

hci_receive_data, neu (14)
   0x04 0x03 0x0b 0x00 0x00 0x01 0x8f 0x71 0x1a 0x37 0x80 0x00 0x01 0x01 

process_event (11)
   0x00 0x00 0x01 0x8f 0x71 0x1a 0x37 0x80 0x00 0x01 0x01 
HCI: process_event, CONNECTION_COMPLETE: Success!
HCI: change_connection_packet_type, for connnection handle 0x100 to 0x18

send_cmd_queue,  (8)
   0x01 0x0f 0x04 0x04 0x00 0x01 0x18 0x00 
HCI: remote_name_request,  for bd address 0x00:80:37:1a:71:8f
role_discovery 

bt_receive_lower_stack : (7)
   0x04 0x0f 0x04 0x00 0x01 0x0f 0x04 

hci_receive_data, neu (7)
   0x04 0x0f 0x04 0x00 0x01 0x0f 0x04 

process_event (4)
   0x00 0x01 0x0f 0x04 
HCI: process_event, COMMAND_STATUS

send_cmd_queue,  (14)
   0x01 0x19 0x04 0x0a 0x8f 0x71 0x1a 0x37 0x80 0x00 0x01 0x00 0x00 0x00 

bt_receive_lower_stack : (15)
   0x04 0x1d 0x05 0x00 0x00 0x01 0x18 0x00 0x04 0x0f 0x04 0x00 0x01 0x19
0x04 

hci_receive_data, neu (15)
   0x04 0x1d 0x05 0x00 0x00 0x01 0x18 0x00 0x04 0x0f 0x04 0x00 0x01 0x19
0x04 

process_event (5)
   0x00 0x00 0x01 0x18 0x00 
HCI: process_event, CHANGE_CONNECTION_PACKET_TYPE

process_event (4)
   0x00 0x01 0x19 0x04 
HCI: process_event, COMMAND_STATUS

send_cmd_queue,  (6)
   0x01 0x09 0x08 0x02 0x00 0x01 

bt_receive_lower_stack : (10)
   0x04 0x0e 0x07 0x01 0x09 0x08 0x00 0x00 0x01 0x01 

hci_receive_data, neu (10)
   0x04 0x0e 0x07 0x01 0x09 0x08 0x00 0x00 0x01 0x01 

process_event (7)
   0x01 0x09 0x08 0x00 0x00 0x01 0x01 
HCI: process_event, COMMAND_COMPLETE
process_return_param, ROLE_DISCOVERY: Connected as Slave.

bt_receive_lower_stack : (7)
   0x04 0x05 0x04 0x00 0x00 0x01 0x13 

hci_receive_data, neu (7)
   0x04 0x05 0x04 0x00 0x00 0x01 0x13 

process_event (4)
   0x00 0x00 0x01 0x13 
HCI: hci_read_buffer_size

send_cmd_queue,  (4)
   0x01 0x05 0x10 0x00 

bt_receive_lower_stack : (14)
   0x04 0x0e 0x0b 0x01 0x05 0x10 0x00 0x53 0x01 0x78 0x05 0x00 0x06 0x00 

hci_receive_data, neu (14)
   0x04 0x0e 0x0b 0x01 0x05 0x10 0x00 0x53 0x01 0x78 0x05 0x00 0x06 0x00 

process_event (11)
   0x01 0x05 0x10 0x00 0x53 0x01 0x78 0x05 0x00 0x06 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, READ_BUFFER_SIZE

HW module contains...
5 ACL buffers at 339 bytes
6 SCO buffers at 120 bytes

shutdown stack
hci_write_scan_enable, enable 0

send_cmd_queue,  (5)
   0x01 0x1a 0x0c 0x01 0x00 

hci_receive_data, neu (7)
   0x04 0x0e 0x04 0x01 0x1a 0x0c 0x00 

process_event (4)
   0x01 0x1a 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, WRITE_SCAN_ENABLE
HCI: hci_reset

send_cmd_queue,  (4)
   0x01 0x03 0x0c 0x00 

hci_receive_data, neu (11)
   0x04 0x0e 0x04 0x01 0x03 0x0c 0x00 0x04 0xff 0x01 0x00 

process_event (4)
   0x01 0x03 0x0c 0x00 
HCI: process_event, COMMAND_COMPLETE
HCI: process_return_param, RESET

process_event (1)
   0x00 
Infineon event: Hardware Startup complete.

> -----Ursprüngliche Nachricht-----
> Von:	Alain Paschoud [SMTP:alain.paschoud@xxxxxxx.ch]
> Gesendet am:	Mittwoch, 29. August 2001 16:10
> An:	bluetooth-dev@xxxxxxx.com
> Betreff:	[bluetooth-dev] HCI commands when connecting through a phone
> 
> Hello,
> 
> I want to connect the internet through a GPRS bluetooth phone. What do I
> have to expect as HCI events ?
> 
> I know that the phone ask for a PIN, so I expect a "PIN CODE REQUEST"
> event.
> But I don't know if the phone will send a "Link Key Request". Does somone
> know to which events I will have to respond when connecting to a bluetooth
> phone ?
> 
> Thank you for any information.
> 
>  
> --
> Alain Paschoud                      SMARTDATA SA
> alain.paschoud@xxxxxxx.ch         PSE-A
> http://www.smartdata.ch             1015 Lausanne
> Phone +41-21-693'84'98              
> Fax   +41-27-693'84'91              
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev"
> in
> the body of a message to majordomo@xxxxxxx.com
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com