jueves, 6 de marzo de 2008

Milestone 2, circle closed

The circle | driver - bluetooth_server - bluetooth kit - application | has been closed. Quite long ago I showed how the driver was replying to some request, which is more or less what I can show in the following screenshot. But that was accessing directily to the driver sending raw data and dropping to the screen any reply from it.

What we have here is an app(bt_dev_info) that uses an API defined by the bluetooth kit (libbluetooth.so). The kit is keeping a BMessaged comunication with the bluetooth_server requesting information and waiting for a reply. The bluetooth_server is the one keeping track of all the bluetooth devices we have connected in our system and is the only one who will perfom the real hardware requests to the driver(h2generic) issuing a HCI command to the driver. The driver replies with a given HCI event to the server, the server searches who was actually waiting for the reply information, releasing the data back to the kit again, so the application gets the needed info.

All a huge background that is not bringing us new spectacular things. But its the skeleton and the base of all the Haiku bluetooth subsystem. From now on, new bluetooth functionalities are some lines of code far
(in HCI layer terms).

A BMessenged HCI layer implemented totally in userland which Linux or FreeBSD has in kernel land(almost all) Lets see how it goes with us.






12 comentarios:

Andrea dijo...

thx thx thx oliver!!!
thx for your work!!

Andrea

miqlas dijo...

Thank You Oliver!

Anónimo dijo...

Very good, thats good news, thx very much for your work...

Anónimo dijo...

I have just got all mobile phones with Bluetooth capabilities around at home I had proposed as the third milestone. It is great technology of science.
_________________
asher smith
Wide Circles

Anónimo dijo...

Maps and legends of the unrifled. And the story that should have begun long ago starts now. Since it has been announced the completion of our final studies.
________________
Jack
Wide Circles

Anónimo dijo...

I am using Microsoft bluetooth stack and Windows Pocket PC 2003.I need to handle bluetooth connection on a very low level. I tried to use HCI layer directly calling HCI_EstablishDeviceContext method. It returns "The service has not been started" error. I need my device to report as device with some specific Code of Device. I am able to change COD using system bluetooth function, but i do not know how to accept connection on very low level.
Is it possible to use HCI layer directly ?

==============================
peter
Wide Circles

Anónimo dijo...

Oliver hads done great job.Now a days all the mobiles has feature of bluetooth,without that feature no mobile is get manufactured.I am very thankfuk to Mr, oliver.
==============================
peterheins
widecircles

peterheins dijo...

Oliver had done a great job.Now a days all the mobiles has feature of bluetooth,without that feature no mobile is get manufactured.I am very thankful to Mr.Oliver.

peterheins dijo...

Oliver had done a great job.Now a days all the mobiles has feature of bluetooth,without that feature no mobile is get manufactured.I am very thankful to Mr.Oliver.

peterheins dijo...

According to me Mr.Oliver had done a great job.Now a days all the mobiles has feature of bluetooth,without that feature no mobile is get manufactured.I am very thankful to Mr.Oliver.

===================================
peterheins
widecircles

peterheins dijo...

According to me Mr.Oliver had done a great job.Now a days all the mobiles has feature of bluetooth,without that feature no mobile is get manufactured.I am very thankful to Mr.Oliver.

===================================
peterheins
widecircles

Unknown dijo...

As i concerned Oliver has done a good job here.keep up your good work.
------------
siva


Wide Circles