Skip to contentSkip to conversation

H5 3 wire UART connect problem

Bluez-users hariharan veerappan 3 participants 17 messages Jun 30, 2005 – Jul 6, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello all,

We are presently working on Silicon wave Serial Port Bluetooth module with Linux version 2.4.20.
When we try to attach the UART with HCI layer.

Bluetooth module : Silicon Wave bluetooth module. (H5 3 Wire interface) Linux Kernel : 2.4.20.

We have done different trial with the module. Below we have given two of them major, that we have noticed in our experiment.

Experiment 1:
When we connect Bluetooth module with the full functional serial port (thatr contains Hard ware flow control)
The HCI layer is attached with UART layer.
But when we try to UP the HCI0 it returns
cannot Init Device hci0.

Experiment 2:
When we connect the Bluetooth module with 3 WIRE serial cable (consist of TXD, RXD and GND)

hciattach /dev/ttyS0 swave 115200 noflow

Actually our plan is to work the bluetooth with 3WIRE (H5) Bluetooth interf= ace.
Kindly confirm whether the HCI_UART_3WIRE functionality is included in the linux kernel.

if possible, adivse us a path to fix this issue.
This application returns=20

Initializaion timed out.

Advise to fix it

Thanks and regards
Hariharan.v.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Hariharan,

Quoted 21 lines

We are presently working on Silicon wave Serial Port Bluetooth module with Linux version 2.4.20.
When we try to attach the UART with HCI layer.

Bluetooth module : Silicon Wave bluetooth module. (H5 3 Wire interface) Linux Kernel : 2.4.20.

We have done different trial with the module. Below we have given two of them major, that we have noticed in our experiment.

Experiment 1:
When we connect Bluetooth module with the full functional serial port (thatr contains Hard ware flow control)
The HCI layer is attached with UART layer.
But when we try to UP the HCI0 it returns
cannot Init Device hci0.

Experiment 2:
When we connect the Bluetooth module with 3 WIRE serial cable (consist of TXD, RXD and GND)

Quoted 5 lines

hciattach /dev/ttyS0 swave 115200 noflow

Actually our plan is to work the bluetooth with 3WIRE (H5) Bluetooth interface. Kindly confirm whether the HCI_UART_3WIRE functionality is included in the linux kernel.

actually nobody implemented the 3-Wire UART support for BlueZ.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hello all,

we wants to develop and implement the 3 WIRE UART support for the=20 Bluez Stack. can any one suggest an idea to develop and implement 3 WIRE UART in BlueZ.=20

May i follow the H4 UART Implementation with Some modifications related wit= h=20
H5 (3 WIRE UART). We came to know that Packets has to be added before and a= fter
the HCI commands according to H4 and H5 UART. Is it right ?.=20

We wish to know that whether it takes major development cycle.

As per Silicon wave datasheet the 3 WIRE UART is compatible with BCSP. May we have to follow the H4 UART or BCSP one for our development.

Advise us.

Thanks and regards
Hariharan.V

Quoted 26 lines · Marcel Holtmann

Hi Hariharan,
=20

Quoted 24 lines

We are presently working on Silicon wave Serial Port Bluetooth module with Linux version 2.4.20.
When we try to attach the UART with HCI layer.

Bluetooth module : Silicon Wave bluetooth module. (H5 3 Wire interface) Linux Kernel : 2.4.20.

We have done different trial with the module. Below we have given two of them major, that we have noticed in our experiment.

Experiment 1:
When we connect Bluetooth module with the full functional serial port (thatr contains Hard ware flow control)
The HCI layer is attached with UART layer.
But when we try to UP the HCI0 it returns
cannot Init Device hci0.

Experiment 2:
When we connect the Bluetooth module with 3 WIRE serial cable (consist of TXD, RXD and GND)

hciattach /dev/ttyS0 swave 115200 noflow

Actually our plan is to work the bluetooth with 3WIRE (H5) Bluetooth in=

terface.

Quoted 17 lines
Quoted 2 lines

Kindly confirm whether the HCI_UART_3WIRE functionality is included in the linux kernel.

=20
actually nobody implemented the 3-Wire UART support for BlueZ. =20
Regards
=20
Marcel
=20
=20
=20
=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=

k

Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Hariharan,

Quoted 4 lines

we wants to develop and implement the 3 WIRE UART support for the Bluez Stack. can any one suggest an idea to develop and implement 3 WIRE UART in BlueZ.

Quoted 8 lines

May i follow the H4 UART Implementation with Some modifications related with H5 (3 WIRE UART). We came to know that Packets has to be added before and after the HCI commands according to H4 and H5 UART. Is it right ?.

We wish to know that whether it takes major development cycle.

As per Silicon wave datasheet the 3 WIRE UART is compatible with BCSP. May we have to follow the H4 UART or BCSP one for our development.

create a file drivers/bluetooth/hci_3wire.c and start with BCSP as base. In general you can do a driver that supports BCSP and 3-Wire at the same time, but actually I really like to have two separate drivers. Try to start from scratch and don't copy too much things. The second part is adding support for 3-Wire to the hciattach program.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#16 lore raw
In reply to hariharan veerappan
Quoted 2 lines · hariharan veerappan

As per Silicon wave datasheet the 3 WIRE UART is compatible with BCSP. May we have to follow the H4 UART or BCSP one for our development.

