Hi!

There should be two changes in bluetooth.c!

1. According to the Bluetooth specification each HCI packet must be contained in one bulk_out_urb!

Solution: Set bluetooth->bulk_out_buffer_size in usb_bluetooth_probe to 1000! (line 1155)

2. The bulk_in_urb buffer must be larger then one HCI packet!

Solution: Set bluetooth->bulk_in_buffer_size in usb_bluetooth_probe to 1000! (line 1127)

The maximum size of the HCI packet is determined during initialisation and is soft and hardware dependent. There should however not be any HCI packet bigger the 1000 byte!

Best regards

/Johan Brodin

Johan Brodin, software engineer M.Sc
Tel. +46 (0)40-6307116
[EMAIL PROTECTED]

connectBlue ab
Stora Varvsgatan 11 N:1
SE-211 19 Malm�
Sweden
Tel. +46 (0)40-237100
Fax. +46 (0)40-237137
E-mail: [EMAIL PROTECTED]
http://www.connectBlue.se

 

Attachment: Johan Brodin.vcf
Description: Binary data

Reply via email to