my bluetooth library perspective
hi,just finished an article about bluetooth programming on .net compact framework for spanish magazine (dotNetMania) [it would be published between July-September of current year], I developed a basic bluetooth library. I focused it to be easier development. The started class is called BthSesion. This one, allows to begin using bluetooth radio and all profiles. See this example...
BthSesion ses = new BthSesion(true);
this simple line allow to initialize bluetooth radio, sockets (by using BthSocket), detect all paired devices, and by passing true by parameter, this class also has discovered all the closer bluetooth devices. If the radio was off, then it should switch it to on.
once ses variable is set, I have information about bluetooth radio like manufacturer, bluetooth specification version, profiles availables and more;
this.txtInfo.Text = ses.MiRadio.ToString();
the devices paired and devices discovered are stored each one at ICollections class called BthDispositivosLista (BthDevicesList). This class has a collection of BthDispositivo (BthDevice) classes. I will explain it in detail the next day.
1 Comments:
Where can I find more information from this library? The official site is not very clear
Tky
Post a Comment
<< Home