Definitely follow the existing BCSP code. You should find you can adapt it for 3WU with a minimum of difficulty. Some of the constants are different (British humour doesn't always travel well) but otherwise the core design is very similar. 3WU has some weird additional options, but you probably don't need those.

Signature · 24 lines
Peter Stephenson <[email protected]>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#4 lore raw
In reply to Marcel Holtmann

Hello all,

If we wish to study some basic fundamentals of development.
Can any body advise whether any tutorials available for H5 UART (3 WIRE UAR=
T)
on bluez. Tell me the any website link for better solution for our developm= ent.

Thanks and regards
Hariharan.v

Quoted 7 lines · Marcel Holtmann

Hi Hariharan,
=20

Quoted 5 lines

we wants to develop and implement the 3 WIRE UART support for the Bluez Stack. can any one suggest an idea to develop and implement 3 WIRE UART in BlueZ.

May i follow the H4 UART Implementation with Some modifications related=

with

Quoted 1 line
Quoted 1 line

H5 (3 WIRE UART). We came to know that Packets has to be added before a=

nd after

Quoted 17 lines
Quoted 6 lines

the HCI commands according to H4 and H5 UART. Is it right ?.

We wish to know that whether it takes major development cycle.

As per Silicon wave datasheet the 3 WIRE UART is compatible with BCSP. May we have to follow the H4 UART or BCSP one for our development.

=20
create a file drivers/bluetooth/hci_3wire.c and start with BCSP as base. In general you can do a driver that supports BCSP and 3-Wire at the same time, but actually I really like to have two separate drivers. Try to start from scratch and don't copy too much things. The second part is adding support for 3-Wire to the hciattach program.
=20
Regards
=20
Marcel
=20

Quoted 8 lines

=20
=20
=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=

k

Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#5 lore raw

Hi Hriharan,

Quoted 3 lines

If we wish to study some basic fundamentals of development.
Can any body advise whether any tutorials available for H5 UART (3 WIRE UART) on bluez. Tell me the any website link for better solution for our development.

look at the hci_h4.c and hci_bcsp.c files for examples. They show you how to use our HCI UART API. The number of lines of code are very small and it should be easy to understand what the callback functions are for. The hciattach.c is a little bit more freaky. I need to split it into more separate files for each transport or vendor.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

Hello all,

I am still newer to the development of bluetooth drivers.

Can any body suggest, from where can i get H5 - 3 WIRE Transport interface protocol
informations.

Thanks and Regards
Hariharan.V

Quoted 4 lines · Marcel Holtmann

Hi Hriharan,
=20

Quoted 2 lines

If we wish to study some basic fundamentals of development. Can any body advise whether any tutorials available for H5 UART (3 WIRE=

UART)

Quoted 1 line
Quoted 1 line

on bluez. Tell me the any website link for better solution for our deve=

lopment.

Quoted 11 lines

=20
look at the hci_h4.c and hci_bcsp.c files for examples. They show you how to use our HCI UART API. The number of lines of code are very small and it should be easy to understand what the callback functions are for. The hciattach.c is a little bit more freaky. I need to split it into more separate files for each transport or vendor.
=20
Regards
=20
Marcel
=20

Quoted 8 lines

=20
=20
=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=

k

Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#7 lore raw

Hello All / Marcel,

Presently we are working in 3 WIRE UART Bluetooth transport protocol implementation.
We are in implementation of 3 WIRE UART in hciattach.c.=20

Our Specification:
Linux kernel - 2.4.20.
Module - Solicon wave Serial port Bluetooth Module.

In the HCI attach, We are following the procedure of given below.

Host side=20

Thanks and Regards
Hariharan.V.

Quoted 4 lines · hariharan veerappan

Hello all,
=20
I am still newer to the development of bluetooth drivers. =20

Quoted 12 lines

Can any body suggest, from where can i get H5 - 3 WIRE Transport interface protocol
informations.
=20
Thanks and Regards
Hariharan.V
=20

Quoted 4 lines · Marcel Holtmann

Hi Hriharan,

Quoted 2 lines

If we wish to study some basic fundamentals of development. Can any body advise whether any tutorials available for H5 UART (3 WI=

RE UART)

Quoted 1 line
Quoted 1 line
Quoted 1 line

on bluez. Tell me the any website link for better solution for our de=

velopment.

Quoted 4 lines
Quoted 4 lines

look at the hci_h4.c and hci_bcsp.c files for examples. They show you how to use our HCI UART API. The number of lines of code are very small and it should be easy to understand what the callback functions are for=

.

Quoted 10 lines
Quoted 10 lines

The hciattach.c is a little bit more freaky. I need to split it into more separate files for each transport or vendor.

Regards

Marcel

Quoted 5 lines
Quoted 5 lines

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl=

ick

Quoted 6 lines
Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#8 lore raw

Hello All / Marcel,
=20
Presently we are working in 3 WIRE UART Bluetooth transport protocol implementation.
We are in implementation of 3 WIRE UART in hciattach.c.
=20
Our Specification:
Linux kernel - 2.4.20.
Module - Solicon wave Serial port Bluetooth Module.
=20
In the HCI attach, We are following the procedure of given below.
=20
Host side -> SYNC Command -> BT Device=20
Host side <- SYNC Response <- BT Device
Host Side <- SYNC Command <- BT Device
Host Side -> SYNC Response -> BT Device
Host side <- Config Command <- BT Device
Host side -> Config Response -> BT Device

Here after the device does not respond for any of the commands

Please advise us whether our command sequence for the HCI attach of 3 WIRE bluetooth device.

Our progress plan in the Implementation of H5 3 WIRE in Bluez. First we attach the module HCI layer with the bluez stack. Second we build the driver to usr 3 WIRE stack.
our plan is a proper one or not. Advise.

Thanks and Regards
Hariharan.V.

=20

Quoted 9 lines · hariharan veerappan
Quoted 8 lines

Hello all,

I am still newer to the development of bluetooth drivers.

Can any body suggest, from where can i get H5 - 3 WIRE Transport interface protocol
informations.

Quoted 8 lines
Quoted 8 lines

Thanks and Regards
Hariharan.V

Quoted 4 lines · Marcel Holtmann

Hi Hriharan,

Quoted 2 lines

If we wish to study some basic fundamentals of development. Can any body advise whether any tutorials available for H5 UART (3 =

WIRE UART)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

on bluez. Tell me the any website link for better solution for our =

development.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

look at the hci_h4.c and hci_bcsp.c files for examples. They show you how to use our HCI UART API. The number of lines of code are very sma=

ll

Quoted 1 line
Quoted 1 line
Quoted 1 line

and it should be easy to understand what the callback functions are f=

or.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

The hciattach.c is a little bit more freaky. I need to split it into more separate files for each transport or vendor.

Regards

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategie=

s

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3D=

click

Quoted 7 lines
Quoted 6 lines
Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#15 lore raw
In reply to hariharan veerappan

Hi Hariharan,

Quoted 5 lines

I am still newer to the development of bluetooth drivers.

Can any body suggest, from where can i get H5 - 3 WIRE Transport interface protocol
informations.

check out https://www.bluetooth.org/spec/

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#9 lore raw
In reply to hariharan veerappan

Hi Hariharan,

Quoted 6 lines

Presently we are working in 3 WIRE UART Bluetooth transport protocol implementation.
We are in implementation of 3 WIRE UART in hciattach.c.

Our Specification:
Linux kernel - 2.4.20.

this kernel version is a little bit problematic. Do your development with the 2.6.12 kernel and then backport it. Otherwise nobody will review it and it may become useless.

Quoted 1 line

Module - Solicon wave Serial port Bluetooth Module.

I can test it out with a Casira and a BlueCore4.

Quoted 10 lines

In the HCI attach, We are following the procedure of given below.

Host side -> SYNC Command -> BT Device
Host side <- SYNC Response <- BT Device
Host Side <- SYNC Command <- BT Device
Host Side -> SYNC Response -> BT Device
Host side <- Config Command <- BT Device
Host side -> Config Response -> BT Device

Here after the device does not respond for any of the commands

Actually I have no idea why that happens, but I also don't have any Silicon Wave development kit at hand.

Quoted 2 lines

Please advise us whether our command sequence for the HCI attach of 3 WIRE bluetooth device.

Check the specification. I have no idea.

Quoted 4 lines

Our progress plan in the Implementation of H5 3 WIRE in Bluez. First we attach the module HCI layer with the bluez stack. Second we build the driver to usr 3 WIRE stack.
our plan is a proper one or not. Advise.

You add the basic configuration stuff to hciattach like it was done for BCSP and then you set the TTY line discipline to N_HCI and switch to the 3-Wire UART protocol. However this must be implemented in hci_3wire.c and linked correctly into the hci_uart.ko driver. The complete protocol handling then has to be done inside the kernel.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#10 lore raw

Hello All / Marcel,

We have changed the hciattach.c and hci_h5.c (H5 3 WIRE UART Bluetooth driv= er).
The Bluetooth module is up. We could read the Bluetooth device address and scan the
bluetooth network.

Thanks marcel for your valuable support.

Now we are facing the general problem.
we are trying to run SDPD daemon, it fails.

we could not able to browse the bluetooth network. This SDPD fail occurs, when we use the USB Dongle also.

We have only changed the hci_h5.c and hciattach with new name of the dongle (H5 3 WIRE).

Our specification :
Kernel - 2.4.20.

For information:

we run sdpd
then we try to kill sdpd, it returns NO PROCESS is KILLED information.

Advise us.
=20
Thanks and regards
Hariharan.V.

Quoted 26 lines · Marcel Holtmann

Hi Hariharan,
=20

Quoted 6 lines

Presently we are working in 3 WIRE UART Bluetooth transport protocol implementation.
We are in implementation of 3 WIRE UART in hciattach.c.

Our Specification:
Linux kernel - 2.4.20.

=20
this kernel version is a little bit problematic. Do your development with the 2.6.12 kernel and then backport it. Otherwise nobody will review it and it may become useless.
=20

Quoted 1 line

Module - Solicon wave Serial port Bluetooth Module.

=20
I can test it out with a Casira and a BlueCore4.
=20

Quoted 9 lines

In the HCI attach, We are following the procedure of given below.

Host side -> SYNC Command -> BT Device
Host side <- SYNC Response <- BT Device
Host Side <- SYNC Command <- BT Device
Host Side -> SYNC Response -> BT Device
Host side <- Config Command <- BT Device
Host side -> Config Response -> BT Device

Quoted 6 lines
Quoted 1 line

Here after the device does not respond for any of the commands

=20
Actually I have no idea why that happens, but I also don't have any Silicon Wave development kit at hand.
=20

Quoted 1 line

Please advise us whether our command sequence for the HCI attach of 3 W=

IRE

Quoted 19 lines
Quoted 1 line

bluetooth device.

=20
Check the specification. I have no idea.
=20

Quoted 4 lines

Our progress plan in the Implementation of H5 3 WIRE in Bluez. First we attach the module HCI layer with the bluez stack. Second we build the driver to usr 3 WIRE stack.
our plan is a proper one or not. Advise.

=20
You add the basic configuration stuff to hciattach like it was done for BCSP and then you set the TTY line discipline to N_HCI and switch to the 3-Wire UART protocol. However this must be implemented in hci_3wire.c and linked correctly into the hci_uart.ko driver. The complete protocol handling then has to be done inside the kernel.
=20
Regards
=20
Marcel
=20

Quoted 8 lines

=20
=20
=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=

k

Quoted 5 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#11 lore raw

Hi Hariharan,

Quoted 4 lines

We have changed the hciattach.c and hci_h5.c (H5 3 WIRE UART Bluetooth driver). The Bluetooth module is up. We could read the Bluetooth device address and scan the
bluetooth network.

I think it is time to show us the source code for the 3-Wire UART support, before we discuss any other things.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#12 lore raw

Dear Marcel,

Thanks for your support.
Please find her with the source modified for the H:5 3 WIRE UART Silicon wave dongle
implementation in Bluez stack.

Advise us if you find anything wrong

Thanks and regards
Hariharan.V

Quoted 27 lines · Marcel Holtmann

Hi Hariharan,

Quoted 4 lines

We have changed the hciattach.c and hci_h5.c (H5 3 WIRE UART Bluetooth driver). The Bluetooth module is up. We could read the Bluetooth device address and scan the
bluetooth network.

I think it is time to show us the source code for the 3-Wire UART support, before we discuss any other things.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#13 lore raw

Hi Hariharan,

Quoted 3 lines

Please find her with the source modified for the H:5 3 WIRE UART Silicon wave dongle
implementation in Bluez stack.

please send an unified diff for the hciattach changes.

Is this statement "3-Wire UART differs only with the protocol number definitions" really true? If yes, it should be very easy to integrate the 3-Wire UART support directly into hci_bcsp.c without any unneeded overhead.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#14 lore raw

Hi Marcel,

Actually we are using the Silicon wave Bluetooth device that is compatible with the
BCSP when it configured for 3 WIRE H5 protocol.
As per our study on 3 WIRE protcol (H5 ) from bluetooth.org specification. The H5 and BCSP seems to be almost same except the protocol number and Initialization process.

we handled the Initialization process (SYNC and CONFIG) in hciattach.c. As per the document, the device is in Uninitialized state. We have to SYNC and CONFIGURE
in order to make the device into ACTIVE mode.

Please verify it and confirm us whether we are anything wrong,

The H5 3 WIRE UART Transport layer specification document is attached for your kind
reference.

Thanks and regards
Hariharan.V

Quoted 30 lines · Marcel Holtmann

Hi Hariharan,

Quoted 3 lines

Please find her with the source modified for the H:5 3 WIRE UART Silicon wave dongle
implementation in Bluez stack.

please send an unified diff for the hciattach changes.

Is this statement "3-Wire UART differs only with the protocol number definitions" really true? If yes, it should be very easy to integrate the 3-Wire UART support directly into hci_bcsp.c without any unneeded overhead.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users