In development of Windows Mobile software.net is acting increasingly important role, we can have seen a lot of software that develop with.Net CF, these software involved the square respect area of daily application. In the software development of intelligent equipment, wireless interconnection is one comparatives a important, we can see, infra-red the mark that is all intelligence equipment almost matchs, and blue tooth also appears on more and more intelligence equipment increasingly, had hardware, want to have the application related corresponding software apparently.
We also know, when with.NET CF development infra-red communication applies, comparative relaxed, the communication module of the communication outside because there is in.NET CF,naming dimensional System.Net.IrDA to use Yu Gong namely. But, there still is the module that corresponds about blue tooth in.NET CF, so eye comes round to tell the development that makes this field to still have certain difficulty. Below, talk how to develop module of communication of.NET CF blue tooth with C# .
One. Want a place basically
Make clear above all a bit, because involve the issue of drive hardware, the relevant knowledge that relies on to understand C# to develop only so cannot complete development apparently, we must understand C development somewhat. But for simple for the purpose of, we do not hope to write hemistich code with C , all encode jobs use C# entirely, that is to say, use development environment needs to use Visual Studio.net only, do not need to use other editors.
Regard the knowledge of the program that develops hardware of this kind of drive as preparation, you need to understand the basic knowledge of C , knowing head document is how one and the same, know mandatory code how with blame is mandatory code is alternant. How to because the core of the article is a specification,develop module of communication of.net CF blue tooth, these are narrated to prepare knowledge to be not made before place tell about.
2. About blue tooth
Make development of module of blue tooth communication, should knowing blue tooth corresponds naturally first is how one and the same. Look in me, blue tooth communication should be mixed infra-red communication module is similar, of course I am the angle from developer will tell, should be after abstraction such, blue of course tooth and infra-red communication also have a lot of different places, how is this told inside object-oriented design, what I want to certainly a lot of people understand is lucidder than me. Good, this is our main train of thought. I once had checked the literary works that develops about blue tooth on the net, a lot of people correspond blue tooth in.net CF development regard as a serial communication will handle, this also is pretty good, but I am not to like very much, because of the word that such doing, be not developed in the light of blue tooth, change character, in use process, need on the offensive uses open blue tooth, conjugate, join, establish serial channel, next open application process is used, you install serial port in using a program even, will tell to final user, this is very troublesome. I feel, the renown head that blue tooth corresponds on such solution coronal is …… did not say more simply, the book returns to be being passed.
Previous12 3 Next
Hot Tags: